/* 云栖模板 · 样式二（仿腾讯风企业级模板）
 * 仿腾讯风企业级模板：官网首页、登录注册、购物车与客户区顶栏的独立视觉层。
 * 仅在 html[data-fx-style="blue"] 下生效，不影响默认的云栖经典样式。 */

html[data-fx-style="blue"] {
  --yq-blue: #0056ff;
  --yq-blue-dark: #0048d6;
  --yq-blue-soft: #eaf1ff;
  --yq-ink: #111111;
  --yq-title: #1d2433;
  --yq-text: #333333;
  --yq-sub: #666666;
  --yq-muted: #8c94a5;
  --yq-line: #e4eaf4;
  --yq-line-strong: #d6ddea;
  --yq-bg: #f6f8fa;
  --yq-bg-soft: #f0f4fa;
  --yq-footer: #0a1633;
  --yq-announce: #151c43;
  --yq-red: #ff3b30;
  --yq-orange: #ff9b52;
  --yq-radius: 4px;
  --yq-shadow: 0 8px 24px rgba(13, 38, 88, .08);
  --yq-wrap: 1200px;
  --yq-font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

html[data-fx-style="blue"] body.yq-body {
  margin: 0;
  background: #ffffff;
  color: var(--yq-text);
  font-family: var(--yq-font);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html[data-fx-style="blue"] body.yq-body *,
html[data-fx-style="blue"] body.yq-body *::before,
html[data-fx-style="blue"] body.yq-body *::after { box-sizing: border-box; }

html[data-fx-style="blue"] .yq-wrap {
  width: 100%;
  max-width: var(--yq-wrap);
  margin: 0 auto;
  padding: 0 24px;
}

html[data-fx-style="blue"] .yq-body a { color: inherit; text-decoration: none; }
html[data-fx-style="blue"] .yq-body img { max-width: 100%; display: block; }
html[data-fx-style="blue"] .yq-body button { font-family: inherit; }
html[data-fx-style="blue"] [hidden] { display: none !important; }
html[data-fx-style="blue"] .yq-body :focus-visible { outline: 2px solid var(--yq-blue); outline-offset: 2px; }

/* ---------- 公告条 ---------- */
html[data-fx-style="blue"] .yq-announce {
  position: relative;
  height: 48px;
  background: var(--yq-announce);
  color: #ffffff;
  font-size: 13px;
}
html[data-fx-style="blue"] .yq-announce .yq-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  height: 100%;
  padding-right: 64px;
}
html[data-fx-style="blue"] .yq-announce-tag {
  flex: none;
  padding: 1px 8px;
  border-radius: 2px;
  background: var(--yq-red);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
}
html[data-fx-style="blue"] .yq-announce-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e9edf7; }
html[data-fx-style="blue"] .yq-announce-link { flex: none; color: #7fa8ff; font-size: 13px; }
html[data-fx-style="blue"] .yq-announce-link:hover { color: #ffffff; }
html[data-fx-style="blue"] .yq-announce-close {
  position: absolute;
  top: 0;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: #aab3c8;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
html[data-fx-style="blue"] .yq-announce-close:hover { color: #ffffff; }
html[data-fx-style="blue"] .yq-announce[hidden] { display: none; }

/* ---------- 官网顶栏 ---------- */
html[data-fx-style="blue"] .yq-header {
  position: relative;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid #eef1f6;
}
html[data-fx-style="blue"] .yq-header.is-stuck {
  position: sticky;
  top: 0;
  box-shadow: 0 6px 20px rgba(15, 35, 74, .07);
}
html[data-fx-style="blue"] .yq-header .yq-wrap {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 26px;
}
html[data-fx-style="blue"] .yq-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-width: 0;
}
/* logo 随顶栏高度/屏宽自适应，宽版 logo 也不会被压成方块 */
html[data-fx-style="blue"] .yq-brand img {
  flex: none;
  width: auto;
  height: clamp(30px, 2.6vw, 40px);
  max-width: 172px;
  object-fit: contain;
}
html[data-fx-style="blue"] .yq-brand span { display: flex; flex-direction: column; min-width: 0; line-height: 1.1; }
html[data-fx-style="blue"] .yq-brand strong { font-size: clamp(18px, 1.55vw, 22px); font-weight: 700; color: var(--fx-heading, #0b1c46); letter-spacing: .5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-fx-style="blue"] .yq-brand small { margin-top: 4px; font-size: 9px; letter-spacing: 3px; color: var(--fx-muted, #7c8aa5); }

html[data-fx-style="blue"] .yq-nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; }
html[data-fx-style="blue"] .yq-nav a {
  position: relative;
  padding: 0 13px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #222222;
  white-space: nowrap;
}
html[data-fx-style="blue"] .yq-nav a:hover { color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-nav a.is-active { color: var(--yq-blue); font-weight: 700; }
html[data-fx-style="blue"] .yq-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 2px;
  background: var(--yq-blue);
}
html[data-fx-style="blue"] .yq-nav .yq-hot {
  position: absolute;
  top: 14px;
  right: 0;
  padding: 0 4px;
  border-radius: 3px 3px 3px 0;
  background: var(--yq-red);
  color: #fff;
  font-size: 9px;
  line-height: 13px;
  letter-spacing: .5px;
}

html[data-fx-style="blue"] .yq-head-actions { display: flex; align-items: center; gap: 14px; flex: none; }
html[data-fx-style="blue"] .yq-search {
  display: flex;
  align-items: center;
  width: 132px;
  height: 34px;
  padding: 0 12px;
  border-radius: 17px;
  background: #f3f5f9;
  color: #8b96ab;
}
html[data-fx-style="blue"] .yq-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 12px;
  color: #333;
  outline: none;
}
html[data-fx-style="blue"] .yq-search input::placeholder { color: #9aa4b8; }
html[data-fx-style="blue"] .yq-search button { border: 0; background: transparent; color: #8b96ab; width: 20px; height: 20px; padding: 0; cursor: pointer; }
html[data-fx-style="blue"] .yq-search svg { width: 16px; height: 16px; }
html[data-fx-style="blue"] .yq-head-link { font-size: 13px; color: #333; white-space: nowrap; }
html[data-fx-style="blue"] .yq-head-link:hover { color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin: 0 -24px 0 4px;
  padding: 0 22px;
  background: var(--yq-blue);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 500;
}
html[data-fx-style="blue"] .yq-register:hover { background: var(--yq-blue-dark); }
html[data-fx-style="blue"] .yq-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--yq-line);
  border-radius: 4px;
  background: #fff;
  color: #333;
  cursor: pointer;
}
html[data-fx-style="blue"] .yq-menu-btn svg { width: 20px; height: 20px; margin: 0 auto; }

/* 移动端抽屉 */
html[data-fx-style="blue"] .yq-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
}
html[data-fx-style="blue"] .yq-drawer.is-open { display: block; }
html[data-fx-style="blue"] .yq-drawer-mask { position: absolute; inset: 0; background: rgba(10, 22, 51, .45); }
html[data-fx-style="blue"] .yq-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(82vw, 320px);
  height: 100%;
  padding: 22px 20px;
  background: #fff;
  overflow-y: auto;
  box-shadow: -18px 0 40px rgba(10, 22, 51, .18);
}
html[data-fx-style="blue"] .yq-drawer-panel a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 2px; border-bottom: 1px solid #f0f2f7; font-size: 15px; white-space: nowrap; }
html[data-fx-style="blue"] .yq-drawer-panel a svg { flex: none; width: 14px; height: 14px; color: #c9ced8; }
html[data-fx-style="blue"] .yq-drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
html[data-fx-style="blue"] .yq-drawer-actions a { justify-content: center; border: 1px solid var(--yq-line); border-radius: 4px; font-size: 14px; }
html[data-fx-style="blue"] .yq-drawer-actions a.is-primary { background: var(--yq-blue); border-color: var(--yq-blue); color: #fff; }

/* ---------- 首页首屏 ---------- */
html[data-fx-style="blue"] .yq-hero {
  position: relative;
  overflow: hidden;
  background: #f2f7ff;
}
html[data-fx-style="blue"] .yq-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 460px at 82% 42%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(700px 380px at 12% 18%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(118deg, #f7fbff 0%, #eaf3ff 52%, #dceaff 100%);
}
html[data-fx-style="blue"] .yq-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
html[data-fx-style="blue"] .yq-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 520px;
  padding-top: 34px;
  padding-bottom: 72px;
}
html[data-fx-style="blue"] .yq-hero-copy { width: 54%; max-width: 620px; }
html[data-fx-style="blue"] .yq-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  margin-bottom: 14px;
  color: #5c6577;
  font-size: 14px;
}
html[data-fx-style="blue"] .yq-hero-flag {
  flex: none;
  padding: 2px 5px;
  border-radius: 2px;
  background: var(--yq-red);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  letter-spacing: .5px;
}
html[data-fx-style="blue"] .yq-hero-flag[hidden] { display: none; }
html[data-fx-style="blue"] .yq-hero h1 {
  margin: 0 0 16px;
  font-size: 46px;
  line-height: 1.22;
  font-weight: 700;
  color: var(--yq-ink);
  letter-spacing: -1px;
}
html[data-fx-style="blue"] .yq-hero h1 b { display: block; font-weight: 700; }
html[data-fx-style="blue"] .yq-hero h1 span { display: block; font-weight: 700; }
html[data-fx-style="blue"] .yq-hero p {
  max-width: 520px;
  margin: 0 0 26px;
  color: #4a5364;
  font-size: 15px;
  line-height: 1.9;
  word-break: break-word;
}
html[data-fx-style="blue"] .yq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 122px;
  height: 40px;
  padding: 0 24px;
  border: 1px solid var(--yq-line-strong);
  border-radius: var(--yq-radius);
  background: #fff;
  color: #1d2433;
  font-size: 14px;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
html[data-fx-style="blue"] .yq-btn:hover { border-color: var(--yq-blue); color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-btn-primary { background: var(--yq-blue); border-color: var(--yq-blue); color: #fff !important; }
html[data-fx-style="blue"] .yq-btn-primary:hover { background: var(--yq-blue-dark); border-color: var(--yq-blue-dark); color: #fff; }
html[data-fx-style="blue"] .yq-btn-large { height: 48px; font-size: 15px; padding: 0 32px; }
html[data-fx-style="blue"] .yq-hero-meta { display: flex; gap: 22px; margin-top: 30px; color: #7d8798; font-size: 12px; }
html[data-fx-style="blue"] .yq-hero-meta span { position: relative; padding-left: 12px; }
html[data-fx-style="blue"] .yq-hero-meta span::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: #a9bdd9; }

html[data-fx-style="blue"] .yq-hero-art {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 46%;
  max-width: 560px;
  transform: translateY(-52%);
  pointer-events: none;
}
html[data-fx-style="blue"] .yq-hero-art img { width: 100%; height: auto; filter: drop-shadow(0 26px 40px rgba(20, 68, 150, .16)); }
html[data-fx-style="blue"] .yq-hero-arrow {
  position: absolute;
  top: 44%;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: #4b5a72;
  box-shadow: 0 4px 14px rgba(19, 54, 112, .08);
  cursor: pointer;
  transition: background .18s, color .18s;
}
html[data-fx-style="blue"] .yq-hero-arrow svg { width: 18px; height: 18px; margin: 0 auto; }
html[data-fx-style="blue"] .yq-hero-arrow:hover { background: #fff; color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-hero-arrow.is-prev { left: 24px; }
html[data-fx-style="blue"] .yq-hero-arrow.is-next { right: 24px; }
html[data-fx-style="blue"] .yq-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 4;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}
html[data-fx-style="blue"] .yq-hero-dots button {
  width: 38px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(20, 44, 88, .16);
  cursor: pointer;
}
html[data-fx-style="blue"] .yq-hero-dots button[aria-current="true"] { background: var(--yq-blue); }

/* ---------- 快速入口卡片 ---------- */
html[data-fx-style="blue"] .yq-quick {
  position: relative;
  z-index: 5;
  margin-top: -40px;
}
html[data-fx-style="blue"] .yq-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
html[data-fx-style="blue"] .yq-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 18px 20px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 41, 96, .07);
  transition: transform .18s, box-shadow .18s;
}
html[data-fx-style="blue"] .yq-quick-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11, 41, 96, .12); }
html[data-fx-style="blue"] .yq-quick-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--yq-blue-soft);
  color: var(--yq-blue);
}
html[data-fx-style="blue"] .yq-quick-icon svg { width: 22px; height: 22px; }
html[data-fx-style="blue"] .yq-quick-copy { min-width: 0; }
html[data-fx-style="blue"] .yq-quick-copy strong { display: block; font-size: 15px; color: var(--yq-title); font-weight: 700; }
html[data-fx-style="blue"] .yq-quick-copy small { display: block; margin-top: 4px; color: var(--yq-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 通用区块 ---------- */
html[data-fx-style="blue"] .yq-section { padding: 66px 0; }
html[data-fx-style="blue"] .yq-section-soft { background: var(--yq-bg); }
html[data-fx-style="blue"] .yq-section-head { margin-bottom: 34px; }
html[data-fx-style="blue"] .yq-section-head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--yq-ink);
  letter-spacing: -.5px;
}
html[data-fx-style="blue"] .yq-section-head p { margin: 14px 0 0; color: #6f788a; font-size: 15px; }
html[data-fx-style="blue"] .yq-section-head.is-center { text-align: center; }
html[data-fx-style="blue"] .yq-section-head.is-center p { max-width: 760px; margin-left: auto; margin-right: auto; }
html[data-fx-style="blue"] .yq-section-head a { color: var(--yq-blue); }

/* ---------- 产品与服务 ---------- */
html[data-fx-style="blue"] .yq-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--yq-line);
  overflow-x: auto;
  scrollbar-width: none;
}
html[data-fx-style="blue"] .yq-tabs::-webkit-scrollbar { display: none; }
html[data-fx-style="blue"] .yq-tab {
  position: relative;
  flex: none;
  padding: 0 22px;
  height: 52px;
  border: 0;
  background: transparent;
  color: #333;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}
html[data-fx-style="blue"] .yq-tab:hover { color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-tab[aria-selected="true"] { color: var(--yq-blue); font-weight: 700; }
html[data-fx-style="blue"] .yq-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 2px;
  background: var(--yq-blue);
}
html[data-fx-style="blue"] .yq-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
html[data-fx-style="blue"] .yq-product-card {
  display: flex;
  flex-direction: column;
  min-height: 218px;
  padding: 26px 26px 22px;
  border: 1px solid #e8edf6;
  border-radius: 4px;
  background: #fff;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
html[data-fx-style="blue"] .yq-product-card:hover { border-color: #bcd2ff; box-shadow: 0 14px 30px rgba(11, 41, 96, .08); transform: translateY(-2px); }
html[data-fx-style="blue"] .yq-product-card h3 { margin: 0 0 10px; font-size: 19px; color: var(--yq-title); font-weight: 700; }
html[data-fx-style="blue"] .yq-product-card p { margin: 0 0 16px; color: #6f788a; font-size: 13px; line-height: 1.85; }
html[data-fx-style="blue"] .yq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
html[data-fx-style="blue"] .yq-chips span {
  padding: 3px 9px;
  border: 1px solid var(--yq-line);
  border-radius: 2px;
  color: #5f6a7d;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}
html[data-fx-style="blue"] .yq-product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; }
html[data-fx-style="blue"] .yq-product-price { color: #8a93a5; font-size: 12px; }
html[data-fx-style="blue"] .yq-product-price b { display: block; color: var(--yq-red); font-size: 22px; line-height: 1.2; font-weight: 700; }
html[data-fx-style="blue"] .yq-product-price b small { font-size: 12px; font-weight: 400; color: #8a93a5; margin-left: 4px; }
html[data-fx-style="blue"] .yq-product-card .yq-btn { height: 38px; min-width: 104px; padding: 0 18px; font-size: 13px; }
html[data-fx-style="blue"] .yq-product-empty { grid-column: 1 / -1; padding: 46px 0; text-align: center; color: var(--yq-muted); }

/* ---------- 解决方案 ---------- */
html[data-fx-style="blue"] .yq-solutions { background: #fff; }
html[data-fx-style="blue"] .yq-sol {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 54px;
  align-items: stretch;
}
html[data-fx-style="blue"] .yq-sol-media {
  position: relative;
  min-height: 380px;
  border-radius: 4px;
  overflow: hidden;
  background: #e9f0fb;
}
html[data-fx-style="blue"] .yq-sol-media img { width: 100%; height: 100%; object-fit: cover; }
html[data-fx-style="blue"] .yq-sol-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 58, 0) 46%, rgba(6, 24, 58, .68) 100%);
}
html[data-fx-style="blue"] .yq-sol-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 40px;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}
html[data-fx-style="blue"] .yq-sol-ask {
  position: absolute;
  right: 0;
  top: 50%;
  z-index: 3;
  width: 64px;
  height: 92px;
  margin-top: -46px;
  border: 0;
  background: #fff;
  color: #333;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
  box-shadow: -6px 0 18px rgba(10, 31, 70, .1);
}
html[data-fx-style="blue"] .yq-sol-ask:hover { color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-sol-body { padding-top: 6px; }
html[data-fx-style="blue"] .yq-sol-tabs { display: flex; flex-wrap: wrap; gap: 8px 4px; margin-bottom: 24px; }
html[data-fx-style="blue"] .yq-sol-tab {
  min-width: 74px;
  height: 36px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: #4d5668;
  font-size: 14px;
  cursor: pointer;
}
html[data-fx-style="blue"] .yq-sol-tab:hover { color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-sol-tab[aria-selected="true"] { background: var(--yq-blue); color: #fff; }
html[data-fx-style="blue"] .yq-sol-desc { margin: 0 0 22px; color: #5a6475; font-size: 14px; line-height: 2; }
html[data-fx-style="blue"] .yq-sol-specs { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
html[data-fx-style="blue"] .yq-sol-specs li { position: relative; padding-left: 26px; color: #3f4a5c; font-size: 14px; }
html[data-fx-style="blue"] .yq-sol-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 15px;
  height: 15px;
  border-radius: 3px;
  background: var(--yq-blue-soft);
  box-shadow: inset 0 0 0 1px #cfe0ff;
}
html[data-fx-style="blue"] .yq-sol-specs li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 6px;
  width: 7px;
  height: 4px;
  border-left: 1.6px solid var(--yq-blue);
  border-bottom: 1.6px solid var(--yq-blue);
  transform: rotate(-45deg);
}

/* ---------- 为什么选择我们 ---------- */
html[data-fx-style="blue"] .yq-why { background: #fff; }
html[data-fx-style="blue"] .yq-why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
html[data-fx-style="blue"] .yq-why-card {
  position: relative;
  min-height: 190px;
  padding: 28px 170px 26px 28px;
  border: 1px solid #e8edf6;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}
html[data-fx-style="blue"] .yq-why-card h3 { margin: 0 0 10px; font-size: 20px; color: var(--yq-title); }
html[data-fx-style="blue"] .yq-why-card p { margin: 0 0 16px; color: #6d7688; font-size: 13px; line-height: 1.9; }
html[data-fx-style="blue"] .yq-why-icon {
  position: absolute;
  right: 26px;
  top: 26px;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f4f8ff 0%, #e5efff 100%);
  color: var(--yq-blue);
}
html[data-fx-style="blue"] .yq-why-icon svg { width: 46px; height: 46px; }
html[data-fx-style="blue"] .yq-why-chips { display: flex; flex-wrap: wrap; gap: 8px; }
html[data-fx-style="blue"] .yq-why-chips span { padding: 3px 9px; border: 1px solid var(--yq-line); color: #5f6a7d; font-size: 12px; line-height: 18px; }

/* ---------- N+31+X 资源布局 ---------- */
html[data-fx-style="blue"] .yq-network { position: relative; background: var(--yq-bg); overflow: hidden; }
html[data-fx-style="blue"] .yq-network-map {
  position: absolute;
  right: -6%;
  top: 46px;
  width: 70%;
  max-width: 980px;
  opacity: .5;
  color: #cfdcef;
  pointer-events: none;
}
html[data-fx-style="blue"] .yq-network-map svg { width: 100%; height: auto; }
html[data-fx-style="blue"] .yq-network-map .fx-map-land { fill: #dbe7f7; }
html[data-fx-style="blue"] .yq-network-map .fx-map-graticule { stroke: #e6eefb; fill: none; }
html[data-fx-style="blue"] .yq-network .yq-wrap { position: relative; z-index: 2; }
html[data-fx-style="blue"] .yq-network-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 22px; }
html[data-fx-style="blue"] .yq-network-stat strong { display: block; font-size: 30px; color: var(--yq-ink); line-height: 1.3; }
html[data-fx-style="blue"] .yq-network-stat p { margin: 10px 0 0; color: #606b7d; font-size: 13px; line-height: 1.9; }
html[data-fx-style="blue"] .yq-certs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
html[data-fx-style="blue"] .yq-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 92px;
  padding: 12px;
  background: #fff;
  border-radius: 3px;
  color: #6c7688;
  font-size: 12px;
  text-align: center;
}
html[data-fx-style="blue"] .yq-cert b { color: #1c4fa8; font-size: 17px; letter-spacing: .5px; }
html[data-fx-style="blue"] .yq-cert svg { width: 26px; height: 26px; color: #2f6fe0; }

/* ---------- 资讯与公告 ---------- */
html[data-fx-style="blue"] .yq-news { background: #ebedf0; }
html[data-fx-style="blue"] .yq-news-grid { display: grid; grid-template-columns: 40% 1fr; gap: 18px; align-items: stretch; }
html[data-fx-style="blue"] .yq-news-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 40px 38px;
  background: #fff;
  overflow: hidden;
}
html[data-fx-style="blue"] .yq-news-feature h3 { margin: 0 0 18px; font-size: 23px; color: var(--yq-title); }
html[data-fx-style="blue"] .yq-news-feature p { position: relative; z-index: 2; margin: 0 0 24px; color: #5f6879; font-size: 13px; line-height: 2; }
html[data-fx-style="blue"] .yq-news-feature .yq-btn { align-self: flex-start; position: relative; z-index: 2; height: 38px; min-width: 96px; border-color: #9fc0ff; color: var(--yq-blue); background: #fff; }
html[data-fx-style="blue"] .yq-news-art {
  position: absolute;
  right: -10px;
  bottom: -6px;
  width: 210px;
  height: 190px;
  opacity: .9;
  background:
    radial-gradient(circle at 62% 26%, #dfeaff 0%, #eef4ff 42%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(140deg, #e9f1ff, #ffffff);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%, 0 42%);
}
html[data-fx-style="blue"] .yq-news-list { display: flex; flex-direction: column; background: #fff; }
html[data-fx-style="blue"] .yq-news-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 0;
  min-height: 70px;
  padding: 0 30px;
  border-bottom: 1px solid #f0f2f6;
}
html[data-fx-style="blue"] .yq-news-item:last-child { border-bottom: 0; }
html[data-fx-style="blue"] .yq-news-tag { flex: none; padding: 2px 7px; border: 1px solid var(--yq-blue); color: var(--yq-blue); font-size: 11px; line-height: 16px; }
html[data-fx-style="blue"] .yq-news-item a { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #333; font-size: 14px; }
html[data-fx-style="blue"] .yq-news-item a:hover { color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-news-item time { flex: none; color: #8b93a2; font-size: 12px; }
html[data-fx-style="blue"] .yq-news-item svg { flex: none; width: 14px; height: 14px; color: #a5b4cb; }

/* ---------- 官网页脚 ---------- */
html[data-fx-style="blue"] .yq-footer { background: var(--yq-footer); color: #b9c3d6; }
html[data-fx-style="blue"] .yq-footer a { color: #b9c3d6; }
html[data-fx-style="blue"] .yq-footer a:hover { color: #ffffff; }
html[data-fx-style="blue"] .yq-footer-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
html[data-fx-style="blue"] .yq-footer-feature { display: flex; align-items: center; gap: 14px; }
html[data-fx-style="blue"] .yq-footer-feature svg { flex: none; width: 34px; height: 34px; color: #ffffff; }
html[data-fx-style="blue"] .yq-footer-feature strong { display: block; color: #ffffff; font-size: 16px; font-weight: 700; }
html[data-fx-style="blue"] .yq-footer-feature small { display: block; margin-top: 4px; color: #93a0b8; font-size: 12px; }
html[data-fx-style="blue"] .yq-footer-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 300px;
  gap: 24px;
  padding: 42px 0 38px;
}
html[data-fx-style="blue"] .yq-footer-col h3 { margin: 0 0 18px; color: #ffffff; font-size: 14px; font-weight: 700; }
html[data-fx-style="blue"] .yq-footer-col a { display: block; margin-bottom: 12px; font-size: 13px; }
html[data-fx-style="blue"] .yq-footer-contact { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .08); }
html[data-fx-style="blue"] .yq-footer-qrs { display: flex; gap: 14px; margin-bottom: 18px; }
html[data-fx-style="blue"] .yq-footer-qr { width: 96px; text-align: center; }
html[data-fx-style="blue"] .yq-footer-qr img { width: 96px; height: 96px; padding: 4px; background: #fff; object-fit: contain; }
html[data-fx-style="blue"] .yq-footer-qr small { display: block; margin-top: 6px; color: #93a0b8; font-size: 11px; }
html[data-fx-style="blue"] .yq-footer-contact p { margin: 0 0 8px; font-size: 13px; color: #c7d0e1; }
html[data-fx-style="blue"] .yq-footer-contact b { color: #ffffff; font-size: 16px; }
html[data-fx-style="blue"] .yq-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #8794ab;
  font-size: 12px;
}
html[data-fx-style="blue"] .yq-footer-records { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
html[data-fx-style="blue"] .yq-footer-records a { display: inline-flex; align-items: center; gap: 5px; }
html[data-fx-style="blue"] .yq-footer-records svg { width: 14px; height: 14px; }
html[data-fx-style="blue"] .yq-footer-links { display: flex; gap: 18px; }

/* ---------- 右侧悬浮工具条 ---------- */
html[data-fx-style="blue"] .yq-rail {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 70;
  display: flex;
  flex-direction: column;
  width: 58px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 8px 26px rgba(12, 36, 82, .12);
  transform: translateY(-50%);
}
html[data-fx-style="blue"] .yq-rail a,
html[data-fx-style="blue"] .yq-rail button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 66px;
  border: 0;
  border-bottom: 1px solid #f0f2f6;
  background: transparent;
  color: #3c4759;
  font-size: 10px;
  cursor: pointer;
}
html[data-fx-style="blue"] .yq-rail a:hover,
html[data-fx-style="blue"] .yq-rail button:hover { color: var(--yq-blue); background: #f7faff; }
html[data-fx-style="blue"] .yq-rail svg { width: 21px; height: 21px; }
html[data-fx-style="blue"] .yq-rail .yq-rail-top { border-bottom: 0; color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-rail .yq-rail-top[hidden] { display: none; }

/* ---------- 响应式：官网 ---------- */
@media (max-width: 1180px) {
  html[data-fx-style="blue"] .yq-nav a { padding: 0 9px; }
  html[data-fx-style="blue"] .yq-search { width: 112px; }
  html[data-fx-style="blue"] .yq-head-actions { gap: 10px; }
  html[data-fx-style="blue"] .yq-hero h1 { font-size: 40px; }
  html[data-fx-style="blue"] .yq-footer-main { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html[data-fx-style="blue"] .yq-footer-contact { grid-column: 1 / -1; padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
}

@media (max-width: 1024px) {
  html[data-fx-style="blue"] .yq-nav { display: none; }
  html[data-fx-style="blue"] .yq-menu-btn { display: inline-flex; align-items: center; }
  html[data-fx-style="blue"] .yq-head-link { display: none; }
  html[data-fx-style="blue"] .yq-search { width: 120px; }
  html[data-fx-style="blue"] .yq-hero-inner { min-height: 430px; padding-top: 24px; padding-bottom: 64px; }
  html[data-fx-style="blue"] .yq-hero-copy { width: 60%; }
  html[data-fx-style="blue"] .yq-hero-art { right: -4%; width: 52%; opacity: .9; }
  html[data-fx-style="blue"] .yq-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-fx-style="blue"] .yq-sol { grid-template-columns: 1fr; gap: 26px; }
  html[data-fx-style="blue"] .yq-sol-media { min-height: 320px; }
  html[data-fx-style="blue"] .yq-why-card { padding-right: 120px; }
  html[data-fx-style="blue"] .yq-why-icon { width: 78px; height: 78px; }
  html[data-fx-style="blue"] .yq-why-icon svg { width: 36px; height: 36px; }
  html[data-fx-style="blue"] .yq-news-grid { grid-template-columns: 1fr; }
  html[data-fx-style="blue"] .yq-news-feature { min-height: 300px; }
  html[data-fx-style="blue"] .yq-network-stats { gap: 18px; }
  html[data-fx-style="blue"] .yq-certs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  html[data-fx-style="blue"] .yq-wrap { padding: 0 16px; }
  html[data-fx-style="blue"] .yq-announce { height: auto; min-height: 44px; }
  html[data-fx-style="blue"] .yq-announce .yq-wrap { justify-content: flex-start; gap: 8px; padding: 8px 46px 8px 16px; height: auto; }
  html[data-fx-style="blue"] .yq-announce-text { white-space: normal; font-size: 12px; line-height: 1.5; }
  html[data-fx-style="blue"] .yq-announce-link { display: none; }
  html[data-fx-style="blue"] .yq-announce-close { right: 4px; width: 40px; height: 44px; }
  html[data-fx-style="blue"] .yq-header .yq-wrap { height: 60px; gap: 10px; }
  html[data-fx-style="blue"] .yq-web-header .yq-wrap { height: 60px; gap: 10px; padding: 0 16px; }
  html[data-fx-style="blue"] .yq-brand img { height: 30px; max-width: 132px; }
  /* 手机端官网/购物车顶栏只保留 logo 图，避免品牌名重复占位挤压菜单按钮 */
  html[data-fx-style="blue"] .yq-header .yq-brand span,
  html[data-fx-style="blue"] .yq-web-header .yq-brand span { display: none; }
  html[data-fx-style="blue"] .yq-brand strong { font-size: 18px; }
  html[data-fx-style="blue"] .yq-brand small { display: none; }
  html[data-fx-style="blue"] .yq-head-actions { margin-left: auto; gap: 8px; }
  html[data-fx-style="blue"] .yq-search { width: 96px; height: 32px; padding: 0 10px; }
  html[data-fx-style="blue"] .yq-search input { font-size: 11px; }
  html[data-fx-style="blue"] .yq-register { display: none; }
  html[data-fx-style="blue"] .yq-menu-btn { display: inline-flex; align-items: center; width: 34px; height: 34px; }
  html[data-fx-style="blue"] .yq-hero-inner { min-height: 380px; padding-top: 26px; padding-bottom: 62px; }
  html[data-fx-style="blue"] .yq-hero-copy { width: 78%; }
  html[data-fx-style="blue"] .yq-hero-eyebrow { font-size: 12px; margin-bottom: 10px; }
  html[data-fx-style="blue"] .yq-hero h1 { font-size: 28px; margin-bottom: 12px; letter-spacing: -.5px; }
  html[data-fx-style="blue"] .yq-hero p { font-size: 13px; line-height: 1.75; margin-bottom: 20px; }
  html[data-fx-style="blue"] .yq-btn-large { height: 40px; font-size: 13px; padding: 0 22px; min-width: 110px; }
  html[data-fx-style="blue"] .yq-hero-art { right: -22%; top: 46%; width: 82%; opacity: .55; }
  html[data-fx-style="blue"] .yq-hero-meta { display: none; }
  html[data-fx-style="blue"] .yq-hero-arrow { display: none; }
  html[data-fx-style="blue"] .yq-hero-dots { bottom: 16px; gap: 8px; }
  html[data-fx-style="blue"] .yq-hero-dots button { width: 28px; }
  html[data-fx-style="blue"] .yq-quick { margin-top: -34px; }
  html[data-fx-style="blue"] .yq-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  html[data-fx-style="blue"] .yq-quick-card { min-height: 72px; padding: 12px; gap: 10px; }
  html[data-fx-style="blue"] .yq-quick-icon { width: 34px; height: 34px; border-radius: 6px; }
  html[data-fx-style="blue"] .yq-quick-icon svg { width: 18px; height: 18px; }
  html[data-fx-style="blue"] .yq-quick-copy strong { font-size: 13px; }
  html[data-fx-style="blue"] .yq-quick-copy small { font-size: 11px; }
  html[data-fx-style="blue"] .yq-section { padding: 42px 0; }
  html[data-fx-style="blue"] .yq-section-head { margin-bottom: 24px; }
  html[data-fx-style="blue"] .yq-section-head h2 { font-size: 23px; }
  html[data-fx-style="blue"] .yq-section-head p { margin-top: 10px; font-size: 13px; }
  html[data-fx-style="blue"] .yq-tabs { justify-content: flex-start; margin: 0 -16px 20px; padding: 0 10px; }
  html[data-fx-style="blue"] .yq-tab { height: 44px; padding: 0 14px; font-size: 13px; }
  html[data-fx-style="blue"] .yq-product-grid { grid-template-columns: 1fr; gap: 12px; }
  html[data-fx-style="blue"] .yq-product-card { min-height: 0; padding: 20px; }
  html[data-fx-style="blue"] .yq-product-card h3 { font-size: 17px; }
  html[data-fx-style="blue"] .yq-product-card .yq-btn { height: 36px; }
  html[data-fx-style="blue"] .yq-sol-media { min-height: 240px; }
  html[data-fx-style="blue"] .yq-sol-caption { bottom: 34px; font-size: 19px; }
  html[data-fx-style="blue"] .yq-sol-ask { width: 52px; height: 76px; font-size: 12px; }
  html[data-fx-style="blue"] .yq-sol-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 18px; padding: 0 8px; scrollbar-width: none; }
  html[data-fx-style="blue"] .yq-sol-tab { flex: none; min-width: 64px; padding: 0 14px; }
  html[data-fx-style="blue"] .yq-why-grid { grid-template-columns: 1fr; gap: 12px; }
  html[data-fx-style="blue"] .yq-why-card { min-height: 0; padding: 20px 96px 20px 20px; }
  html[data-fx-style="blue"] .yq-why-card h3 { font-size: 17px; }
  html[data-fx-style="blue"] .yq-why-icon { right: 16px; top: 18px; width: 66px; height: 66px; }
  html[data-fx-style="blue"] .yq-why-icon svg { width: 30px; height: 30px; }
  html[data-fx-style="blue"] .yq-network-map { right: -36%; top: 80px; width: 130%; opacity: .35; }
  html[data-fx-style="blue"] .yq-network-stats { grid-template-columns: 1fr; gap: 18px; margin-top: 26px; }
  html[data-fx-style="blue"] .yq-network-stat strong { font-size: 24px; }
  html[data-fx-style="blue"] .yq-certs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 32px; }
  html[data-fx-style="blue"] .yq-cert { min-height: 76px; }
  html[data-fx-style="blue"] .yq-news-grid { gap: 12px; }
  html[data-fx-style="blue"] .yq-news-feature { min-height: 0; padding: 24px 20px 30px; }
  html[data-fx-style="blue"] .yq-news-feature h3 { font-size: 19px; }
  html[data-fx-style="blue"] .yq-news-art { width: 120px; height: 110px; opacity: .7; }
  html[data-fx-style="blue"] .yq-news-item { min-height: 62px; padding: 0 16px; gap: 10px; }
  html[data-fx-style="blue"] .yq-news-item a { font-size: 13px; }
  html[data-fx-style="blue"] .yq-news-item time { display: none; }
  html[data-fx-style="blue"] .yq-footer-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 26px 0; }
  html[data-fx-style="blue"] .yq-footer-feature strong { font-size: 14px; }
  html[data-fx-style="blue"] .yq-footer-feature small { font-size: 11px; }
  html[data-fx-style="blue"] .yq-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 30px 0; }
  html[data-fx-style="blue"] .yq-footer-col a { font-size: 12px; margin-bottom: 10px; }
  html[data-fx-style="blue"] .yq-footer-contact { grid-column: 1 / -1; }
  html[data-fx-style="blue"] .yq-footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  html[data-fx-style="blue"] .yq-rail { right: 8px; width: 46px; }
  html[data-fx-style="blue"] .yq-rail a,
  html[data-fx-style="blue"] .yq-rail button { height: 48px; }
  html[data-fx-style="blue"] .yq-rail span { display: none; }
  html[data-fx-style="blue"] .yq-rail svg { width: 18px; height: 18px; }
}

/* ============================================================
 * 客户区 / 购物车顶栏（样式二）
 * ============================================================ */
html[data-fx-style="blue"] .fx-app.fx-blue { background: var(--yq-cart-page, #f2f3f5); }
html[data-fx-style="blue"] .fx-app.fx-blue .fx-sidebar,
html[data-fx-style="blue"] .fx-app.fx-blue .fx-topbar,
html[data-fx-style="blue"] .fx-app.fx-blue .fx-overlay { display: none !important; }
html[data-fx-style="blue"] .fx-app.fx-blue .main-content {
  margin-left: 0 !important;
  padding-top: 0 !important;
  min-height: 100vh;
}
html[data-fx-style="blue"] .fx-app.fx-blue .page-content.fx-page-content { padding: 0 !important; }
html[data-fx-style="blue"] .fx-app.fx-blue .container-fluid.fx-container {
  width: 100%;
  max-width: var(--yq-wrap);
  margin: 0 auto;
  padding: 24px 24px 46px;
}
html[data-fx-style="blue"] .fx-app.fx-blue .fx-page-heading { display: none; }
html[data-fx-style="blue"] .fx-app.fx-blue .fx-footer { display: none; }

/* ---------- 用户中心顶栏（随深浅模式切换） ---------- */
html[data-fx-style="blue"] .yq-app-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--fx-panel, #1b1f28);
  color: var(--fx-heading, #fff);
  border-bottom: 1px solid var(--fx-border, #1b1f28);
}
html[data-fx-style="blue"] .yq-app-header .yq-wrap {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 22px;
  max-width: none;
  padding: 0 20px;
}
html[data-fx-style="blue"] .yq-app-header .yq-brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
/* 深色顶栏：logo 不反色，改放在白色圆角底板上，白底词标也不会糊成一片白 */
html[data-fx-style="blue"] .yq-app-header .yq-brand img {
  flex: none;
  width: auto;
  height: 30px;
  max-width: 168px;
  padding: 0 8px;
  border-radius: 4px;
  background: #ffffff;
  object-fit: contain;
}
html[data-fx-style="blue"] .yq-app-header .yq-brand span { display: none; }
html[data-fx-style="blue"] .yq-app-header .yq-brand strong { display: block; color: #1d2129; font-size: 17px; line-height: 1.15; font-weight: 700; letter-spacing: .3px; }
html[data-fx-style="blue"] .yq-app-header .yq-brand small { display: block; color: #86909c; font-size: 7px; letter-spacing: 2.2px; }
html[data-fx-style="blue"] .yq-app-header .yq-brand-light strong { color: var(--fx-heading, #fff); }
html[data-fx-style="blue"] .yq-app-header .yq-brand-light small { color: var(--fx-muted, #7c8798); }

html[data-fx-style="blue"] .yq-app-lang { position: relative; flex: none; }
html[data-fx-style="blue"] .yq-app-lang > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 10px;
  border-radius: 2px;
  background: var(--fx-raised, rgba(255, 255, 255, .08));
  color: var(--fx-heading, #fff);
  font-size: 12px;
  cursor: pointer;
  list-style: none;
}
html[data-fx-style="blue"] .yq-app-lang > summary::-webkit-details-marker { display: none; }
html[data-fx-style="blue"] .yq-app-lang .fx-icon { width: 12px; height: 12px; color: var(--fx-muted, #98a2b3); }
html[data-fx-style="blue"] .yq-flag {
  width: 16px;
  height: 11px;
  border-radius: 1px;
  background: linear-gradient(#de2910, #de2910);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  position: relative;
}
html[data-fx-style="blue"] .yq-flag::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 4px;
  height: 4px;
  background: #ffde00;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
html[data-fx-style="blue"] .yq-app-lang-panel {
  position: absolute;
  left: 0;
  top: 36px;
  z-index: 70;
  min-width: 132px;
  padding: 6px;
  border-radius: 2px;
  background: var(--fx-panel, #fff);
  border: 1px solid var(--fx-border, transparent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}
html[data-fx-style="blue"] .yq-app-lang-panel a { display: block; padding: 7px 10px; color: var(--fx-text, #1d2129); font-size: 12px; }
html[data-fx-style="blue"] .yq-app-lang-panel a:hover { background: var(--fx-raised, #f2f3f5); color: var(--fx-purple, #165dff); }

html[data-fx-style="blue"] .yq-app-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
  margin-left: auto;
}
html[data-fx-style="blue"] .yq-app-actions > a { color: var(--fx-text, #e5e6eb); font-size: 13px; white-space: nowrap; }
html[data-fx-style="blue"] .yq-app-actions > a:hover { color: var(--fx-heading, #fff); }
html[data-fx-style="blue"] .yq-app-icon { position: relative; display: inline-flex; align-items: center; }
html[data-fx-style="blue"] .yq-app-icon svg { width: 17px; height: 17px; color: var(--fx-muted, #c9cdd4); }
html[data-fx-style="blue"] .yq-app-icon:hover svg { color: var(--fx-heading, #fff); }
html[data-fx-style="blue"] .yq-app-icon b {
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 8px;
  background: #165dff;
  color: #fff;
  font-size: 10px;
  line-height: 15px;
  font-weight: 400;
  text-align: center;
}
html[data-fx-style="blue"] .yq-app-account { position: relative; }
html[data-fx-style="blue"] .yq-app-account > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--fx-heading, #fff);
  font-size: 13px;
  cursor: pointer;
  list-style: none;
}
html[data-fx-style="blue"] .yq-app-account > summary::-webkit-details-marker { display: none; }
html[data-fx-style="blue"] .yq-app-account .fx-icon { width: 12px; height: 12px; color: var(--fx-muted, #98a2b3); }
html[data-fx-style="blue"] .yq-avatar {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #165dff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
html[data-fx-style="blue"] .yq-app-account-panel {
  position: absolute;
  right: 0;
  top: 34px;
  z-index: 70;
  min-width: 132px;
  padding: 6px;
  border-radius: 2px;
  background: var(--fx-panel, #fff);
  border: 1px solid var(--fx-border, transparent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}
html[data-fx-style="blue"] .yq-app-account-panel a { display: block; padding: 7px 10px; color: var(--fx-text, #1d2129); font-size: 12px; }
html[data-fx-style="blue"] .yq-app-account-panel a:hover { background: var(--fx-raised, #f2f3f5); color: var(--fx-purple, #165dff); }
html[data-fx-style="blue"] .yq-app-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex: none;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
html[data-fx-style="blue"] .yq-app-menu span { display: block; width: 100%; height: 2px; background: var(--fx-heading, #fff); border-radius: 1px; transition: transform .2s, opacity .2s; }
html[data-fx-style="blue"] .yq-app-mask { display: none; }
html[data-fx-style="blue"] .yq-wap-avatar,
html[data-fx-style="blue"] .yq-wap-menu { display: none; }

/* ---------- 购物车/订购页白色官网顶栏 ---------- */
html[data-fx-style="blue"] .yq-web-header { position: sticky; top: 0; z-index: 60; background: var(--fx-panel, #fff); border-bottom: 1px solid var(--fx-border, #eef1f6); }
html[data-fx-style="blue"] .yq-web-header.is-stuck { box-shadow: 0 6px 20px rgba(15, 35, 74, .07); }
html[data-fx-style="blue"] .yq-web-header .yq-wrap { display: flex; align-items: center; height: 72px; gap: 26px; }
html[data-fx-style="blue"] .yq-web-nav { display: flex; align-items: center; gap: 4px; flex: 1 1 auto; min-width: 0; }
html[data-fx-style="blue"] .yq-web-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 72px;
  padding: 0 13px;
  color: var(--fx-text, #222222);
  font-size: 14px;
  white-space: nowrap;
}
html[data-fx-style="blue"] .yq-web-nav a:hover { color: var(--fx-config-accent, var(--yq-blue)); }
html[data-fx-style="blue"] .yq-web-nav a.is-active { color: var(--fx-config-accent, var(--yq-blue)); font-weight: 700; }
html[data-fx-style="blue"] .yq-web-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 2px;
  background: #165dff;
}
html[data-fx-style="blue"] .yq-web-nav i {
  padding: 0 3px;
  border-radius: 2px;
  background: #f53f3f;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  line-height: 13px;
}
html[data-fx-style="blue"] .yq-web-actions { display: flex; align-items: center; gap: 14px; flex: none; }
html[data-fx-style="blue"] .yq-web-actions > a { color: var(--fx-text, #333333); font-size: 13px; white-space: nowrap; }
html[data-fx-style="blue"] .yq-web-actions > a:hover { color: var(--fx-config-accent, var(--yq-blue)); }
html[data-fx-style="blue"] .yq-web-actions .yq-register { align-self: center; height: 34px; font-size: 14px; }
html[data-fx-style="blue"] .yq-web-search {
  display: flex;
  align-items: center;
  width: 132px;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 17px;
  background: var(--fx-raised, #f3f5f9);
  overflow: hidden;
}
html[data-fx-style="blue"] .yq-web-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fx-text, #333333);
  font-size: 12px;
  outline: none;
}
html[data-fx-style="blue"] .yq-web-search input::placeholder { color: var(--fx-muted, #9aa4b8); }
html[data-fx-style="blue"] .yq-web-search button {
  flex: none;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8b96ab;
  cursor: pointer;
}
html[data-fx-style="blue"] .yq-web-search svg { width: 16px; height: 16px; }
html[data-fx-style="blue"] .yq-web-user { display: inline-flex; align-items: center; }
html[data-fx-style="blue"] .yq-web-cart { position: relative; display: inline-flex; align-items: center; }
html[data-fx-style="blue"] .yq-web-cart svg { width: 18px; height: 18px; color: var(--fx-text, #4e5969); }
html[data-fx-style="blue"] .yq-web-cart b {
  position: absolute;
  top: -6px;
  right: -9px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 8px;
  background: #165dff;
  color: #fff;
  font-size: 10px;
  line-height: 15px;
  font-weight: 400;
  text-align: center;
}

html[data-fx-style="blue"] .yq-app-footer {
  background: var(--yq-footer);
  color: #96a2b8;
  font-size: 12px;
}
html[data-fx-style="blue"] .yq-app-footer .yq-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 18px 24px;
}
html[data-fx-style="blue"] .yq-app-footer a { color: #96a2b8; }
html[data-fx-style="blue"] .yq-app-footer a:hover { color: #fff; }
html[data-fx-style="blue"] .yq-app-footer .yq-footer-links { display: flex; gap: 16px; }

/* 客户区通用：覆盖经典样式的紫蓝点缀 */
html[data-fx-style="blue"] .fx-app.fx-blue .fx-eyebrow > span { background: var(--yq-blue); box-shadow: 0 0 0 4px var(--yq-blue-soft); }
html[data-fx-style="blue"] .fx-app.fx-blue .fx-panel,
html[data-fx-style="blue"] .fx-app.fx-blue .fx-service-note,
html[data-fx-style="blue"] .fx-app.fx-blue .fx-server-card { border-radius: 4px; }
html[data-fx-style="blue"] .fx-app.fx-blue .fx-button-primary,
html[data-fx-style="blue"] .fx-app.fx-blue .btn-primary,
html[data-fx-style="blue"] .fx-app.fx-blue .submitBtn { background: var(--yq-blue) !important; border-color: var(--yq-blue) !important; color: #fff !important; }

/* ============================================================
 * 登录 / 注册 / 找回密码（样式二）
 * ============================================================ */
html[data-fx-style="blue"] .fx-auth { background: #eff2f7; }
html[data-fx-style="blue"] .fx-auth .main-content.fx-main { margin: 0 !important; padding: 0 !important; }
html[data-fx-style="blue"] .fx-auth .fx-page-content { padding: 0 !important; }
html[data-fx-style="blue"] .fx-app.fx-blue .container-fluid.fx-container.yq-auth-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

html[data-fx-style="blue"] .yq-auth {
  display: flex;
  min-height: 100vh;
  background: #eff2f7;
  font-family: var(--yq-font);
}
html[data-fx-style="blue"] .yq-auth-brand {
  position: relative;
  flex: 0 0 clamp(240px, 26vw, 420px);
  width: clamp(240px, 26vw, 420px);
  max-width: none;
  min-height: 100vh;
  padding: clamp(20px, 2.6vw, 40px) clamp(20px, 2.8vw, 46px) 0;
  overflow: hidden;
  background:
    radial-gradient(520px 380px at 12% 8%, rgba(38, 74, 150, .42) 0%, rgba(10, 16, 48, 0) 64%),
    linear-gradient(165deg, #0d1633 0%, #0a1129 58%, #070c1e 100%);
  color: #fff;
}
html[data-fx-style="blue"] .yq-auth-logo { display: inline-flex; align-items: center; gap: 9px; color: #fff; }
html[data-fx-style="blue"] .yq-auth-logo img { width: clamp(26px, 2.2vw, 34px); height: clamp(26px, 2.2vw, 34px); object-fit: contain; filter: brightness(0) invert(1); }
html[data-fx-style="blue"] .yq-auth-logo strong { font-size: clamp(17px, 1.4vw, 21px); letter-spacing: .5px; }
html[data-fx-style="blue"] .yq-auth-logo small { display: block; margin-top: 1px; color: #6f83a8; font-size: 8px; letter-spacing: 2.6px; }
html[data-fx-style="blue"] .yq-auth-brand h1 {
  position: relative;
  z-index: 2;
  margin: clamp(32px, 7vh, 72px) 0 14px;
  color: #ffffff !important;
  font-size: clamp(23px, 2.1vw, 36px);
  line-height: 1.34;
  font-weight: 700;
  letter-spacing: 0;
  white-space: normal;
  word-break: break-word;
}
html[data-fx-style="blue"] .yq-auth-brand p { position: relative; z-index: 2; margin: 0 0 clamp(16px, 2.4vh, 26px); color: #ffffff; font-size: clamp(14px, 1.25vw, 19px); line-height: 1.5; font-weight: 500; white-space: normal; }
html[data-fx-style="blue"] .yq-auth-more { position: relative; z-index: 2; color: #ff7d1a; font-size: clamp(13px, 1vw, 15px); }
html[data-fx-style="blue"] .yq-auth-more:hover { color: #ffa251; }
html[data-fx-style="blue"] .yq-auth-art { position: absolute; left: -4%; right: -4%; bottom: 0; height: clamp(200px, 42vh, 460px); pointer-events: none; opacity: .95; }
html[data-fx-style="blue"] .yq-auth-art svg { width: 100%; height: 100%; }

html[data-fx-style="blue"] .yq-auth-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  min-height: 100vh;
  padding: clamp(28px, 5vh, 56px) clamp(20px, 3vw, 56px);
  overflow-y: auto;
  background: #eff2f7;
}
html[data-fx-style="blue"] .yq-auth-card {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 1.8vw, 28px);
  width: min(100%, clamp(420px, 42vw, 760px));
  max-width: none;
  margin-top: auto;
  padding: clamp(22px, 2.2vw, 34px) clamp(22px, 2.4vw, 40px);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 6px 28px rgba(4, 15, 67, .07);
}
html[data-fx-style="blue"] .yq-auth-card.is-register { width: min(100%, clamp(420px, 42vw, 800px)); }
html[data-fx-style="blue"] .yq-auth-form { flex: 1 1 auto; min-width: 0; }
html[data-fx-style="blue"] .yq-auth-qr {
  flex: 0 0 auto;
  width: clamp(140px, 13vw, 190px);
  min-width: 0;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-top: 8px;
  padding: 0 clamp(14px, 1.4vw, 22px) 0 0;
  border: 0;
  border-right: 1px solid #f0f2f6;
  border-radius: 0;
  text-align: center;
}
html[data-fx-style="blue"] .yq-auth-qr[hidden] { display: none; }
html[data-fx-style="blue"] .yq-auth-qr { overflow: hidden; }
html[data-fx-style="blue"] .yq-auth-qr > * { max-width: 100%; }
html[data-fx-style="blue"] .yq-auth-qr p,
html[data-fx-style="blue"] .yq-auth-qr a,
html[data-fx-style="blue"] .yq-auth-qr strong { overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
html[data-fx-style="blue"] .yq-auth-qr p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html[data-fx-style="blue"] .yq-auth-qr img { width: min(148px, 100%); height: auto; margin: 0 auto 10px; object-fit: contain; }
html[data-fx-style="blue"] .yq-auth-qr strong { display: block; font-size: 13px; color: #333; }
html[data-fx-style="blue"] .yq-auth-qr p { margin: 8px 0 0; color: #86909c; font-size: 12px; line-height: 1.7; }
html[data-fx-style="blue"] .yq-auth-qr-placeholder { display: flex; flex-direction: column; align-items: center; gap: 10px; }
html[data-fx-style="blue"] .yq-auth-qr-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  background: #e8f8ee;
  color: #00b42a;
  font-size: 11px;
  line-height: 18px;
}
html[data-fx-style="blue"] .yq-auth-qr-box {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border: 1px solid #e5e6eb;
  background:
    repeating-conic-gradient(#f2f3f5 0 25%, #fff 0 50%) 0 0 / 14px 14px;
  color: #86909c;
  font-size: 12px;
}
html[data-fx-style="blue"] .yq-auth-qr-box i { padding: 2px 7px; background: #fff; font-style: normal; }
html[data-fx-style="blue"] .yq-auth-form .d-flex { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
html[data-fx-style="blue"] .yq-auth-form .d-flex a { font-size: 13px; }
html[data-fx-style="blue"] .yq-auth-form .mt-3 { margin-top: 18px; }

html[data-fx-style="blue"] .yq-auth-legal {
  width: min(100%, clamp(420px, 38vw, 700px));
  max-width: none;
  margin-top: clamp(20px, 3.5vh, 44px);
  margin-bottom: auto;
  color: #86909c;
  font-size: 13px;
  line-height: 1.9;
  text-align: left;
}
html[data-fx-style="blue"] .yq-auth-legal a { color: #4e5969; }
html[data-fx-style="blue"] .yq-auth-legal a:hover { color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-auth-legal span { margin: 0 4px; }

/* 原生表单重绘 */
/* default 登录模板自带整页两栏（左侧大图 + 右侧表单），在样式二卡片里只保留表单列 */
html[data-fx-style="blue"] .yq-auth-form .container-fluid.p-0 { padding: 0 !important; }
html[data-fx-style="blue"] .yq-auth-form .row.no-gutters { display: block !important; margin: 0 !important; }
html[data-fx-style="blue"] .yq-auth-form .col-xl-7,
html[data-fx-style="blue"] .yq-auth-form .bglogo,
html[data-fx-style="blue"] .yq-auth-form .auth-full-bg,
html[data-fx-style="blue"] .yq-auth-form .bg-overlay { display: none !important; }
html[data-fx-style="blue"] .yq-auth-form .col-xl-5 {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
}
html[data-fx-style="blue"] .yq-auth-form .auth-full-page-content {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
}
html[data-fx-style="blue"] .yq-auth-form .login_right { width: 100% !important; max-width: none !important; flex: 1 1 auto; margin: 0 !important; }
html[data-fx-style="blue"] .yq-auth-form .d-flex.flex-column.h-100 { height: auto !important; align-items: stretch !important; }
html[data-fx-style="blue"] .yq-auth-form .my-auto { width: 100% !important; margin: 0 !important; }
html[data-fx-style="blue"] .yq-auth-form .logo.text-center { display: none !important; }
html[data-fx-style="blue"] .yq-auth-form .container,
html[data-fx-style="blue"] .yq-auth-form .container-fluid { max-width: none; }

/* 去掉系统模板里的第三方登录与许可证号，注册入口移到 tab 行右侧（对齐参考站） */
html[data-fx-style="blue"] .yq-auth-form h5.font-size-14,
html[data-fx-style="blue"] .yq-auth-form .list-inline { display: none !important; }
html[data-fx-style="blue"] .yq-auth-form .container-fluid > .text-center { display: none !important; }
html[data-fx-style="blue"] .yq-auth-form .my-auto { position: relative; }
html[data-fx-style="blue"] .yq-auth-form .login_right .mt-5.text-center {
  margin: 12px 0 0 !important;
  text-align: right;
}
html[data-fx-style="blue"] .yq-auth-form .login_right .mt-5.text-center p { margin: 0; color: #86909c; font-size: 12px; line-height: 1.8; }
html[data-fx-style="blue"] .yq-auth-form .login_right .mt-5.text-center a { margin: 0 2px; font-size: 12px; }
html[data-fx-style="blue"] .yq-auth-form .nav-tabs.nav-justified > li { flex: 0 0 auto; }
/* 只显示当前选中的登录方式，避免两个表单同时出现 */
html[data-fx-style="blue"] .yq-auth-form .tab-content > .tab-pane { display: none; }
html[data-fx-style="blue"] .yq-auth-form .tab-content > .tab-pane.active { display: block; }

html[data-fx-style="blue"] .yq-auth-form .card,
html[data-fx-style="blue"] .yq-auth-form .panel,
html[data-fx-style="blue"] .yq-auth-form .login-box,
html[data-fx-style="blue"] .yq-auth-form .regist-box { padding: 0; border: 0; background: transparent; box-shadow: none; }
html[data-fx-style="blue"] .yq-auth-form h1,
html[data-fx-style="blue"] .yq-auth-form > h2 { display: none; }
html[data-fx-style="blue"] .yq-auth-form .nav-tabs,
html[data-fx-style="blue"] .yq-auth-form .nav-pills {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
  padding: 0 0 14px;
  border-bottom: 0;
}
html[data-fx-style="blue"] .yq-auth-form .nav-tabs li,
html[data-fx-style="blue"] .yq-auth-form .nav-pills li { list-style: none; }
html[data-fx-style="blue"] .yq-auth-form .nav-tabs a,
html[data-fx-style="blue"] .yq-auth-form .nav-pills a,
html[data-fx-style="blue"] .yq-auth-form .nav-link {
  position: relative;
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #1d2129;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}
html[data-fx-style="blue"] .yq-auth-form .nav-tabs .active a,
html[data-fx-style="blue"] .yq-auth-form .nav-pills .active a,
html[data-fx-style="blue"] .yq-auth-form .nav-link.active { background: transparent; color: #165dff; font-weight: 700; }
html[data-fx-style="blue"] .yq-auth-form .nav-tabs .active a::after,
html[data-fx-style="blue"] .yq-auth-form .nav-pills .active a::after,
html[data-fx-style="blue"] .yq-auth-form .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 3px;
  background: #165dff;
}
html[data-fx-style="blue"] .yq-auth-form .form-group,
html[data-fx-style="blue"] .yq-auth-form .form-item,
html[data-fx-style="blue"] .yq-auth-form .mb-3 { margin-bottom: 15px; }
html[data-fx-style="blue"] .yq-auth-form label,
html[data-fx-style="blue"] .yq-auth-form .control-label { display: block; margin-bottom: 6px; color: #4e5969; font-size: 13px; font-weight: 400; }
html[data-fx-style="blue"] .yq-auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
html[data-fx-style="blue"] .yq-auth-form select,
html[data-fx-style="blue"] .yq-auth-form textarea {
  width: 100%;
  height: 38px;
  padding: 0 11px;
  border: 1px solid #dcdfe6;
  border-radius: 1px;
  background: #fff;
  color: #333;
  font-size: 13px;
  box-shadow: none;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
html[data-fx-style="blue"] .yq-auth-form textarea { height: auto; min-height: 90px; padding: 10px 11px; }
html[data-fx-style="blue"] .yq-auth-form input:focus,
html[data-fx-style="blue"] .yq-auth-form select:focus,
html[data-fx-style="blue"] .yq-auth-form textarea:focus { border-color: #165dff; box-shadow: 0 0 0 2px rgba(22, 93, 255, .1); }
html[data-fx-style="blue"] .yq-auth-form .input-group { display: flex; flex-wrap: nowrap; width: 100%; }
html[data-fx-style="blue"] .yq-auth-form .input-group > .form-control { flex: 1 1 auto; width: 1%; min-width: 0; }
html[data-fx-style="blue"] .yq-auth-form .input-group-prepend { width: 128px !important; flex: 0 0 128px; }
html[data-fx-style="blue"] .yq-auth-form .input-group-append { flex: 0 0 auto; }
html[data-fx-style="blue"] .yq-auth-form .input-group-append .btn { width: auto; min-width: 96px; height: 38px; padding: 0 12px; font-size: 13px; line-height: 38px; }
html[data-fx-style="blue"] .yq-auth-form .input-group-prepend .form-control,
html[data-fx-style="blue"] .yq-auth-form .input-group-prepend .select2-selection { padding: 0 6px; font-size: 12px; }
html[data-fx-style="blue"] .yq-auth-form .input-group > *:first-child { border-radius: 1px 0 0 1px; }
html[data-fx-style="blue"] .yq-auth-form .input-group > *:last-child { border-radius: 0 1px 1px 0; }
html[data-fx-style="blue"] .yq-auth-form .input-group-text,
html[data-fx-style="blue"] .yq-auth-form .input-group-addon { border: 1px solid #dcdfe6; background: #fff; color: #4e5969; font-size: 13px; white-space: nowrap; }
html[data-fx-style="blue"] .yq-auth-form .btn,
html[data-fx-style="blue"] .yq-auth-form button[type="submit"],
html[data-fx-style="blue"] .yq-auth-form .login-btn,
html[data-fx-style="blue"] .yq-auth-form .submitBtn {
  display: block;
  width: 100%;
  height: 40px;
  border: 0;
  border-radius: 1px;
  background: #165dff;
  color: #fff;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}
html[data-fx-style="blue"] .yq-auth-form .btn:hover,
html[data-fx-style="blue"] .yq-auth-form button[type="submit"]:hover { background: #0e4fdb; }
html[data-fx-style="blue"] .yq-auth-form .btn-default,
html[data-fx-style="blue"] .yq-auth-form .btn-light { background: #f3f5f9; color: #333; border: 1px solid #dcdfe6; }
html[data-fx-style="blue"] .yq-auth-form .getCode,
html[data-fx-style="blue"] .yq-auth-form .send-code,
html[data-fx-style="blue"] .yq-auth-form button[data-action="send"] {
  width: auto;
  min-width: 104px;
  height: 38px;
  line-height: 38px;
  padding: 0 12px;
  border: 0;
  background: #165dff;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}
html[data-fx-style="blue"] .yq-auth-form small,
html[data-fx-style="blue"] .yq-auth-form .help-block { color: #8b93a2; font-size: 12px; }
html[data-fx-style="blue"] .yq-auth-form .checkbox,
html[data-fx-style="blue"] .yq-auth-form .form-check { color: #7b8494; font-size: 12px; }
html[data-fx-style="blue"] .yq-auth-form input[type="checkbox"] { width: 14px; height: 14px; margin-right: 6px; accent-color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-auth-form a { color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-auth-form .login-error,
html[data-fx-style="blue"] .yq-auth-form .alert { border-radius: 2px; }

/* 人机验证（极验）容器 */
html[data-fx-style="blue"] .yq-auth-form .fx-captcha { margin: 0 0 16px; }
html[data-fx-style="blue"] .yq-auth-form .fx-captcha[data-fx-captcha-state="required"] { outline: 2px solid #165dff; outline-offset: 3px; border-radius: 2px; }
html[data-fx-style="blue"] .yq-auth-form .fx-captcha-error { margin: 0; color: #f53f3f; font-size: 12px; }

/* 移动端认证页 */
html[data-fx-style="blue"] .yq-auth-mobile-head { display: none; }
/* 窄屏空间不足时收起二维码列，避免文字挤压表单 */
@media (max-width: 1200px) {
  html[data-fx-style="blue"] .yq-auth-qr { display: none !important; }
  html[data-fx-style="blue"] .yq-auth-card { width: min(100%, clamp(380px, 46vw, 560px)); }
}
@media (max-width: 900px) {
  html[data-fx-style="blue"] .yq-auth-brand { display: none; }
  html[data-fx-style="blue"] .yq-auth-main { min-height: 100vh; justify-content: flex-start; padding: 0; background: #fff; }
  html[data-fx-style="blue"] .yq-auth-card {
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: none;
    margin-top: 0;
    padding: 0 0 10px;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }
  html[data-fx-style="blue"] .yq-auth-card.is-register { width: 100%; max-width: none; }

  /* 顶部品牌栏 */
  html[data-fx-style="blue"] .yq-auth-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    padding: 0 20px;
    border-bottom: 1px solid #eef1f6;
    background: #fff;
  }
  html[data-fx-style="blue"] .yq-auth-mobile-head .yq-brand { gap: 8px; }
  html[data-fx-style="blue"] .yq-auth-mobile-head .yq-brand img { width: auto; height: 32px; max-width: 168px; }
  html[data-fx-style="blue"] .yq-auth-mobile-head .yq-brand span { display: none; }
  html[data-fx-style="blue"] .yq-auth-mobile-head .yq-brand strong { font-size: 18px; color: #0b1c46; }
  html[data-fx-style="blue"] .yq-auth-mobile-head > a { color: #999999; font-size: 15px; }

  /* 表单容器 */
  html[data-fx-style="blue"] .yq-auth-form { position: relative; width: 100%; padding: 26px 20px 6px; }
  html[data-fx-style="blue"] .yq-auth-form .login_right {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }
  html[data-fx-style="blue"] .yq-auth-form .my-auto { margin: 0 !important; width: 100%; }

  /* 顶部切换：左对齐 + 竖分隔线 + 右侧注册提示 */
  html[data-fx-style="blue"] .yq-auth-form .nav-tabs {
    display: flex;
    align-items: flex-end;
    gap: 0;
    margin: 0;
    border: 0;
  }
  html[data-fx-style="blue"] .yq-auth-form .nav-tabs .nav-item { flex: 0 0 auto; }
  html[data-fx-style="blue"] .yq-auth-form .nav-tabs .nav-link {
    display: inline-block;
    padding: 0 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #565c6b !important;
    font-size: 19px !important;
    line-height: 1.25;
    font-weight: 700;
  }
  html[data-fx-style="blue"] .yq-auth-form .nav-link.active { color: #165dff !important; font-weight: 900 !important; }
  html[data-fx-style="blue"] .yq-auth-form .nav-tabs .active a::after,
  html[data-fx-style="blue"] .yq-auth-form .nav-link.active::after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #165dff;
  }
  html[data-fx-style="blue"] .yq-auth-form .nav-tabs li + li .nav-link { position: relative; margin-left: 18px; padding-left: 18px !important; }
  html[data-fx-style="blue"] .yq-auth-form .nav-tabs li + li .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 15px;
    width: 1px;
    background: #e5e6eb;
  }
  html[data-fx-style="blue"] .yq-auth-form .nav-tabs + div { margin-top: 22px; }
  html[data-fx-style="blue"] .yq-auth-form .mt-5 {
    position: absolute;
    /* 系统模板的 tab 栏自带 z-index:5，层级不够会被挡住点不到 */
    z-index: 6;
    top: 1px;
    right: 20px;
    margin: 0 !important;
    text-align: right !important;
    line-height: 22px;
  }
  html[data-fx-style="blue"] .yq-auth-form .mt-5 p { margin: 0; color: #86909c; font-size: 13px !important; }
  html[data-fx-style="blue"] .yq-auth-form .mt-5 a { color: #165dff; font-size: 13px !important; font-weight: 500; }

  /* 字段 */
  html[data-fx-style="blue"] .yq-auth-form .form-group { margin-bottom: 18px; }
  html[data-fx-style="blue"] .yq-auth-form label,
  html[data-fx-style="blue"] .yq-auth-form .control-label {
    display: block;
    margin-bottom: 8px;
    color: #505363;
    font-size: 15px;
    font-weight: 400;
  }
  html[data-fx-style="blue"] .yq-auth-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
  html[data-fx-style="blue"] .yq-auth-form select,
  html[data-fx-style="blue"] .yq-auth-form textarea {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e1e6f0;
    border-radius: 2px;
    background: #fff;
    color: #333;
    font-size: 14px;
  }
  /* 区号与手机号上下排列，各自整行 */
  html[data-fx-style="blue"] .yq-auth-form .input-group { display: block; }
  html[data-fx-style="blue"] .yq-auth-form .input-group-prepend {
    display: block;
    width: 100% !important;
    flex: none;
    margin: 0 0 10px !important;
  }
  html[data-fx-style="blue"] .yq-auth-form .input-group-prepend > select,
  html[data-fx-style="blue"] .yq-auth-form .input-group-prepend .select2-container { width: 100% !important; }
  html[data-fx-style="blue"] .yq-auth-form .input-group-prepend > select {
    height: 42px;
    padding: 0 32px 0 12px;
    border: 1px solid #e1e6f0;
    border-radius: 2px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%238c94a5' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    -webkit-appearance: none;
    appearance: none;
    color: #333;
    font-size: 14px !important;
  }
  html[data-fx-style="blue"] .yq-auth-form .input-group-prepend .select2-selection--single {
    height: 42px;
    padding: 0 30px 0 12px;
    border: 1px solid #e1e6f0;
    border-radius: 2px;
    background: #fff;
  }
  html[data-fx-style="blue"] .yq-auth-form .select2-selection__rendered {
    padding-left: 0 !important;
    color: #333 !important;
    font-size: 14px;
    line-height: 40px !important;
  }
  html[data-fx-style="blue"] .yq-auth-form .select2-selection__arrow { right: 8px !important; height: 40px !important; }
  html[data-fx-style="blue"] .yq-auth-form .input-group > input { border-radius: 2px !important; }

  /* 登录按钮 */
  html[data-fx-style="blue"] .yq-auth-form button[type="submit"],
  html[data-fx-style="blue"] .yq-auth-form .btn {
    height: 46px;
    border-radius: 2px;
    font-size: 16px;
    line-height: 46px;
  }
  html[data-fx-style="blue"] .yq-auth-form .d-flex a { font-size: 14px; }

  /* 扫码登录：移到登录按钮下方 */
  html[data-fx-style="blue"] .yq-auth-qr {
    display: flex !important;
    order: 2;
    width: 100%;
    margin: 26px 0 0;
    padding: 0 20px;
    border: 0;
    text-align: center;
  }
  html[data-fx-style="blue"] .yq-auth-qr-placeholder { gap: 14px; }
  html[data-fx-style="blue"] .yq-auth-qr-tag {
    padding: 7px 14px;
    border: 1px solid #ebedf0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(13, 38, 88, .06);
    color: #333333;
    font-size: 14px;
    line-height: 1.4;
  }
  html[data-fx-style="blue"] .yq-auth-qr-box {
    width: 156px;
    height: 156px;
    border: 1px dashed #dcdfe6;
    border-radius: 4px;
    background: #fff
      repeating-conic-gradient(#f7f8fa 0 25%, #fff 0 50%) 0 0 / 14px 14px;
    color: #86909c;
    font-size: 13px;
  }
  html[data-fx-style="blue"] .yq-auth-qr p { margin: 10px 0 0; color: #86909c; font-size: 12px; }
  html[data-fx-style="blue"] .yq-auth-qr img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    padding: 8px;
    border: 1px dashed #dcdfe6;
    border-radius: 4px;
    background: #fff;
    object-fit: contain;
  }
  html[data-fx-style="blue"] .yq-auth-qr strong { margin-top: 2px; color: #1d2129; font-size: 14px; }
  html[data-fx-style="blue"] .yq-auth-qr-placeholder { gap: 8px; }

  html[data-fx-style="blue"] .yq-auth-legal {
    margin-top: auto;
    padding: 16px 20px 22px;
    background: #f5f6f8;
    text-align: left;
    max-width: none;
    color: #86909c;
  }
}

/* ============================================================
 * 购物车 / 产品订购（样式二）
 * ============================================================ */
/* 深浅色自适应：结构色统一取自主题变量，浅色/深色模式自动切换 */
html[data-fx-style="blue"] .fx-app.fx-blue {
  --yq-cart-page: var(--fx-bg, #f4f5fa);
  --yq-cart-panel: var(--fx-panel, #fff);
  --yq-cart-raised: var(--fx-raised, #f7f8fa);
  --yq-cart-border: var(--fx-border, #ebedf0);
  --yq-cart-heading: var(--fx-heading, #1d2433);
  --yq-cart-text: var(--fx-text, #586274);
  --yq-cart-muted: var(--fx-muted, #8c94a5);
}
html[data-fx-style="blue"] .fx-app.fx-blue.fx-cart,
html[data-fx-style="blue"] .fx-app.fx-blue .fx-cart { background: var(--yq-cart-page); }
html[data-fx-style="blue"] .yq-cart-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 4px 0 18px;
  color: var(--yq-cart-muted);
  font-size: 13px;
}
html[data-fx-style="blue"] .yq-cart-crumb a { display: inline-flex; align-items: center; gap: 4px; color: var(--yq-cart-muted); }
html[data-fx-style="blue"] .yq-cart-crumb a:hover { color: var(--yq-blue); }
html[data-fx-style="blue"] .yq-cart-crumb strong { color: var(--yq-cart-heading); font-size: 15px; font-weight: 700; }
html[data-fx-style="blue"] .yq-cart-crumb span { color: var(--yq-cart-muted); }
html[data-fx-style="blue"] .yq-cart-crumb .yq-cn2 { padding: 1px 6px; border-radius: 2px; background: #ffeceb; color: #ff3b30; font-size: 11px; }

html[data-fx-style="blue"] .fx-catalog { padding-top: 18px; }
html[data-fx-style="blue"] .fx-cart-catalog-heading,
html[data-fx-style="blue"] .fx-cart-steps,
html[data-fx-style="blue"] .fx-catalog-categories,
html[data-fx-style="blue"] .fx-catalog-sidebar > header,
html[data-fx-style="blue"] .fx-catalog-subcategories,
html[data-fx-style="blue"] .fx-catalog-side-help,
html[data-fx-style="blue"] .fx-catalog-side-empty,
html[data-fx-style="blue"] .fx-catalog-tree-toggle,
html[data-fx-style="blue"] .fx-catalog-tree-backdrop { display: none !important; }

/* ---------- 商品分类侧栏（随深浅模式切换） ---------- */
html[data-fx-style="blue"] .fx-catalog-layout { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 26px; align-items: start; }
html[data-fx-style="blue"] .fx-catalog-sidebar {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 88px;
  width: auto;
  max-height: calc(100vh - 108px);
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: var(--yq-cart-panel);
  color: var(--yq-cart-text);
  box-shadow: 0 10px 28px rgba(10, 15, 30, .12);
}
/* 顶部搜索：输入框 + 右侧蓝色方形搜索按钮 */
html[data-fx-style="blue"] .fx-catalog-sidebar .fx-catalog-search {
  order: -2;
  flex: none;
  display: flex !important;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  margin: 0 0 10px;
  padding: 0 6px 0 12px;
  border: 1px solid var(--yq-cart-border);
  border-radius: 8px;
  background: var(--yq-cart-raised);
}
html[data-fx-style="blue"] .fx-catalog-sidebar .fx-catalog-search input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--yq-cart-text); font-size: 13px; outline: none; }
html[data-fx-style="blue"] .fx-catalog-sidebar .fx-catalog-search input::placeholder { color: var(--yq-cart-muted); }
html[data-fx-style="blue"] .fx-catalog-sidebar .fx-catalog-search svg { order: 2; flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 6px; background: #165dff; color: #fff; }
/* 标题行（由 theme-blue.js 注入） */
html[data-fx-style="blue"] .yq-side-head {
  order: -1;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 6px 10px;
  color: var(--yq-cart-heading);
  font-size: 15px;
  font-weight: 700;
}
html[data-fx-style="blue"] .yq-side-head span { padding: 2px 9px; border-radius: 999px; background: var(--yq-cart-raised); color: var(--yq-cart-muted); font-size: 11px; font-weight: 500; white-space: nowrap; }

html[data-fx-style="blue"] .fx-catalog-tree { display: block; flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0 -4px; padding: 0 4px; scrollbar-width: thin; scrollbar-color: var(--yq-cart-border) transparent; }
html[data-fx-style="blue"] .fx-catalog-tree::-webkit-scrollbar { width: 5px; }
html[data-fx-style="blue"] .fx-catalog-tree::-webkit-scrollbar-thumb { border-radius: 3px; background: var(--yq-cart-border); }
html[data-fx-style="blue"] .fx-catalog-tree::-webkit-scrollbar-track { background: transparent; }

html[data-fx-style="blue"] .fx-catalog-tree-group { margin: 0 0 2px; border: 0; padding: 0; }
html[data-fx-style="blue"] .fx-catalog-tree-group > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--yq-cart-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
html[data-fx-style="blue"] .fx-catalog-tree-group > summary::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background-color: #8f86ff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a5 5 0 1 1 1-9.9A6 6 0 0 1 19.7 11 3.5 3.5 0 0 1 19 18Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 18a5 5 0 1 1 1-9.9A6 6 0 0 1 19.7 11 3.5 3.5 0 0 1 19 18Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-fx-style="blue"] .fx-catalog-tree-group > summary::-webkit-details-marker { display: none; }
html[data-fx-style="blue"] .fx-catalog-tree-group > summary:hover { background: var(--yq-cart-raised); }
html[data-fx-style="blue"] .fx-catalog-tree-group[open] > summary { background: #165dff; color: #ffffff; }
html[data-fx-style="blue"] .fx-catalog-tree-group[open] > summary::before { background-color: #ffffff; }
html[data-fx-style="blue"] .fx-catalog-tree-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-fx-style="blue"] .fx-catalog-tree-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-width: 26px;
  height: 20px;
  padding: 0 7px;
  border-radius: 10px;
  background: var(--yq-cart-raised);
  color: var(--yq-cart-muted);
  font-size: 11px;
  font-weight: 500;
}
html[data-fx-style="blue"] .fx-catalog-tree-group[open] .fx-catalog-tree-count { background: rgba(255, 255, 255, .22); color: #fff; }
html[data-fx-style="blue"] .fx-catalog-tree-chevron { flex: none; width: 14px; height: 14px; color: var(--yq-cart-muted); transition: transform .18s; }
html[data-fx-style="blue"] .fx-catalog-tree-group[open] .fx-catalog-tree-chevron { transform: rotate(180deg); color: #fff; }

html[data-fx-style="blue"] .fx-catalog-tree-items { display: block; padding: 2px 0 6px; }
html[data-fx-style="blue"] .fx-catalog-tree-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin: 0 0 2px;
  padding: 0 10px 0 18px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--yq-cart-text);
  font-size: 13px;
}
html[data-fx-style="blue"] .fx-catalog-tree-item > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-fx-style="blue"] .fx-catalog-tree-item::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background-color: #6d7280;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6.5A1.5 1.5 0 0 1 4.5 5h4.9l2 2h8.1A1.5 1.5 0 0 1 21 8.5v9A1.5 1.5 0 0 1 19.5 19h-15A1.5 1.5 0 0 1 3 17.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6.5A1.5 1.5 0 0 1 4.5 5h4.9l2 2h8.1A1.5 1.5 0 0 1 21 8.5v9A1.5 1.5 0 0 1 19.5 19h-15A1.5 1.5 0 0 1 3 17.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-fx-style="blue"] .fx-catalog-tree-item > svg { display: none; }
html[data-fx-style="blue"] .fx-catalog-tree-item:hover { background: var(--yq-cart-raised); color: var(--yq-cart-heading); }
html[data-fx-style="blue"] .fx-catalog-tree-item:hover::before { background-color: var(--yq-cart-heading); }
html[data-fx-style="blue"] .fx-catalog-tree-item.is-active {
  background: color-mix(in srgb, #165dff 14%, var(--yq-cart-panel));
  color: var(--yq-cart-heading);
  font-weight: 700;
  box-shadow: inset 3px 0 0 #165dff;
}
html[data-fx-style="blue"] .fx-catalog-tree-item.is-active::before { background-color: #165dff; }

html[data-fx-style="blue"] .fx-catalog-results { min-width: 0; }
html[data-fx-style="blue"] .fx-catalog-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border: 0;
  border-radius: 3px;
  background: color-mix(in srgb, var(--yq-blue) 10%, var(--yq-cart-panel));
  color: var(--yq-cart-text);
}
html[data-fx-style="blue"] .fx-catalog-notice-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--yq-blue); color: #fff; display: grid; place-items: center; }
html[data-fx-style="blue"] .fx-catalog-notice-icon svg { width: 14px; height: 14px; }
html[data-fx-style="blue"] .fx-catalog-context { display: none; }
html[data-fx-style="blue"] .fx-catalog-notice h2 { margin: 0 0 4px; color: var(--yq-cart-heading); font-size: 15px; font-weight: 700; }
html[data-fx-style="blue"] .fx-catalog-notice p { margin: 0; color: var(--yq-cart-muted); font-size: 13px; }
html[data-fx-style="blue"] .fx-catalog-notice > a { margin-left: auto; flex: none; color: var(--yq-blue); font-size: 13px; }

html[data-fx-style="blue"] .fx-catalog-toolbar { display: flex; align-items: center; gap: 12px; margin: 18px 0 16px; background: transparent; border: 0; }
html[data-fx-style="blue"] .fx-catalog-sorts { display: none; }
html[data-fx-style="blue"] .fx-catalog-toolbar .fx-button { height: 34px; font-size: 12px; }
html[data-fx-style="blue"] .fx-catalog-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 260px;
  max-width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--yq-cart-border);
  border-radius: 2px;
  background: var(--yq-cart-panel);
}
html[data-fx-style="blue"] .fx-catalog-search svg { width: 15px; height: 15px; color: var(--yq-cart-muted); }
html[data-fx-style="blue"] .fx-catalog-search input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--yq-cart-text); font-size: 12px; outline: none; }
html[data-fx-style="blue"] .fx-catalog-result-count { margin-left: auto; color: var(--yq-cart-muted); font-size: 12px; }

/* 购物车容器：靠左铺满浏览器宽度 */
html[data-fx-style="blue"] .fx-app.fx-blue .container-fluid.fx-container.yq-cart-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 24px 40px clamp(14px, 1.6vw, 28px);
}
html[data-fx-style="blue"] .yq-cart-container .fx-cart-crumb { padding: 4px 0 14px; }
html[data-fx-style="blue"] .yq-cart-container .fx-catalog { padding-top: 0; }
html[data-fx-style="blue"] .yq-cart-container .fx-catalog-layout {
  grid-template-columns: clamp(250px, 19vw, 300px) minmax(0, 1fr);
  gap: clamp(14px, 1.4vw, 26px);
}

/* 卡片：列数随宽度自动增减，同行等高，不溢出 */
html[data-fx-style="blue"] .fx-catalog .fx-cart-product-grid,
html[data-fx-style="blue"] .fx-catalog.fx-catalog-auto-columns .fx-cart-product-grid,
html[data-fx-style="blue"] .fx-catalog-compact.fx-catalog-auto-columns .fx-cart-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(12px, 1.2vw, 18px);
  align-items: stretch;
}
html[data-fx-style="blue"] .fx-catalog .fx-cart-product { width: 100%; height: 100%; }
html[data-fx-style="blue"] .fx-cart-product {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px 18px;
  border: 1px solid var(--yq-cart-border);
  border-radius: 2px;
  background: var(--yq-cart-panel);
  box-shadow: none;
  transition: box-shadow .18s;
}
html[data-fx-style="blue"] .fx-cart-product:hover { border-color: color-mix(in srgb, var(--yq-blue) 45%, var(--yq-cart-border)); box-shadow: 0 6px 20px rgba(11, 41, 96, .08); }
html[data-fx-style="blue"] .fx-catalog-product-top { display: none; }
html[data-fx-style="blue"] .fx-catalog-product-icon { display: none; }
html[data-fx-style="blue"] .fx-cart-stock { padding: 1px 6px; border: 1px solid color-mix(in srgb, var(--yq-blue) 30%, transparent); border-radius: 2px; background: color-mix(in srgb, var(--yq-blue) 8%, transparent); color: var(--yq-blue); font-size: 10px; line-height: 16px; }
html[data-fx-style="blue"] .fx-cart-stock.is-sold-out { border-color: color-mix(in srgb, #d4380d 30%, transparent); background: color-mix(in srgb, #d4380d 8%, transparent); color: #d4380d; }
html[data-fx-style="blue"] .fx-cart-product h2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
  margin: 0 0 10px;
  color: var(--yq-cart-heading);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}
html[data-fx-style="blue"] .fx-cart-product-description { flex: 1 1 auto; display: flex; flex-direction: column; font-size: 12px; color: var(--yq-cart-muted); line-height: 1.8; }
html[data-fx-style="blue"] .fx-cart-product-desc-text { flex: 1 1 auto; margin-bottom: 12px; }
html[data-fx-style="blue"] .fx-cart-product-desc-text dl { margin: 0; }
html[data-fx-style="blue"] .fx-cart-product-desc-text dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 1px 0;
  font-size: 12px;
  line-height: 1.5;
}
html[data-fx-style="blue"] .fx-cart-product-desc-text dt { flex: none; color: var(--yq-cart-muted); }
html[data-fx-style="blue"] .fx-cart-product-desc-text dd { min-width: 0; margin: 0; color: var(--yq-cart-text); text-align: right; word-break: break-word; }
html[data-fx-style="blue"] .fx-cart-product-desc-text p { margin: 0 0 4px; }
html[data-fx-style="blue"] .fx-cart-product-desc-text ul,
html[data-fx-style="blue"] .fx-cart-product-desc-text ol { margin: 0; padding: 0; list-style: none; }
html[data-fx-style="blue"] .fx-cart-product-desc-text li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px dashed var(--yq-cart-border); }
html[data-fx-style="blue"] .fx-cart-product-desc-text table { width: 100%; border-collapse: collapse; font-size: 12px; }
html[data-fx-style="blue"] .fx-cart-product-desc-text td { padding: 3px 0; border-bottom: 1px dashed var(--yq-cart-border); vertical-align: top; }
html[data-fx-style="blue"] .fx-cart-product-desc-text td:first-child { width: 46%; color: var(--yq-cart-muted); }
html[data-fx-style="blue"] .fx-cart-product-desc-text td:last-child { color: var(--yq-cart-text); text-align: right; }
html[data-fx-style="blue"] .fx-cart-product-price { margin: 10px 0 0; padding-top: 0; border-top: 0; }
html[data-fx-style="blue"] .fx-cart-price { color: #ff3b30; font-size: 21px; font-weight: 700; line-height: 1.2; }
html[data-fx-style="blue"] .fx-cart-price small { color: var(--yq-cart-muted); font-size: 12px; font-weight: 400; }
html[data-fx-style="blue"] .fx-catalog-original-price { display: block; margin-top: 2px; color: var(--yq-cart-muted); font-size: 11px; }
html[data-fx-style="blue"] .fx-cart-product-bottom { margin-top: 12px; }
html[data-fx-style="blue"] .fx-cart-product-bottom .fx-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
  border-radius: 2px;
  background: var(--yq-blue);
  border-color: var(--yq-blue);
  color: #fff;
  font-size: 14px;
}
html[data-fx-style="blue"] .fx-cart-product-bottom .fx-button:hover { background: var(--yq-blue-dark); border-color: var(--yq-blue-dark); }
html[data-fx-style="blue"] .fx-cart-product-bottom .fx-button svg { display: none; }
html[data-fx-style="blue"] .fx-cart-product-bottom .fx-button:disabled { background: var(--yq-cart-raised); border-color: var(--yq-cart-border); color: var(--yq-cart-muted); }
/* 浅色模式下主题按钮配色会覆盖文字色，蓝底按钮强制白字 */
html[data-fx-theme="light"] .fx-app.fx-blue .fx-cart-product-bottom .fx-button,
html[data-fx-theme="light"] .fx-app.fx-blue .fx-catalog-empty .fx-button {
  color: #fff !important;
}

html[data-fx-style="blue"] .fx-catalog-empty { padding: 60px 0; text-align: center; color: var(--yq-cart-muted); }
html[data-fx-style="blue"] .fx-catalog-empty svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--yq-cart-muted); }
html[data-fx-style="blue"] .fx-catalog-empty h2 { margin: 0 0 6px; color: var(--yq-cart-heading); font-size: 18px; }
html[data-fx-style="blue"] .fx-catalog-empty p { margin: 0 0 16px; font-size: 13px; }
html[data-fx-style="blue"] .fx-catalog-empty .fx-button { height: 36px; border: 0; background: var(--yq-blue); color: #fff; }
html[data-fx-style="blue"] .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 26px 0 0; }
html[data-fx-style="blue"] .pagination a,
html[data-fx-style="blue"] .pagination span,
html[data-fx-style="blue"] .pagination li > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--yq-cart-border);
  border-radius: 2px;
  background: var(--yq-cart-panel);
  color: var(--yq-cart-text);
  font-size: 12px;
}
html[data-fx-style="blue"] .pagination .active > *,
html[data-fx-style="blue"] .pagination .active { border-color: var(--yq-blue); background: var(--yq-blue); color: #fff; }

/* 购物车（已选商品 / 结算） */
html[data-fx-style="blue"] .fx-cart-native { padding-top: 0; }
html[data-fx-style="blue"] .fx-cart-native .card,
html[data-fx-style="blue"] .fx-cart-native .panel { border: 0; border-radius: 2px; background: var(--yq-cart-panel); box-shadow: none; }
html[data-fx-style="blue"] .fx-cart-native .card-header { border-bottom: 1px solid var(--yq-cart-border); background: var(--yq-cart-panel); }
html[data-fx-style="blue"] .fx-cart-native h1,
html[data-fx-style="blue"] .fx-cart-native h2,
html[data-fx-style="blue"] .fx-cart-native .card-title {
  position: relative;
  margin: 0 0 14px;
  padding-left: 10px;
  color: var(--yq-cart-heading);
  font-size: 16px;
  font-weight: 700;
}
html[data-fx-style="blue"] .fx-cart-native h1::before,
html[data-fx-style="blue"] .fx-cart-native h2::before,
html[data-fx-style="blue"] .fx-cart-native .card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 16px;
  margin-top: -8px;
  background: #165dff;
}
html[data-fx-style="blue"] .fx-cart-native table { width: 100%; border-collapse: collapse; font-size: 13px; }
html[data-fx-style="blue"] .fx-cart-native thead th { padding: 12px 14px; border-bottom: 1px solid var(--yq-cart-border); background: var(--yq-cart-raised); color: var(--yq-cart-muted); font-weight: 500; text-align: left; }
html[data-fx-style="blue"] .fx-cart-native tbody td { padding: 14px; border-bottom: 1px solid var(--yq-cart-border); color: var(--yq-cart-text); }
html[data-fx-style="blue"] .fx-cart-native .btn,
html[data-fx-style="blue"] .fx-cart-native button[type="submit"] { border-radius: 2px; background: #165dff; border-color: #165dff; color: #fff; }
html[data-fx-style="blue"] .fx-cart-native .btn:disabled,
html[data-fx-style="blue"] .fx-cart-native .btn.disabled { background: var(--yq-cart-raised); border-color: var(--yq-cart-border); color: var(--yq-cart-muted); }
html[data-fx-style="blue"] .fx-cart-native .text-danger,
html[data-fx-style="blue"] .fx-cart-native .price { color: #f53f3f !important; }
html[data-fx-style="blue"] .fx-cart-native .empty,
html[data-fx-style="blue"] .fx-cart-native .cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 280px;
  color: #86909c;
  font-size: 13px;
}
html[data-fx-style="blue"] .fx-cart-native .empty a,
html[data-fx-style="blue"] .fx-cart-native .cart-empty a { color: #165dff; }

/* 购物车顶栏窄屏：与首页同一套断点（需写在基础样式之后） */
@media (max-width: 1180px) {
  html[data-fx-style="blue"] .yq-web-nav a { padding: 0 9px; }
  html[data-fx-style="blue"] .yq-web-nav a.is-active::after { left: 9px; right: 9px; }
  html[data-fx-style="blue"] .yq-web-search { width: 112px; }
  html[data-fx-style="blue"] .yq-web-actions { gap: 10px; }
}
@media (max-width: 1024px) {
  html[data-fx-style="blue"] .yq-web-nav { display: none; }
  html[data-fx-style="blue"] .yq-web-actions > a[href="/knowledgebase"],
  html[data-fx-style="blue"] .yq-web-actions > a[href="/clientarea"] { display: none; }
  html[data-fx-style="blue"] .yq-web-search { width: 120px; }
}

@media (max-width: 1180px) {
  html[data-fx-style="blue"] .yq-cart-container .fx-catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  html[data-fx-style="blue"] .fx-catalog .fx-cart-product-grid,
  html[data-fx-style="blue"] .fx-catalog.fx-catalog-auto-columns .fx-cart-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  }
}
@media (max-width: 960px) {
  html[data-fx-style="blue"] .yq-web-header .yq-wrap { gap: 10px; padding: 0 24px; }
  html[data-fx-style="blue"] .yq-web-nav { display: none; }
  html[data-fx-style="blue"] .yq-web-actions { gap: 12px; }
  html[data-fx-style="blue"] .yq-web-actions > a:not(.yq-web-cart):not(.yq-register):not(.yq-wap-avatar) { display: none; }
  html[data-fx-style="blue"] .yq-web-actions .yq-register { margin-right: 0; }
  html[data-fx-style="blue"] .yq-web-search { width: 128px; }
  html[data-fx-style="blue"] .fx-app.fx-blue .container-fluid.fx-container:not(.yq-app-layout) { padding: 12px 14px 32px; }
  html[data-fx-style="blue"] .yq-app-actions { margin-left: auto; gap: 12px; }
  html[data-fx-style="blue"] .yq-app-header .yq-wrap { height: 56px; gap: 12px; }

  /* 移动端购物车：单列产品 + 顶部分组抽屉 */
  html[data-fx-style="blue"] .yq-web-header .yq-wrap { justify-content: space-between; }
  html[data-fx-style="blue"] .yq-wap-avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f2f3f5;
    color: #4e5969;
    font-size: 13px;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
  }
  /* 未登录：头像位显示「登录」，点击进入登录页 */
  html[data-fx-style="blue"] .yq-wap-avatar.is-guest {
    width: auto;
    min-width: 44px;
    padding: 0 10px;
    border: 1px solid #cfe0ff;
    border-radius: 16px;
    background: #f2f7ff;
    color: #165dff;
    font-size: 12px;
    font-weight: 500;
  }
  html[data-fx-style="blue"] .yq-wap-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  html[data-fx-style="blue"] .yq-wap-menu span { display: block; width: 100%; height: 2px; background: #1d2129; border-radius: 1px; }

  html[data-fx-style="blue"] .yq-cart-crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    background: var(--yq-cart-panel);
    border-bottom: 1px solid var(--yq-cart-border);
    font-size: 14px;
  }
  html[data-fx-style="blue"] .yq-cart-crumb a { color: var(--yq-cart-muted); font-size: 14px; }
  html[data-fx-style="blue"] .yq-cart-crumb strong {
    flex: 1 1 auto;
    color: var(--yq-cart-heading);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
  }
  html[data-fx-style="blue"] .yq-cart-crumb strong::after { content: " ⌄"; color: var(--yq-cart-muted); font-size: 12px; }
  html[data-fx-style="blue"] .yq-cart-crumb span { display: none; }
  html[data-fx-style="blue"] .yq-cart-crumb .yq-cart-count { flex: none; color: #ff7d00; font-size: 13px; }

  html[data-fx-style="blue"] .fx-catalog-layout { display: block; }
  html[data-fx-style="blue"] .fx-catalog-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 120;
    display: flex !important;
    flex-direction: column;
    width: 100%;
    max-width: 390px;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 12px 12px 18px;
    border: 0;
    border-radius: 0;
    background: var(--yq-cart-panel);
    color: var(--yq-cart-text);
    box-shadow: 6px 0 24px rgba(0, 0, 0, .25);
    overflow: hidden;
    transform: translateX(-100%);
    transition: transform .22s ease;
  }
  html[data-fx-style="blue"] .fx-catalog.fx-catalog-tree-open .fx-catalog-sidebar { transform: translateX(0); }
  html[data-fx-style="blue"] .fx-catalog-tree-backdrop {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(0, 0, 0, .45);
  }
  html[data-fx-style="blue"] .fx-catalog-tree-backdrop[hidden] { display: none !important; }
  html[data-fx-style="blue"] .fx-catalog-tree { display: block; }
  html[data-fx-style="blue"] .fx-catalog-sidebar::before { display: none; }
  html[data-fx-style="blue"] .fx-catalog-tree-group { margin: 0 0 2px; border: 0; }
  html[data-fx-style="blue"] .fx-catalog-tree-group > summary {
    min-height: 46px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
  }
  html[data-fx-style="blue"] .fx-catalog-tree-items { display: block; padding: 2px 0 8px; }
  html[data-fx-style="blue"] .fx-catalog-tree-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: auto;
    min-height: 44px;
    margin: 0 0 2px;
    padding: 0 10px 0 18px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--yq-cart-text);
    font-size: 13px;
  }
  html[data-fx-style="blue"] .fx-catalog-tree-item.is-active { background: color-mix(in srgb, #165dff 14%, var(--yq-cart-panel)); color: var(--yq-cart-heading); font-weight: 700; box-shadow: inset 3px 0 0 #165dff; }
  html[data-fx-style="blue"] .fx-catalog-results { padding: 12px 14px 32px; }
  html[data-fx-style="blue"] .fx-catalog-notice { display: none; }
  html[data-fx-style="blue"] .fx-catalog-tree-toggle { display: none !important; }
  html[data-fx-style="blue"] .fx-catalog-toolbar { display: none; }
  html[data-fx-style="blue"] .fx-catalog-search { width: 100%; }
  html[data-fx-style="blue"] .yq-web-cart { display: none; }
  html[data-fx-style="blue"] .fx-cart-product { border: 1px solid var(--yq-cart-border); padding: 16px; }
  html[data-fx-style="blue"] .fx-cart-product:hover { box-shadow: none; transform: none; }
  html[data-fx-style="blue"] .fx-catalog-product-top { display: none; }
  html[data-fx-style="blue"] .fx-cart-product h2 { margin: 0 0 12px; font-size: 15px; }
  html[data-fx-style="blue"] .fx-catalog .fx-cart-product-grid,
  html[data-fx-style="blue"] .fx-catalog.fx-catalog-auto-columns .fx-cart-product-grid { grid-template-columns: 1fr; gap: 12px; }
}
/* 购物车顶栏移动端高度与首页一致（需晚于基础规则，避免被 72px 覆盖） */
@media (max-width: 760px) {
  html[data-fx-style="blue"] .yq-web-header .yq-wrap { height: 60px; padding: 0 16px; }
  html[data-fx-style="blue"] .yq-web-actions .yq-register { display: none; }
  html[data-fx-style="blue"] .yq-web-search { width: 96px; height: 32px; padding: 0 10px; }
  html[data-fx-style="blue"] .yq-web-search input { font-size: 11px; }
}
@media (max-width: 640px) {
  html[data-fx-style="blue"] .fx-catalog .fx-cart-product-grid,
  html[data-fx-style="blue"] .fx-catalog.fx-catalog-auto-columns .fx-cart-product-grid { grid-template-columns: 1fr; }
  html[data-fx-style="blue"] .yq-cart-crumb { font-size: 13px; }
  html[data-fx-style="blue"] .fx-catalog-toolbar .fx-catalog-product-search { width: 100%; }
  html[data-fx-style="blue"] .fx-cart-native table { font-size: 12px; }
  html[data-fx-style="blue"] .fx-cart-native thead th,
  html[data-fx-style="blue"] .fx-cart-native tbody td { padding: 10px 8px; }
}

html[data-fx-style="blue"] .yq-dot { display: inline-block; width: 5px; height: 5px; margin-left: 3px; border-radius: 50%; background: #ff3b30; vertical-align: middle; }
html[data-fx-style="blue"] .yq-app-account svg { width: 16px; height: 16px; }
html[data-fx-style="blue"] .yq-app-actions a { display: inline-flex; align-items: center; gap: 5px; }
html[data-fx-style="blue"] .fx-skip { position: absolute; left: -9999px; top: 0; z-index: 999; padding: 8px 14px; background: #0056ff; color: #fff; }
html[data-fx-style="blue"] .fx-skip:focus { left: 8px; top: 8px; }

html[data-fx-style="blue"] .fx-sprite { position: absolute !important; width: 0 !important; height: 0 !important; overflow: hidden !important; }

/* 客户区统一字体与表单细节 */
html[data-fx-style="blue"] .fx-app.fx-blue { font-family: var(--yq-font); }
html[data-fx-style="blue"] .yq-auth-form .input-group-addon { white-space: nowrap; }
@media (max-width: 760px) {
  html[data-fx-style="blue"] .yq-rail { display: none; }
}

/* AI 导购：输入框已有自身聚焦样式，去掉主题的额外描边，避免双圈 */
html[data-fx-style="blue"] .fx-ai-input:focus-visible,
html[data-fx-style="blue"] .fx-ai-send:focus-visible,
html[data-fx-style="blue"] .fx-ai-launcher:focus-visible { outline: none; }

/* 客户区与身份页统一盒模型，避免内边距撑破容器 */
html[data-fx-style="blue"] .fx-app.fx-blue,
html[data-fx-style="blue"] .fx-app.fx-blue *,
html[data-fx-style="blue"] .fx-app.fx-blue *::before,
html[data-fx-style="blue"] .fx-app.fx-blue *::after { box-sizing: border-box; }
html[data-fx-style="blue"] .yq-auth { width: 100%; overflow-x: hidden; }
html[data-fx-style="blue"] .yq-auth-main { min-width: 0; }
html[data-fx-style="blue"] .yq-auth-form { min-width: 0; max-width: 100%; }

/* 登录页协议行：窄屏自动换行 */
html[data-fx-style="blue"] .yq-auth-form .checkbox,
html[data-fx-style="blue"] .yq-auth-form .form-check { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
html[data-fx-style="blue"] .yq-auth-form .checkbox label,
html[data-fx-style="blue"] .yq-auth-form .form-check label { display: inline-flex; align-items: center; gap: 4px; margin: 0; white-space: normal; line-height: 1.6; }

/* 隐藏公共配置脚本注入的默认返回顶部与进度条，避免与右侧工具条重复 */
html[data-fx-style="blue"] .fx-back-top,
html[data-fx-style="blue"] .fx-page-progress { display: none !important; }


/* ============================================================
 * 用户中心布局：左侧栏 + 内容区（样式二）
 * ============================================================ */
html[data-fx-style="blue"] .fx-app.fx-blue .container-fluid.fx-container.yq-app-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 0;
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
html[data-fx-style="blue"] .yq-app-side {
  position: sticky;
  top: 60px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 60px);
  padding: 0 0 16px;
  overflow-y: auto;
  background: var(--fx-panel, #262a33);
  border-right: 1px solid var(--fx-border, transparent);
}
html[data-fx-style="blue"] .yq-app-content { min-width: 0; background: var(--fx-bg, #f2f3f5); }

html[data-fx-style="blue"] .yq-side-nav { display: flex; flex-direction: column; padding: 0; }
html[data-fx-style="blue"] .yq-side-group { display: block; }
html[data-fx-style="blue"] .yq-side-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 18px 6px;
  color: var(--fx-muted, #6f7784);
  font-size: 12px;
  cursor: pointer;
  list-style: none;
}
html[data-fx-style="blue"] .yq-side-group > summary::-webkit-details-marker { display: none; }
html[data-fx-style="blue"] .yq-side-group > summary .fx-icon { width: 11px; height: 11px; color: var(--fx-muted, #5b6472); transition: transform .18s; }
html[data-fx-style="blue"] .yq-side-group[open] > summary .fx-icon { transform: rotate(180deg); }
html[data-fx-style="blue"] .yq-side-nested { margin: 0; }
html[data-fx-style="blue"] .yq-side-nested > summary { padding: 10px 18px 4px 32px; color: var(--fx-muted, #8a93a3); font-size: 12px; }
html[data-fx-style="blue"] .yq-side-nested .yq-side-link { padding-left: 44px; }

html[data-fx-style="blue"] .yq-side-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 18px;
  color: var(--fx-heading, #c2c8d2);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
html[data-fx-style="blue"] .yq-side-link:hover { background: color-mix(in srgb, var(--yq-blue) 10%, transparent); color: var(--fx-heading, #fff); }
html[data-fx-style="blue"] .yq-side-link svg { flex: none; width: 15px; height: 15px; color: var(--fx-muted, #7f8899); }
html[data-fx-style="blue"] .yq-side-link:hover svg { color: var(--fx-heading, #fff); }
html[data-fx-style="blue"] .yq-side-link.is-active { background: #165dff; color: #fff; font-weight: 500; }
html[data-fx-style="blue"] .yq-side-link.is-active svg { color: #fff; }
html[data-fx-style="blue"] .yq-side-group > .yq-side-link { padding-left: 18px; }
html[data-fx-style="blue"] .yq-side-group .yq-side-link svg { display: none; }
html[data-fx-style="blue"] .yq-side-group .yq-side-link::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--fx-muted, #5b6472);
}
html[data-fx-style="blue"] .yq-side-group .yq-side-link.is-active::before { background: #fff; }

html[data-fx-style="blue"] .yq-side-help {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: auto 14px 0;
  padding: 12px 14px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--yq-blue) 8%, transparent);
  color: var(--fx-text, #c2c8d2);
  font-size: 13px;
}
html[data-fx-style="blue"] .yq-side-help:hover { background: color-mix(in srgb, var(--yq-blue) 14%, transparent); color: var(--fx-heading, #fff); }
html[data-fx-style="blue"] .yq-side-help svg { flex: none; width: 16px; height: 16px; color: var(--fx-muted, #7f8899); }
html[data-fx-style="blue"] .yq-side-help span { display: flex; flex-direction: column; line-height: 1.5; }
html[data-fx-style="blue"] .yq-side-help small { color: var(--fx-muted, #7f8899); font-size: 11px; }

/* ============================================================
 * 用户中心主页（样式二）
 * ============================================================ */
html[data-fx-style="blue"] .yq-uc { min-height: calc(100vh - 60px); background: var(--fx-bg, #f2f3f5); }
html[data-fx-style="blue"] .yq-uc-head {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 20px;
  background: var(--fx-panel, #fff);
}
html[data-fx-style="blue"] .yq-uc-head h1 { margin: 0; color: var(--fx-heading, #1d2129); font-size: 16px; font-weight: 700; }
html[data-fx-style="blue"] .yq-uc-head::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #165dff;
}
html[data-fx-style="blue"] .yq-uc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 16px;
  padding: 16px 20px 40px;
  align-items: start;
}
html[data-fx-style="blue"] .yq-uc-main,
html[data-fx-style="blue"] .yq-uc-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

html[data-fx-style="blue"] .yq-uc-card { padding: 16px 20px; border-radius: 10px; background: var(--fx-panel, #fff); }
html[data-fx-style="blue"] .yq-uc-card h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 14px;
  color: var(--fx-heading, #1d2129);
  font-size: 14px;
  font-weight: 700;
}
html[data-fx-style="blue"] .yq-uc-card h2 a { color: var(--fx-muted, #86909c); font-size: 12px; font-weight: 400; }
html[data-fx-style="blue"] .yq-uc-card h2 a:hover { color: #165dff; }

/* 温馨提示 */
html[data-fx-style="blue"] .yq-uc-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #fff7e8;
  color: #ff7d00;
  font-size: 13px;
  line-height: 1.8;
}
html[data-fx-style="blue"] .yq-uc-tip strong { color: #ff7d00; font-weight: 700; }
html[data-fx-style="blue"] .yq-uc-tip a { color: #165dff; }
html[data-fx-style="blue"] .yq-uc-tip-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: #ff7d00;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* 用户信息 */
html[data-fx-style="blue"] .yq-uc-profile-body { display: flex; align-items: center; gap: 22px; }
html[data-fx-style="blue"] .yq-uc-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: #165dff;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
}
html[data-fx-style="blue"] .yq-uc-profile-fields { flex: 1 1 auto; min-width: 0; margin: 0; }
html[data-fx-style="blue"] .yq-uc-profile-fields > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 78px minmax(0, 1fr);
  align-items: center;
  gap: 6px 10px;
  min-height: 30px;
  font-size: 13px;
}
html[data-fx-style="blue"] .yq-uc-profile-fields dt { color: #86909c; }
html[data-fx-style="blue"] .yq-uc-profile-fields dd { margin: 0; overflow: hidden; color: #1d2129; text-overflow: ellipsis; white-space: nowrap; }

html[data-fx-style="blue"] .yq-uc-profile-contact { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; }
html[data-fx-style="blue"] .yq-uc-profile-contact span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f2f3f5;
  color: #86909c;
}
html[data-fx-style="blue"] .yq-uc-profile-contact svg { width: 14px; height: 14px; }

html[data-fx-style="blue"] .yq-uc-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #f2f3f5; }
html[data-fx-style="blue"] .yq-uc-profile-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 18px;
  border: 1px solid #165dff;
  border-radius: 6px;
  color: #165dff;
  font-size: 13px;
}
html[data-fx-style="blue"] .yq-uc-profile-actions a:hover { background: #165dff; color: #fff; }

/* 统计卡 */
html[data-fx-style="blue"] .yq-uc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html[data-fx-style="blue"] .yq-uc-stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 10px; background: #fff; }
html[data-fx-style="blue"] .yq-uc-stat-title { color: #4e5969; font-size: 13px; }
html[data-fx-style="blue"] .yq-uc-stat strong { color: #1d2129; font-size: 30px; line-height: 1.15; font-weight: 700; }
html[data-fx-style="blue"] .yq-uc-stat strong small { margin-left: 3px; color: #4e5969; font-size: 13px; font-weight: 400; }
html[data-fx-style="blue"] .yq-uc-stat-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; color: #c9cdd4; font-size: 12px; }
html[data-fx-style="blue"] .yq-uc-stat-links a { color: #86909c; }
html[data-fx-style="blue"] .yq-uc-stat-links a:hover { color: #165dff; }
html[data-fx-style="blue"] .yq-uc-stat-links i { font-style: normal; color: #e5e6eb; }
html[data-fx-style="blue"] .yq-uc-stat-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html[data-fx-style="blue"] .yq-uc-stat-pair a { display: flex; flex-direction: column; gap: 2px; }
html[data-fx-style="blue"] .yq-uc-stat-pair span { color: #4e5969; font-size: 13px; }
html[data-fx-style="blue"] .yq-uc-stat-pair strong { color: #1d2129; font-size: 26px; line-height: 1.15; font-weight: 700; }
html[data-fx-style="blue"] .yq-uc-stat-pair strong small { margin-left: 2px; color: #4e5969; font-size: 12px; font-weight: 400; }

/* 账户安全 + 已开通产品 */
html[data-fx-style="blue"] .yq-uc-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 16px; }
html[data-fx-style="blue"] .yq-uc-safety-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
html[data-fx-style="blue"] .yq-uc-safety-copy p { margin: 0 0 2px; color: #4e5969; font-size: 12px; white-space: nowrap; }
html[data-fx-style="blue"] .yq-uc-safety-copy b { display: block; color: #86909c; font-size: 12px; font-weight: 400; }
html[data-fx-style="blue"] .yq-uc-safety-copy strong { display: block; margin: 2px 0 4px; color: #f53f3f; font-size: 32px; line-height: 1.1; font-weight: 700; }
html[data-fx-style="blue"] .yq-uc-safety-copy small { display: block; color: #86909c; font-size: 11px; line-height: 1.8; }
html[data-fx-style="blue"] .yq-uc-safety-copy small a { color: #4e5969; }
html[data-fx-style="blue"] .yq-uc-gauge { flex: none; width: 120px; }
html[data-fx-style="blue"] .yq-uc-gauge svg { width: 100%; height: auto; }

html[data-fx-style="blue"] .yq-uc-products-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 150px;
}
html[data-fx-style="blue"] .yq-uc-empty-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #f2f3f5;
  color: #c9cdd4;
}
html[data-fx-style="blue"] .yq-uc-empty-icon svg { width: 28px; height: 28px; }
html[data-fx-style="blue"] .yq-uc-outline-btn {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 20px;
  border: 1px solid #165dff;
  border-radius: 6px;
  color: #165dff;
  font-size: 13px;
}
html[data-fx-style="blue"] .yq-uc-outline-btn:hover { background: #165dff; color: #fff; }
html[data-fx-style="blue"] .yq-uc-product-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
html[data-fx-style="blue"] .yq-uc-product-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 14px;
  border: 1px solid #e5e6eb;
  border-radius: 6px;
  color: #4e5969;
  font-size: 12px;
}
html[data-fx-style="blue"] .yq-uc-product-list a:hover { border-color: #165dff; color: #165dff; }
html[data-fx-style="blue"] .yq-uc-product-list b { color: #165dff; }

/* 已开通产品：真实产品列表（数据来自 host 表，点击进入服务详情） */
html[data-fx-style="blue"] .yq-uc-products-body.has-hosts {
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  min-height: 0;
}
html[data-fx-style="blue"] .yq-uc-products-body.has-hosts > .yq-uc-outline-btn { align-self: flex-end; }
html[data-fx-style="blue"] .yq-uc-host-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
html[data-fx-style="blue"] .yq-uc-host {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--fx-border, #e5e6eb);
  border-radius: 8px;
  background: var(--fx-raised, #f7f8fa);
  color: inherit;
}
html[data-fx-style="blue"] .yq-uc-host:hover {
  border-color: var(--fx-config-accent, #165dff);
  background: color-mix(in srgb, var(--fx-config-accent, #165dff) 8%, var(--fx-raised, #f7f8fa));
}
html[data-fx-style="blue"] .yq-uc-host-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
html[data-fx-style="blue"] .yq-uc-host-name {
  overflow: hidden;
  color: var(--fx-heading, #1d2129);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-fx-style="blue"] .yq-uc-host-domain {
  overflow: hidden;
  color: var(--fx-muted, #86909c);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html[data-fx-style="blue"] .yq-uc-host-meta { flex: none; display: flex; align-items: center; gap: 10px; }
html[data-fx-style="blue"] .yq-uc-host-status {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--fx-raised, #f2f3f5);
  color: var(--fx-muted, #86909c);
  font-size: 11px;
  line-height: 18px;
  white-space: nowrap;
}
html[data-fx-style="blue"] .yq-uc-host-status.is-active { background: color-mix(in srgb, #2bc48a 16%, transparent); color: #1a9c69; }
html[data-fx-style="blue"] .yq-uc-host-status.is-suspended { background: color-mix(in srgb, #ff9a2e 18%, transparent); color: #c26b00; }
html[data-fx-style="blue"] .yq-uc-host-status.is-pending { background: color-mix(in srgb, #4080ff 16%, transparent); color: #2b62e8; }
html[data-fx-style="blue"] .yq-uc-host-due { color: var(--fx-muted, #86909c); font-size: 12px; white-space: nowrap; }
html[data-fx-style="blue"] .yq-uc-host-arrow { flex: none; width: 14px; height: 14px; color: var(--fx-muted, #c9cdd4); }
html[data-fx-style="blue"] .yq-uc-card-more { color: var(--fx-muted, #86909c); font-size: 12px; font-weight: 400; }
html[data-fx-style="blue"] .yq-uc-card-more:hover { color: var(--fx-config-accent, #165dff); }

/* 右栏 */
html[data-fx-style="blue"] .yq-uc-fee-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html[data-fx-style="blue"] .yq-uc-fee-top span { display: block; color: #4e5969; font-size: 13px; }
html[data-fx-style="blue"] .yq-uc-fee-top span small { color: #86909c; font-size: 12px; }
html[data-fx-style="blue"] .yq-uc-fee-top strong { display: block; margin-top: 4px; color: #1d2129; font-size: 28px; line-height: 1.15; font-weight: 700; }
html[data-fx-style="blue"] .yq-uc-recharge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 16px;
  border-radius: 6px;
  background: #165dff;
  color: #fff;
  font-size: 13px;
}
html[data-fx-style="blue"] .yq-uc-recharge:hover { background: #0e4fdb; color: #fff; }
html[data-fx-style="blue"] .yq-uc-recharge svg { width: 13px; height: 13px; }
html[data-fx-style="blue"] .yq-uc-fee-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
html[data-fx-style="blue"] .yq-uc-fee-grid a { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 8px; background: #f7f8fa; }
html[data-fx-style="blue"] .yq-uc-fee-grid span { color: #86909c; font-size: 12px; }
html[data-fx-style="blue"] .yq-uc-fee-grid strong { color: #1d2129; font-size: 16px; font-weight: 700; }

html[data-fx-style="blue"] .yq-uc-overview p { margin: 0; color: #4e5969; font-size: 13px; }
html[data-fx-style="blue"] .yq-uc-api ul { margin: 0; padding: 0; list-style: none; }
html[data-fx-style="blue"] .yq-uc-api li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f2f3f5;
  font-size: 13px;
}
html[data-fx-style="blue"] .yq-uc-api li:last-child { border-bottom: 0; padding-bottom: 0; }
html[data-fx-style="blue"] .yq-uc-api a { color: #4e5969; }
html[data-fx-style="blue"] .yq-uc-api a:hover { color: #165dff; }
html[data-fx-style="blue"] .yq-uc-api em { color: #f53f3f; font-size: 12px; font-style: normal; }

html[data-fx-style="blue"] .yq-uc-news ul { margin: 0; padding: 0; list-style: none; }
html[data-fx-style="blue"] .yq-uc-news li { border-bottom: 1px solid #f7f8fa; }
html[data-fx-style="blue"] .yq-uc-news li:last-child { border-bottom: 0; }
html[data-fx-style="blue"] .yq-uc-news li a { display: flex; align-items: center; gap: 8px; padding: 9px 0; color: #4e5969; font-size: 12px; }
html[data-fx-style="blue"] .yq-uc-news li a:hover { color: #165dff; }
html[data-fx-style="blue"] .yq-uc-news li a span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-fx-style="blue"] .yq-uc-news li a span::before { content: "📢"; margin-right: 5px; font-size: 11px; }
html[data-fx-style="blue"] .yq-uc-news li time { flex: none; color: #86909c; font-size: 11px; }
html[data-fx-style="blue"] .yq-uc-news-empty { padding: 12px 0; color: #86909c; font-size: 12px; }
html[data-fx-style="blue"] .yq-uc-copyright { margin: 14px 0 0; color: #86909c; font-size: 11px; text-align: right; }

/* ============================================================
 * 用户中心响应式
 * ============================================================ */
@media (max-width: 1180px) {
  html[data-fx-style="blue"] .fx-app.fx-blue .container-fluid.fx-container.yq-app-layout { grid-template-columns: 190px minmax(0, 1fr); }
  html[data-fx-style="blue"] .yq-uc-grid { grid-template-columns: minmax(0, 1fr) 268px; }
  html[data-fx-style="blue"] .yq-uc-bottom { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  html[data-fx-style="blue"] .fx-app.fx-blue .container-fluid.fx-container.yq-app-layout {
    display: block;
    padding: 0;
  }
  /* 移动端蓝色顶栏 */
  html[data-fx-style="blue"] .yq-app-header { background: #165dff; }
  html[data-fx-style="blue"] .yq-app-header .yq-wrap { height: 54px; gap: 10px; padding: 0 14px; }
  html[data-fx-style="blue"] .yq-app-header .yq-brand,
  html[data-fx-style="blue"] .yq-app-header .yq-brand-light { display: none; }
  html[data-fx-style="blue"] .yq-app-lang { margin-left: auto; }
  html[data-fx-style="blue"] .yq-app-lang > summary { height: 28px; padding: 0 9px; background: rgba(255, 255, 255, .2); }
  html[data-fx-style="blue"] .yq-app-actions { margin-left: 0; gap: 10px; }
  html[data-fx-style="blue"] .yq-app-actions > a:not([href="/login"]):not([href="/register"]) { display: none !important; }
  html[data-fx-style="blue"] .yq-app-icon { display: none !important; }
  html[data-fx-style="blue"] .yq-avatar { width: 30px; height: 30px; border-radius: 2px; background: rgba(255, 255, 255, .92); color: #165dff; font-size: 14px; }
  html[data-fx-style="blue"] .yq-app-name,
  html[data-fx-style="blue"] .yq-app-account .fx-icon { display: none; }
  html[data-fx-style="blue"] .yq-app-menu { display: flex; }
  html[data-fx-style="blue"] .yq-app-menu.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  html[data-fx-style="blue"] .yq-app-menu.is-open span:nth-child(2) { opacity: 0; }
  html[data-fx-style="blue"] .yq-app-menu.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  html[data-fx-style="blue"] .yq-app-mask {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 54px;
    bottom: 0;
    z-index: 98;
    background: transparent;
  }
  html[data-fx-style="blue"] .yq-app-mask[hidden] { display: none !important; }

  /* 侧栏：从左侧滑出的抽屉 */
  html[data-fx-style="blue"] .yq-app-side {
    position: fixed;
    left: 0;
    top: 54px;
    bottom: 0;
    z-index: 99;
    display: flex;
    flex-direction: column;
    width: 200px;
    height: auto;
    padding: 0 0 16px;
    background: #fff;
    border-right: 1px solid #e5e6eb;
    box-shadow: 6px 0 18px rgba(15, 35, 74, .08);
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .22s ease;
  }
  html[data-fx-style="blue"] .yq-app-side.is-open { transform: translateX(0); }
  /* 移动端抽屉固定浅色：文字使用深色，避免跟随深色模式后看不清 */
  html[data-fx-style="blue"] .yq-app-side .yq-side-group > summary { color: #86909c; }
  html[data-fx-style="blue"] .yq-app-side .yq-side-group > summary .fx-icon,
  html[data-fx-style="blue"] .yq-app-side .yq-side-nested > summary { color: #b4bac4; }
  html[data-fx-style="blue"] .yq-app-side .yq-side-link { color: #1d2129; }
  html[data-fx-style="blue"] .yq-app-side .yq-side-link:hover { background: #f2f3f5; color: #165dff; }
  html[data-fx-style="blue"] .yq-app-side .yq-side-link svg { color: #86909c; }
  html[data-fx-style="blue"] .yq-app-side .yq-side-link:hover svg { color: #165dff; }
  html[data-fx-style="blue"] .yq-app-side .yq-side-group .yq-side-link::before { background: #c9cdd4; }
  html[data-fx-style="blue"] .yq-app-side .yq-side-link.is-active { background: #165dff; color: #fff; }
  html[data-fx-style="blue"] .yq-app-side .yq-side-link.is-active svg,
  html[data-fx-style="blue"] .yq-app-side .yq-side-link.is-active::before { color: #fff; background-color: #fff; }
  html[data-fx-style="blue"] .yq-app-side .yq-side-help { background: #f7f8fa; color: #4e5969; }
  html[data-fx-style="blue"] .yq-app-side .yq-side-help small,
  html[data-fx-style="blue"] .yq-app-side .yq-side-help svg { color: #86909c; }
  html[data-fx-style="blue"] .yq-side-nav { display: flex; flex-direction: column; width: auto; }
  html[data-fx-style="blue"] .yq-side-group { display: block; }
  html[data-fx-style="blue"] .yq-side-group > summary { display: flex; padding: 16px 14px 6px; color: #6f7784; font-size: 12px; }
  html[data-fx-style="blue"] .yq-side-link,
  html[data-fx-style="blue"] .yq-side-group > .yq-side-link,
  html[data-fx-style="blue"] .yq-side-nested .yq-side-link {
    display: flex;
    flex: none;
    height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }
  html[data-fx-style="blue"] .yq-side-link svg,
  html[data-fx-style="blue"] .yq-side-group .yq-side-link svg { display: block; width: 14px; height: 14px; }
  html[data-fx-style="blue"] .yq-side-group .yq-side-link::before { display: none; }
  html[data-fx-style="blue"] .yq-side-group > summary .fx-icon { display: none; }
  html[data-fx-style="blue"] .yq-side-nested > summary { padding-left: 26px; }
  html[data-fx-style="blue"] .yq-side-nested .yq-side-link { padding-left: 36px; }
  html[data-fx-style="blue"] .yq-side-help { display: none; }

  /* 内容区全宽 */
  html[data-fx-style="blue"] .yq-app-content { margin-left: 0; }
  html[data-fx-style="blue"] .yq-uc-grid { grid-template-columns: 1fr; padding: 10px 12px 32px; }
  html[data-fx-style="blue"] .yq-uc-side { order: 2; }
  html[data-fx-style="blue"] .yq-uc-head { height: 50px; padding: 0 14px; }
  html[data-fx-style="blue"] .yq-uc-head::after { left: 14px; }
  html[data-fx-style="blue"] .yq-uc-stats { grid-template-columns: 1fr; gap: 10px; }
  html[data-fx-style="blue"] .yq-uc-bottom { grid-template-columns: 1fr; }
  html[data-fx-style="blue"] .yq-uc-profile-fields > div { display: block; min-height: 0; padding: 5px 0; }
  html[data-fx-style="blue"] .yq-uc-profile-fields dt { display: inline-block; width: 72px; color: #86909c; }
  html[data-fx-style="blue"] .yq-uc-profile-fields dd { display: inline-block; width: calc(100% - 74px); margin: 0; color: #1d2129; vertical-align: top; }
  html[data-fx-style="blue"] .yq-uc-profile-actions a:nth-child(1),
  html[data-fx-style="blue"] .yq-uc-profile-actions a:nth-child(4) { display: none; }
  html[data-fx-style="blue"] .yq-uc-profile-actions a { flex: 1 1 0; padding: 0 6px; font-size: 12px; white-space: nowrap; }
}
@media (max-width: 640px) {
  html[data-fx-style="blue"] .yq-uc-card { padding: 14px; }
  html[data-fx-style="blue"] .yq-uc-profile-body { gap: 14px; }
  html[data-fx-style="blue"] .yq-uc-avatar { width: 56px; height: 56px; font-size: 26px; }
  html[data-fx-style="blue"] .yq-uc-profile-fields > div { display: block; min-height: 0; padding: 5px 0; }
  html[data-fx-style="blue"] .yq-uc-profile-actions a { flex: 1 1 0; padding: 0 6px; font-size: 12px; }
  html[data-fx-style="blue"] .yq-uc-stats { grid-template-columns: 1fr; }
  html[data-fx-style="blue"] .yq-uc-stat-wide { grid-column: auto; }
  html[data-fx-style="blue"] .yq-uc-safety-body { flex-direction: column; align-items: flex-start; gap: 8px; }
  html[data-fx-style="blue"] .yq-uc-gauge { width: 130px; height: 78px; overflow: hidden; align-self: center; }
  html[data-fx-style="blue"] .yq-uc-gauge svg { display: block; }
}

/* 系统原生页面（云服务器列表 / 实例详情）在样式二下的容器 */
html[data-fx-style="blue"] .yq-legacy-page { padding: 0 0 32px; }
html[data-fx-style="blue"] .yq-legacy-page > .card,
html[data-fx-style="blue"] .yq-legacy-page .card {
  border: 0;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}
html[data-fx-style="blue"] .yq-legacy-page .card-header {
  border-bottom: 1px solid #f2f3f5;
  background: #fff;
  color: #1d2129;
  font-weight: 700;
}
html[data-fx-style="blue"] .yq-legacy-page .table thead th {
  border-bottom: 1px solid #f2f3f5;
  background: #f7f8fa;
  color: #4e5969;
  font-weight: 500;
}
html[data-fx-style="blue"] .yq-legacy-page .table tbody td { border-top-color: #f7f8fa; color: #1d2129; }

/* 轻提示 */
html[data-fx-style="blue"] .fx-toast {
  position: fixed;
  left: 50%;
  bottom: 64px;
  z-index: 9999;
  padding: 10px 18px;
  border-radius: 2px;
  background: rgba(29, 33, 41, .92);
  color: #fff;
  font-size: 13px;
  transform: translateX(-50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
html[data-fx-style="blue"] .fx-toast[hidden] { display: none !important; }



/* ============================================================
 * 服务详情（样式二）：深色概览卡片 + 顶部 Tab
 * 数据全部来自魔方系统；重要提醒来自后台“使用提醒设置 / 提醒内容”。
 * ============================================================ */
html[data-fx-style="blue"] body.fx-service-detail .fx-page-heading { display: none; }

/* 深浅色自适应：结构色取自主题变量（.fx-app 中随外观模式切换），强调色与提醒色按模式微调 */
html[data-fx-style="blue"] .yq-svc {
  --yq-svc-page: var(--fx-bg, #0f1013);
  --yq-svc-panel: var(--fx-panel, #17191e);
  --yq-svc-raised: var(--fx-raised, #1d2332);
  --yq-svc-border: var(--fx-border, #2a3041);
  --yq-svc-heading: var(--fx-heading, #f2f3f5);
  --yq-svc-text: var(--fx-text, #e5e6eb);
  --yq-svc-muted: var(--fx-muted, #8a8f99);
  --yq-svc-accent: #4080ff;
  --yq-svc-accent-soft: rgba(64, 128, 255, .16);
  --yq-svc-green: #3ddc84;
  --yq-switch-track: #e6e7ea;
  --yq-switch-knob: #17191e;
  --yq-warn-icon: #ffc53d;
  --yq-warn-border: #6b5327;
  --yq-warn-bg: rgba(255, 171, 0, .06);
  --yq-warn-title: #ffc36b;
}
html[data-fx-theme="light"] .yq-svc {
  --yq-svc-accent: #165dff;
  --yq-svc-accent-soft: rgba(22, 93, 255, .08);
  --yq-svc-green: #14765d;
  --yq-switch-track: #d8dde8;
  --yq-switch-knob: #ffffff;
  --yq-warn-icon: #d48806;
  --yq-warn-border: #f0d9a8;
  --yq-warn-bg: #fffbf0;
  --yq-warn-title: #98601b;
}

html[data-fx-style="blue"] .yq-svc {
  min-height: calc(100vh - 56px);
  background: var(--yq-svc-page);
  color: var(--yq-svc-text);
}
html[data-fx-style="blue"] .yq-svc:not(.is-ready) .yq-svc-legacy { display: none; }

/* 顶部 Tab 条 */
html[data-fx-style="blue"] .yq-svc-tabs {
  padding: 0 16px;
  background: var(--yq-svc-raised);
  border-bottom: 1px solid var(--yq-svc-border);
}
html[data-fx-style="blue"] .yq-svc-tabs .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
  margin: 0;
  padding: 6px 0 0;
  border: 0;
  background: transparent;
}
html[data-fx-style="blue"] .yq-svc-tabs .nav-item { margin: 0; }
html[data-fx-style="blue"] .yq-svc-tabs .nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--yq-svc-heading);
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
}
html[data-fx-style="blue"] .yq-svc-tabs .nav-link:hover { color: var(--yq-svc-accent); }
html[data-fx-style="blue"] .yq-svc-tabs .nav-link.active { color: var(--yq-svc-accent); font-weight: 600; }
html[data-fx-style="blue"] .yq-svc-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--yq-svc-accent);
}
html[data-fx-style="blue"] .yq-svc-tabs .nav-link > span { display: inline; }

/* 历史页面：只保留 Tab 面板，其它区块由脚本按层级隐藏 */
html[data-fx-style="blue"] .yq-svc-legacy .container-fluid { padding: 0; }
html[data-fx-style="blue"] .yq-svc-legacy .row,
html[data-fx-style="blue"] .yq-svc-legacy .bottom-box { margin: 0 !important; }
html[data-fx-style="blue"] .yq-svc-legacy .col-md-9 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 !important;
}
html[data-fx-style="blue"] .yq-svc-legacy .card {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
html[data-fx-style="blue"] .yq-svc-legacy .card-body { padding: 0 !important; }
html[data-fx-style="blue"] .yq-svc-legacy .tab-content {
  padding: 12px;
  background: var(--yq-svc-page);
}
html[data-fx-style="blue"] .yq-svc-legacy .tab-content > .tab-pane:not(.yq-svc-pane) {
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  color: #1d2129;
}

/* 概览卡片 */
html[data-fx-style="blue"] .yq-svc-overview { display: block; }
html[data-fx-style="blue"] .yq-svc-col { display: contents; }
html[data-fx-style="blue"] .yq-svc-card {
  margin: 0 0 10px;
  padding: 16px;
  border: 1px solid var(--yq-svc-border);
  border-radius: 8px;
  background: var(--yq-svc-panel);
}
html[data-fx-style="blue"] .yq-svc-card:last-child { margin-bottom: 0; }
html[data-fx-style="blue"] .yq-svc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
html[data-fx-style="blue"] .yq-svc-card-head h2 {
  margin: 0;
  color: var(--yq-svc-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
html[data-fx-style="blue"] .yq-svc-badge {
  flex: none;
  padding: 0 10px;
  height: 26px;
  line-height: 26px;
  border-radius: 4px;
  background: var(--yq-svc-raised);
  color: var(--yq-svc-muted);
  font-size: 13px;
}
html[data-fx-style="blue"] .yq-svc-badge.is-active { background: #2bc48a; color: #fff; }

html[data-fx-style="blue"] .yq-svc-rows { margin: 0; }
html[data-fx-style="blue"] .yq-svc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 5px 0;
}
html[data-fx-style="blue"] .yq-svc-row dt {
  flex: none;
  width: 96px;
  color: var(--yq-svc-muted);
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
}
html[data-fx-style="blue"] .yq-svc-row dd {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  color: var(--yq-svc-text);
  font-size: 15px;
  word-break: break-all;
}
html[data-fx-style="blue"] .yq-svc-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
html[data-fx-style="blue"] .yq-svc-id { color: var(--yq-svc-accent); }
html[data-fx-style="blue"] .yq-svc-remark { color: var(--yq-svc-text); }

html[data-fx-style="blue"] .yq-svc-state { display: inline-flex; align-items: center; gap: 8px; }
html[data-fx-style="blue"] .yq-svc-state::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yq-svc-muted);
  box-shadow: 0 0 0 3px rgba(138, 143, 153, .16);
}
html[data-fx-style="blue"] .yq-svc-state.is-on::before {
  background: var(--yq-svc-green);
  box-shadow: 0 0 0 3px rgba(61, 220, 132, .18);
}

html[data-fx-style="blue"] .yq-svc-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--yq-svc-muted);
  cursor: pointer;
}
html[data-fx-style="blue"] .yq-svc-icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
html[data-fx-style="blue"] .yq-svc-icon-btn:hover { color: var(--yq-svc-accent); background: var(--yq-svc-accent-soft); }

html[data-fx-style="blue"] .yq-svc-ops { gap: 10px; }
html[data-fx-style="blue"] .yq-svc-ssh-form { display: inline-flex; margin: 0; }
html[data-fx-style="blue"] .yq-svc-ssh-form[hidden] { display: none !important; }
html[data-fx-style="blue"] .yq-svc-btn,
html[data-fx-style="blue"] .yq-svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--yq-svc-accent) 55%, transparent);
  border-radius: 4px;
  background: transparent;
  color: var(--yq-svc-accent);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
html[data-fx-style="blue"] .yq-svc-btn:hover,
html[data-fx-style="blue"] .yq-svc-link:hover { background: var(--yq-svc-accent-soft); color: var(--yq-svc-accent); border-color: var(--yq-svc-accent); }
html[data-fx-style="blue"] .yq-svc-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
html[data-fx-style="blue"] .yq-svc-link { height: auto; padding: 0; border: 0; color: var(--yq-svc-accent); }
html[data-fx-style="blue"] .yq-svc-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
html[data-fx-style="blue"] .yq-svc-link:hover { background: transparent; color: var(--yq-svc-accent); }

html[data-fx-style="blue"] .yq-svc-drop { position: relative; display: inline-block; }
html[data-fx-style="blue"] .yq-svc-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  min-width: 148px;
  padding: 6px 0;
  border: 1px solid var(--yq-svc-border);
  border-radius: 6px;
  background: var(--yq-svc-raised);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}
html[data-fx-style="blue"] .yq-svc-drop.is-open .yq-svc-drop-menu { display: block; }
html[data-fx-style="blue"] .yq-svc-drop-menu a {
  display: block;
  padding: 9px 16px;
  color: var(--yq-svc-text);
  font-size: 14px;
  white-space: nowrap;
}
html[data-fx-style="blue"] .yq-svc-drop-menu a:hover { background: var(--yq-svc-accent-soft); color: var(--yq-svc-accent); }

html[data-fx-style="blue"] .yq-svc-countdown { color: var(--yq-svc-green); font-size: 14px; }
html[data-fx-style="blue"] .yq-svc-os { gap: 12px; }

/* 迁移过来的自动续费开关与续费按钮 */
html[data-fx-style="blue"] .yq-svc .custom-control { position: relative; display: block; }
html[data-fx-style="blue"] .yq-svc .custom-control-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
html[data-fx-style="blue"] .yq-svc .custom-control-label { position: relative; display: inline-block; }
html[data-fx-style="blue"] .yq-svc .custom-switch { padding-left: 50px; min-height: 24px; margin: 0; }
html[data-fx-style="blue"] .yq-svc .custom-switch .custom-control-label::before { left: -50px; }
html[data-fx-style="blue"] .yq-svc .custom-switch .custom-control-label::after { left: -48px; }
html[data-fx-style="blue"] .yq-svc .custom-switch .custom-control-label::before {
  width: 42px;
  height: 22px;
  top: -2px;
  border: 0;
  border-radius: 11px;
  background: var(--yq-switch-track);
  content: "";
  position: absolute;
}
html[data-fx-style="blue"] .yq-svc .custom-switch .custom-control-label::after {
  width: 18px;
  height: 18px;
  top: 0;
  border-radius: 50%;
  background: var(--yq-switch-knob);
  content: "";
  position: absolute;
}
html[data-fx-style="blue"] .yq-svc .custom-switch .custom-control-input:checked ~ .custom-control-label::before { background: var(--yq-svc-accent); }
html[data-fx-style="blue"] .yq-svc .custom-switch .custom-control-input:checked ~ .custom-control-label::after { transform: translateX(20px); }
html[data-fx-style="blue"] .yq-svc [data-yq-renew-action] .btn {
  height: 34px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--yq-svc-accent) 55%, transparent);
  border-radius: 4px;
  background: transparent;
  color: var(--yq-svc-accent);
  font-size: 14px;
}
html[data-fx-style="blue"] .yq-svc [data-yq-renew-action] .btn:hover {
  border-color: var(--yq-svc-accent);
  background: var(--yq-svc-accent-soft);
  color: var(--yq-svc-accent);
}

/* 实例监控 */
html[data-fx-style="blue"] .yq-svc-monitor-body { margin: 0; }
html[data-fx-style="blue"] .yq-svc-monitor .chartbox {
  padding: 10px 0 18px;
  color: var(--yq-svc-text);
}
html[data-fx-style="blue"] .yq-svc-monitor .chartbox + .chartbox { border-top: 1px solid var(--yq-svc-border); }
html[data-fx-style="blue"] .yq-svc-monitor .chartbox h4 { color: var(--yq-svc-heading); }
html[data-fx-style="blue"] .yq-svc-monitor .chartbox input,
html[data-fx-style="blue"] .yq-svc-monitor .chartbox select {
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--yq-svc-border);
  border-radius: 4px;
  background: var(--yq-svc-raised);
  color: var(--yq-svc-text);
  font-size: 14px;
}
html[data-fx-style="blue"] .yq-svc-monitor .module_chart,
html[data-fx-style="blue"] .yq-svc-monitor .chart_content_box {
  margin-top: 12px;
  border-radius: 4px;
  background: #fff;
}

/* 重要使用提醒（内容来自后台配置） */
html[data-fx-style="blue"] .yq-svc-notes-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--yq-svc-border);
}
html[data-fx-style="blue"] .yq-svc-notes-head svg {
  flex: none;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--yq-warn-icon);
  stroke-width: 1.8;
}
html[data-fx-style="blue"] .yq-svc-notes-head h2 { margin: 0; color: var(--yq-svc-heading); font-size: 18px; font-weight: 700; }
html[data-fx-style="blue"] .yq-svc-note {
  padding: 14px 16px;
  border: 1px solid var(--yq-svc-border);
  border-radius: 6px;
  background: var(--yq-svc-raised);
  color: var(--yq-svc-text);
  font-size: 15px;
  line-height: 1.8;
}
html[data-fx-style="blue"] .yq-svc-note + .yq-svc-note { margin-top: 12px; }
html[data-fx-style="blue"] .yq-svc-note h3 { margin: 0 0 8px; color: var(--yq-svc-heading); font-size: 15px; font-weight: 600; }
html[data-fx-style="blue"] .yq-svc-note.is-highlight { border-color: var(--yq-warn-border); background: var(--yq-warn-bg); }
html[data-fx-style="blue"] .yq-svc-note.is-highlight h3 { color: var(--yq-warn-title); }
html[data-fx-style="blue"] .yq-svc-note-text { word-break: break-word; }
html[data-fx-style="blue"] .yq-svc-help {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--yq-svc-border);
  border-radius: 6px;
  background: var(--yq-svc-raised);
}
html[data-fx-style="blue"] .yq-svc-help-title { display: block; margin-bottom: 10px; color: var(--yq-svc-muted); font-size: 14px; }
html[data-fx-style="blue"] .yq-svc-help-link {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--yq-svc-accent) 45%, transparent);
  border-radius: 4px;
}
html[data-fx-style="blue"] .yq-svc-help-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  background: var(--yq-svc-panel);
  color: var(--yq-svc-accent);
  font-size: 14px;
}
html[data-fx-style="blue"] .yq-svc-help-link code {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0 12px;
  overflow: hidden;
  color: var(--yq-svc-accent);
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  html[data-fx-style="blue"] .yq-svc-tabs { padding: 0 12px; }
  html[data-fx-style="blue"] .yq-svc-tabs .nav-tabs { gap: 0 22px; }
  html[data-fx-style="blue"] .yq-svc-tabs .nav-link { padding: 9px 0 11px; font-size: 15px; }
  html[data-fx-style="blue"] .yq-svc-legacy .tab-content { padding: 10px; }
  html[data-fx-style="blue"] .yq-svc-card { padding: 16px 14px; }
  html[data-fx-style="blue"] .yq-svc-card-head h2 { font-size: 17px; }
  html[data-fx-style="blue"] .yq-svc-row dt { width: 100px; font-size: 15px; }
  html[data-fx-style="blue"] .yq-svc-row dd { font-size: 15px; }
  html[data-fx-style="blue"] .yq-svc-monitor .chartbox input,
  html[data-fx-style="blue"] .yq-svc-monitor .chartbox select {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  html[data-fx-style="blue"] .yq-svc-monitor .chartbox > span {
    display: block;
    margin: 6px 0;
    line-height: 1;
  }
}

/* 移动端/窄屏：概览卡片单列排序，重要使用提醒紧跟在登录信息之后 */
@media (max-width: 1023px) {
  html[data-fx-style="blue"] .yq-svc-overview {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  html[data-fx-style="blue"] .yq-svc-col { display: contents; }
  html[data-fx-style="blue"] .yq-svc-card { margin: 0; }
  html[data-fx-style="blue"] .yq-svc-col-main [data-yq-card="instance"] { order: 1; }
  html[data-fx-style="blue"] .yq-svc-col-main [data-yq-card="os"] { order: 2; }
  html[data-fx-style="blue"] .yq-svc-col-main [data-yq-card="spec"] { order: 3; }
  html[data-fx-style="blue"] .yq-svc-col-main [data-yq-card="billing"] { order: 4; }
  html[data-fx-style="blue"] .yq-svc-col-main [data-yq-card="login"] { order: 5; }
  html[data-fx-style="blue"] .yq-svc-col-side .yq-svc-notes { order: 6; }
  html[data-fx-style="blue"] .yq-svc-col-side .yq-svc-monitor { order: 7; }
}

/* 电脑端：深色 Tab 条 + 左右两栏概览（左：实例/登录/系统/规格/计费；右：提醒/监控） */
@media (min-width: 1024px) {
  html[data-fx-style="blue"] .yq-svc-tabs {
    padding: 0 16px;
    border-bottom: 1px solid var(--yq-svc-border);
    background: transparent;
  }
  html[data-fx-style="blue"] .yq-svc-tabs .nav-tabs { gap: 0 30px; padding: 4px 0 0; }
  html[data-fx-style="blue"] .yq-svc-tabs .nav-link {
    padding: 12px 0 14px;
    color: var(--yq-svc-text);
    font-size: 15px;
  }
  html[data-fx-style="blue"] .yq-svc-tabs .nav-link:hover,
  html[data-fx-style="blue"] .yq-svc-tabs .nav-link.active { color: var(--yq-svc-accent); }
  html[data-fx-style="blue"] .yq-svc-tabs .nav-link.active::after { background: var(--yq-svc-accent); }
  html[data-fx-style="blue"] .yq-svc-legacy .tab-content { padding: 14px 16px 24px; }

  html[data-fx-style="blue"] .yq-svc-overview {
    display: grid;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    gap: 16px;
    align-items: start;
  }
  html[data-fx-style="blue"] .yq-svc-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
  }
  html[data-fx-style="blue"] .yq-svc-card { margin: 0; }
  html[data-fx-style="blue"] .yq-svc-col-main [data-yq-card="instance"] { order: 1; }
  html[data-fx-style="blue"] .yq-svc-col-main [data-yq-card="login"] { order: 2; }
  html[data-fx-style="blue"] .yq-svc-col-main [data-yq-card="os"] { order: 3; }
  html[data-fx-style="blue"] .yq-svc-col-main [data-yq-card="spec"] { order: 4; }
  html[data-fx-style="blue"] .yq-svc-col-main [data-yq-card="billing"] { order: 5; }
  html[data-fx-style="blue"] .yq-svc-col-side .yq-svc-notes { order: 1; }
  html[data-fx-style="blue"] .yq-svc-col-side .yq-svc-monitor { order: 2; }

  html[data-fx-style="blue"] .yq-svc-monitor-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }
  html[data-fx-style="blue"] .yq-svc-monitor .chartbox + .chartbox { border-top: 0; }
  html[data-fx-style="blue"] .yq-svc-monitor .chartbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  html[data-fx-style="blue"] .yq-svc-monitor .chartbox h4 { flex: 0 0 100%; margin: 0 0 2px; }
  html[data-fx-style="blue"] .yq-svc-monitor .chartbox input,
  html[data-fx-style="blue"] .yq-svc-monitor .chartbox select {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
  }
  html[data-fx-style="blue"] .yq-svc-monitor .chartbox > span { flex: none; margin: 0; }
  html[data-fx-style="blue"] .yq-svc-monitor .chartbox .module_chart,
  html[data-fx-style="blue"] .yq-svc-monitor .chartbox .chart_content_box { flex: 0 0 100%; }
}

/* ============================================================
 * 下单选配页（cart?action=configureproduct）
 * 结构完全沿用系统渲染的配置项，仅做卡片化重排，深浅色自适应。
 * ============================================================ */
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] {
  --yq-cfg-panel: var(--fx-panel, #fff);
  --yq-cfg-raised: var(--fx-raised, #f5f7fa);
  --yq-cfg-border: var(--fx-border, #e5e6eb);
  --yq-cfg-heading: var(--fx-heading, #1d2129);
  --yq-cfg-text: var(--fx-text, #4e5969);
  --yq-cfg-muted: var(--fx-muted, #86909c);
  --yq-cfg-accent: var(--fx-config-accent, var(--yq-blue));
  display: block;
  padding: 0 0 24px;
  color: var(--yq-cfg-text);
}

/* 步骤条 */
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .fx-cart-steps {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
  padding: 12px 18px;
  border: 1px solid var(--yq-cfg-border);
  border-radius: 10px;
  background: var(--yq-cfg-panel);
  color: var(--yq-cfg-muted);
  font-size: 13px;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .fx-cart-steps > span[data-cart-step] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .fx-cart-steps > span[data-cart-step] > b {
  font-weight: 600;
  opacity: .7;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .fx-cart-steps > span.is-active { color: var(--yq-cfg-accent); }
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .fx-cart-steps > span.is-active > b { opacity: 1; }
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .fx-cart-steps > span[aria-hidden] { color: var(--yq-cfg-border); }

/* 表单两栏：左配置 / 右粘性结算 */
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 16px;
  margin: 0;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form > .row > .col-xl-8,
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form > .row > .col-xl-4 {
  flex: none;
  width: auto;
  max-width: none;
  min-width: 0;
  padding: 0;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form > .row > .col-xl-4 {
  position: sticky;
  top: 84px;
  align-self: start;
}

/* 左侧卡片 */
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .col-xl-8 > .card {
  margin: 0 0 16px;
  border: 1px solid var(--yq-cfg-border);
  border-radius: 10px;
  background: var(--yq-cfg-panel);
  box-shadow: none;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .col-xl-8 > .card > .card-body { padding: 16px 18px; }
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .col-xl-8 > .card:first-child > .card-body { padding: 16px 18px; }
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .col-xl-8 > .card .card-title {
  margin: 0;
  color: var(--yq-cfg-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

/* 配置项卡片网格 */
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .col-xl-8 > .card:not(:first-child) > .card-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .card-body > .form-group {
  display: block;
  margin: 0 !important;
  padding: 14px 16px;
  border: 1px solid var(--yq-cfg-border);
  border-radius: 8px;
  background: var(--yq-cfg-raised);
  width: 100%;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .card-body > .form-group.is-wide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .card-body > .form-group.is-wide { grid-column: 1 / -1; }
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .card-body > .form-group.is-wide > label { flex: 0 0 100% !important; }
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .card-body > .form-group.is-wide > [class*="col-"]:not(label) {
  flex: 1 1 220px !important;
  width: auto !important;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .card-body > .form-group > label {
  display: block;
  flex: none;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 10px !important;
  color: var(--yq-cfg-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .card-body > .form-group > [class*="col-"] {
  flex: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

/* 选项按钮组 */
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .btn-group-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .btn-group-toggle > .btn {
  margin: 0 !important;
  padding: 7px 14px;
  border: 1px solid var(--yq-cfg-border) !important;
  border-radius: 6px !important;
  background: var(--yq-cfg-panel) !important;
  color: var(--yq-cfg-text) !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: none !important;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .btn-group-toggle > .btn:hover {
  border-color: color-mix(in srgb, var(--yq-cfg-accent) 50%, var(--yq-cfg-border)) !important;
  color: var(--yq-cfg-accent) !important;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .btn-group-toggle > .btn.active,
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .btn-group-toggle > .btn.active:hover,
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .btn-group-toggle > .btn.active:focus {
  border-color: var(--yq-cfg-accent) !important;
  background: color-mix(in srgb, var(--yq-cfg-accent) 12%, var(--yq-cfg-panel)) !important;
  color: var(--yq-cfg-accent) !important;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--yq-cfg-accent) !important;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .btn-group-toggle > .btn input { display: none; }

/* 下拉、输入框、勾选 */
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .form-control,
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .bootstrap-select > .dropdown-toggle {
  background: var(--yq-cfg-panel) !important;
  border: 1px solid var(--yq-cfg-border) !important;
  border-radius: 6px !important;
  color: var(--yq-cfg-text) !important;
  font-size: 13px;
  box-shadow: none !important;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .form-control:focus,
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .bootstrap-select > .dropdown-toggle:focus {
  border-color: var(--yq-cfg-accent) !important;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .bootstrap-select .dropdown-menu {
  border-color: var(--yq-cfg-border);
  background: var(--yq-cfg-panel);
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .bootstrap-select .dropdown-menu a {
  color: var(--yq-cfg-text);
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .bootstrap-select .dropdown-menu .selected a,
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .bootstrap-select .dropdown-menu a:hover {
  background: color-mix(in srgb, var(--yq-cfg-accent) 12%, transparent);
  color: var(--yq-cfg-accent);
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form input[type="radio"],
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form input[type="checkbox"] { accent-color: var(--yq-cfg-accent); }

/* 右侧订单汇总 */
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .col-xl-4 > .card {
  margin: 0;
  border: 1px solid var(--yq-cfg-border);
  border-radius: 10px;
  background: var(--yq-cfg-panel);
  box-shadow: none;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .col-xl-4 .card-body { padding: 18px; }
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .col-xl-4 .card-title {
  margin: 0 0 12px;
  color: var(--yq-cfg-heading);
  font-size: 16px;
  font-weight: 700;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_total { min-height: 0 !important; }
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .ordersummary {
  width: 100%;
  margin: 0 !important;
  border: 0;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .ordersummary td {
  padding: 6px 0 !important;
  border: 0 !important;
  color: var(--yq-cfg-text);
  font-size: 13px;
  vertical-align: top;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .ordersummary td:last-child { text-align: right; }
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .ordersummary .color-999 { color: var(--yq-cfg-muted) !important; }
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .ordersummary .font-weight-bold {
  color: var(--yq-cfg-heading) !important;
  font-size: 20px;
  font-weight: 700;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .ordersummary hr {
  margin: 8px 0;
  border-color: var(--yq-cfg-border);
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_total > div[style*="position: absolute"] {
  position: static !important;
  margin: 14px 0 0 !important;
  text-align: right;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] #addToCartBtn {
  width: 100%;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--yq-cfg-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] #addToCartBtn:hover { background: color-mix(in srgb, var(--yq-cfg-accent) 88%, #000); }

/* 移动端底部合计条 */
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .mobile-bottom-total {
  border-top: 1px solid var(--yq-cfg-border);
  background: var(--yq-cfg-panel);
  color: var(--yq-cfg-text);
}
html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .mobile-bottom-total .total { color: var(--yq-cfg-heading); }

/* 自适应：窄屏单列 */
@media (max-width: 1200px) {
  html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form > .row {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form > .row > .col-xl-4 {
    position: static;
  }
}
@media (max-width: 720px) {
  html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .col-xl-8 > .card:not(:first-child) > .card-body {
    grid-template-columns: minmax(0, 1fr);
  }
  html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .card-body > .form-group { padding: 12px 14px; }
  html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .col-xl-8 > .card > .card-body { padding: 14px; }
  html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .configoption_form .btn-group-toggle > .btn { padding: 6px 12px; font-size: 12px; }
  html[data-fx-style="blue"] .fx-cart-native[data-fx-cart-stage="configure"] .fx-cart-steps { padding: 10px 14px; font-size: 12px; gap: 8px; }
}

/* 用户中心首页：文字与浅色块随深浅模式切换 */
html[data-fx-style="blue"] .yq-uc-stat-title,
html[data-fx-style="blue"] .yq-uc-safety-copy p,
html[data-fx-style="blue"] .yq-uc-fee-top span,
html[data-fx-style="blue"] .yq-uc-overview p { color: var(--fx-text, #4e5969); }
html[data-fx-style="blue"] .yq-uc-stat-links,
html[data-fx-style="blue"] .yq-uc-stat-links i,
html[data-fx-style="blue"] .yq-uc-safety-copy b,
html[data-fx-style="blue"] .yq-uc-safety-copy small,
html[data-fx-style="blue"] .yq-uc-fee-grid span,
html[data-fx-style="blue"] .yq-uc-profile-fields dt,
html[data-fx-style="blue"] .yq-uc-copyright { color: var(--fx-muted, #86909c); }
html[data-fx-style="blue"] .yq-uc-stat strong,
html[data-fx-style="blue"] .yq-uc-fee-top strong,
html[data-fx-style="blue"] .yq-uc-fee-grid strong,
html[data-fx-style="blue"] .yq-uc-profile-fields dd { color: var(--fx-heading, #1d2129); }
html[data-fx-style="blue"] .yq-uc-fee-grid a,
html[data-fx-style="blue"] .yq-uc-profile-contact span,
html[data-fx-style="blue"] .yq-uc-empty-icon { background: var(--fx-raised, #f2f3f5); }
html[data-fx-style="blue"] .yq-uc-safety-copy strong { color: var(--fx-red, #f53f3f); }
