/* ============================================================
   心仪数据 · 产品列表 / 选购页
   路径：/web/products/products.css
   沿用站点令牌：主色 #0B57D0、青绿 #0A8F80、深色底 #0B1220 / #0F1B2B
   ============================================================ */

/* ---------- 日间令牌 ---------- */
:root {
  --brand-50:  #eef4fe;
  --brand-100: #d9e6fd;
  --brand-200: #b8d1fb;
  --brand-300: #8ab2f7;
  --brand-400: #5a8ef2;
  --brand-500: #2f6fe8;
  --brand-600: #0b57d0;
  --brand-700: #0846ab;
  --brand-800: #073a8a;

  --gray-50:  #fafbfc;
  --gray-100: #f5f7fa;
  --gray-200: #e4e9f0;
  --gray-300: #d3dae5;
  --gray-400: #b6c0cd;
  --gray-500: #8e9bab;
  --gray-600: #7d8a9b;
  --gray-700: #5c6a7c;
  --gray-800: #1d2a3d;

  --success-soft: #e6f4f1; --success: #0a8f80; --success-deep: #086b60;
  --warn-soft:    #fdf5e6; --warn:    #a86a12; --warn-deep:    #82500a;
  --danger-soft:  #fdecea; --danger:  #c0392b; --danger-deep:  #96261a;
  --info-soft:    #e8f0fe; --info:    #0b57d0; --info-deep:    #0842a0;
  --neutral-soft: #f2f4f7; --neutral: #5c6a7c;

  --ink: #0d1523;
  --ink-2: var(--gray-800);
  --muted: var(--gray-700);
  --muted-2: var(--gray-600);
  --line: var(--gray-200);
  --line-strong: var(--gray-300);
  --bg: #ffffff;
  --bg-soft: var(--gray-100);
  --bg-softer: var(--gray-50);
  --surface: #ffffff;
  --accent: var(--brand-600);
  --accent-hover: var(--brand-700);
  --accent-weak: var(--brand-50);
  --accent-line: var(--brand-200);
  --accent-solid: var(--brand-600);
  --price: #a86a12; /* 与首页 --price: var(--gold-600) 保持一致 */
  --teal: var(--success);
  --teal-weak: var(--success-soft);
  --amber: var(--warn);
  --amber-weak: var(--warn-soft);

  --radius: 9px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(13, 21, 35, .04), 0 12px 28px -18px rgba(13, 21, 35, .22);
  --shadow-lg: 0 2px 4px rgba(13, 21, 35, .05), 0 30px 60px -30px rgba(13, 21, 35, .3);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur-1: 180ms;
  --dur-2: 280ms;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Roboto Mono", ui-monospace, Menlo, Consolas, "Courier New", monospace;

  --gutter: clamp(18px, 3vw, 40px);
  --page-max: 1280px;
  /* 正文列宽：按「一行多少字」对齐工具页（680 / 14px ≈ 48 汉字，760 / 16px ≈ 47 汉字），
     不按像素对齐；ch 会随字号漂移，所以这里用 px token。 */
  --measure: 680px;
  --head-h: 62px;
  --fs-body: clamp(14.5px, .1vw + 13.4px, 15.5px);
  --hair: 1px;
}

/* ---------- 夜间令牌 ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e9f0f7;
  --ink-2: #cfdae7;
  --muted: #a2b3c6;
  --muted-2: #8598ae;
  --line: #1b2a3d;
  --line-strong: #273a51;
  --bg: #0b1220;
  --bg-soft: #0f1b2b;
  --bg-softer: #0d1726;
  --surface: #0f1b2b;
  --accent: var(--brand-300);
  --accent-hover: var(--brand-200);
  --accent-weak: rgba(90, 142, 242, .14);
  --accent-line: rgba(90, 142, 242, .3);
  --accent-solid: var(--brand-500);
  --price: #f0c777; /* 与首页暗色 --price: var(--gold-300) 保持一致 */
  --teal: #4fcfb4;
  --teal-weak: rgba(79, 207, 180, .12);
  --amber: #e0b072;
  --amber-weak: rgba(224, 176, 114, .12);
  --success-soft: rgba(79, 207, 180, .12); --success: #4fcfb4; --success-deep: #7ee2c4;
  --warn-soft: rgba(224, 176, 114, .12);   --warn: #e0b072;   --warn-deep: #f0c777;
  --danger-soft: rgba(240, 138, 122, .12); --danger: #f08a7a; --danger-deep: #ffb3a6;
  --info-soft: rgba(90, 142, 242, .14);    --info: #8ab2f7;   --info-deep: #b8d1fb;
  --neutral-soft: rgba(162, 179, 198, .1); --neutral: #a2b3c6;
  --shadow: 0 0 0 1px var(--line-strong);
  --shadow-lg: 0 0 0 1px var(--line-strong), 0 30px 60px -34px rgba(0, 0, 0, .7);
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  :root { --hair: .5px; }
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sm { width: 16px; height: 16px; }
.icon-xs { width: 13px; height: 13px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--page-max); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- 顶部导航 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-head__inner {
  min-height: var(--head-h);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand__mark {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--brand-600);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: inset 0 -7px 12px rgba(0, 0, 0, .18);
}
.brand__mark .icon { width: 19px; height: 19px; stroke-width: 1.9; }
.brand__text { font-size: 18px; font-weight: 700; letter-spacing: .01em; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.brand__sub { font-size: 9.5px; font-weight: 500; letter-spacing: .12em; color: var(--muted-2); font-family: var(--mono); }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 4px; min-width: 0; }
.site-nav a {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.site-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.head-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: color var(--dur-1), border-color var(--dur-1), background var(--dur-1);
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-weak); }
.icon-btn .icon { width: 18px; height: 18px; }

.cart-btn {
  position: relative;
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px;
  transition: color var(--dur-1), border-color var(--dur-1), background var(--dur-1);
}
.cart-btn:hover { border-color: var(--accent-line); color: var(--accent); background: var(--accent-weak); }
.cart-btn .icon { width: 17px; height: 17px; }
.cart-count {
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px;
  background: var(--accent-solid);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
html[data-theme="dark"] .cart-count { color: #06132a; }

/* ---------- 页头 ---------- */
.page-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 78%);
  padding: clamp(24px, 4vw, 52px) 0 clamp(22px, 3vw, 38px);
}
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-2); margin-bottom: clamp(18px, 2.4vw, 28px); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .icon { width: 12px; height: 12px; opacity: .6; }
.crumbs span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 56px); align-items: end; }
.kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--line-strong); }
.page-hero h1 {
  font-size: clamp(30px, 2.4vw + 16px, 46px);
  line-height: 1.22;
  letter-spacing: -.02em;
  font-weight: 650;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero__lead { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.85; max-width: var(--measure); }
.page-hero__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 25px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.chip b { color: var(--ink-2); font-weight: 600; }
.chip--teal { border-color: rgba(10, 143, 128, .3); background: var(--success-soft); color: var(--success-deep); }
.chip--amber { border-color: rgba(168, 106, 18, .3); background: var(--warn-soft); color: var(--warn-deep); }
.chip .dot-sm { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.hero-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
}
.hero-note__title { font-size: 12px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.hero-note__title .icon { width: 15px; height: 15px; color: var(--accent); }
.hero-note ul { display: grid; gap: 5px; }
.hero-note li { font-size: 12px; color: var(--muted); line-height: 1.7; display: flex; gap: 6px; }
.hero-note li::before { content: "·"; color: var(--muted-2); }
.hero-note .placeholder-note { margin-top: 8px; }

.jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: clamp(20px, 3vw, 30px); }
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  font-size: 12.5px;
  color: var(--ink-2);
  transition: border-color var(--dur-1), color var(--dur-1), background var(--dur-1);
}
.jump a:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-weak); }
.jump .icon { width: 14px; height: 14px; color: var(--muted-2); }
.jump .mini-badge { font-size: 10px; color: var(--warn); border: 1px solid rgba(168, 106, 18, .3); border-radius: 3px; padding: 0 4px; line-height: 15px; }

/* ---------- 产品线列表 ---------- */
.catalog { padding-bottom: clamp(40px, 6vw, 80px); }
.cat {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2vw, 20px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--head-h) + 14px);
}
.cat:last-child { border-bottom: 0; }
.cat__head { display: flex; align-items: flex-start; gap: 13px; min-width: 0; }
.cat__icon {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 10px;
  border: 1px solid var(--accent-line);
  background: var(--accent-weak);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.cat__icon .icon { width: 22px; height: 22px; }
.cat__title-wrap { min-width: 0; flex: 1; }
.cat__title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cat__title-row h2 { font-size: clamp(19px, .5vw + 16px, 23px); line-height: 1.35; letter-spacing: -.012em; font-weight: 650; }
.cat__tagline { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.cat__summary { font-size: 14px; color: var(--muted); line-height: 1.8; margin-top: 10px; max-width: var(--measure); }
.cat__cta { flex: none; margin-left: auto; align-self: center; }

.phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 21px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  border: 1px solid transparent;
}
.phase-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.phase-badge--1 { color: var(--success-deep); background: var(--success-soft); border-color: rgba(10, 143, 128, .24); }
.phase-badge--2 { color: var(--warn-deep); background: var(--warn-soft); border-color: rgba(168, 106, 18, .26); }
.phase-badge--3 { color: var(--muted); background: var(--neutral-soft); border-color: var(--line); }
.phase-badge--4 { color: var(--info-deep); background: var(--info-soft); border-color: rgba(11, 87, 208, .24); }

.cat__body { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: clamp(12px, 1.8vw, 20px); min-width: 0; }
.starter {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-softer);
  padding: 16px 17px;
  min-width: 0;
}
.starter__label { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 9px; }
.starter__specs { display: grid; gap: 4px; margin-bottom: 10px; }
.starter__specs li { font-size: 12px; color: var(--ink-2); display: flex; align-items: flex-start; gap: 7px; line-height: 1.6; }
.starter__specs li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 7px; }
.starter__note { font-size: 11px; color: var(--muted-2); line-height: 1.65; border-top: 1px dashed var(--line-strong); padding-top: 8px; margin-bottom: 10px; }
.starter__price { display: flex; align-items: baseline; gap: 3px; flex-wrap: wrap; }

.price { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: -.03em; }
.price i { font-style: normal; font-size: 13px; color: var(--ink-2); font-weight: 500; }
.price b { font-size: clamp(26px, 2vw + 18px, 34px); line-height: 1.1; font-weight: 600; }
.price--sm b { font-size: 20px; }
.price__unit { font-size: 11.5px; color: var(--muted-2); font-family: var(--sans); letter-spacing: 0; margin-left: 2px; }
.placeholder-note { font-size: 10.5px; color: var(--muted-2); line-height: 1.55; display: flex; align-items: flex-start; gap: 4px; }
.placeholder-note::before { content: "※"; color: var(--warn); flex: none; }

.mini-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; }
.mini-plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 13px 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mini-plan--rec { border-color: var(--accent-line); }
.mini-plan__top { display: flex; align-items: center; gap: 5px; min-width: 0; }
.mini-plan__name { font-size: 13.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-plan__spec { font-size: 11px; color: var(--muted-2); line-height: 1.55; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.9em; }
.mini-plan__price { margin-top: auto; display: flex; align-items: baseline; gap: 2px; font-family: var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mini-plan__price b { font-size: 17px; font-weight: 600; color: var(--ink); }
.mini-plan__price i { font-style: normal; font-size: 11px; color: var(--muted-2); }
.tag {
  display: inline-flex; align-items: center; height: 17px; padding: 0 5px;
  border-radius: 3px; background: var(--accent-weak); color: var(--accent);
  font-size: 9.5px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
}
.tag--dns { background: var(--teal-weak); color: var(--teal); }
.tag--free { background: var(--success-soft); color: var(--success-deep); }
.tag--amber { background: var(--amber-weak); color: var(--amber); }
.tag--sold { background: rgba(179, 38, 30, .08); color: #b3261e; }
/* 虚拟主机来源标签：奇异 / 小鸟云 一眼区分 */
.tag--src-q { background: rgba(47, 107, 216, .10); color: #2f6bd8; }
.tag--src-a { background: rgba(126, 87, 194, .12); color: #6f42c1; }

.cat__extra { display: grid; gap: 8px; }
.provider-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 7px;
  background: var(--accent-weak);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.provider-note .icon { width: 14px; height: 14px; color: var(--accent); margin-top: 2px; }
.provider-note b { font-weight: 600; color: var(--ink); }
.disclosures { display: grid; gap: 7px; }
.disclosure {
  padding: 10px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}
.disclosure b { display: block; color: var(--ink-2); font-size: 11.5px; margin-bottom: 2px; }
.disclosure p { margin: 0; }

.cat[data-phase="phase-2"] .cat__icon { border-color: rgba(168, 106, 18, .3); background: var(--warn-soft); color: var(--warn); }
.cat[data-phase="phase-2"] .mini-plan--rec { border-color: var(--line); }
.cat[data-phase="phase-2"] .cat__cta { color: var(--muted); }
.cat[data-phase="phase-2"] .cat__cta:hover { color: var(--accent); }

.coming-note {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 11.5px; line-height: 1.65; color: var(--warn-deep);
  background: var(--warn-soft); border: 1px solid rgba(168, 106, 18, .22);
  border-radius: 7px; padding: 8px 11px;
}
.coming-note .icon { width: 14px; height: 14px; margin-top: 2px; flex: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--dur-1) var(--ease), border-color var(--dur-1), color var(--dur-1), transform 120ms;
  text-decoration: none;
}
.btn:active:not([disabled]) { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--accent-solid); color: #fff; }
html[data-theme="dark"] .btn--primary { color: #eef4fe; }
.btn--primary:hover:not([disabled]) { background: var(--accent-hover); }
html[data-theme="dark"] .btn--primary:hover:not([disabled]) { background: var(--brand-400); }
.btn--ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink-2); }
.btn--ghost:hover:not([disabled]) { border-color: var(--accent); color: var(--accent); }
.btn--block { width: 100%; }
.btn--sm { height: 34px; padding: 0 12px; font-size: 12.5px; border-radius: 7px; }
.btn--lg { height: 48px; font-size: 14.5px; }
.btn .icon { width: 15px; height: 15px; }
.btn--primary.is-busy { pointer-events: none; }

/* 二期禁售按钮 */
.btn--soon, .btn--soon:hover,
[data-xc="sub"] .btn.btn--soon, [data-xc="sub"] .btn.btn--soon:hover { background: var(--warn-soft); color: var(--warn-deep); border-color: rgba(168, 106, 18, .26); opacity: 1; cursor: not-allowed; }

/* ---------- 选购页 ---------- */
.detail-hero { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-soft), var(--bg)); padding: clamp(20px, 3vw, 34px) 0 clamp(20px, 2.6vw, 30px); }
.detail-hero__inner { display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 20px); min-width: 0; }
.detail-hero .cat__icon { width: 50px; height: 50px; border-radius: 12px; }
.detail-hero .cat__icon .icon { width: 26px; height: 26px; }
.detail-hero h1 { font-size: clamp(26px, 1.6vw + 18px, 36px); line-height: 1.25; letter-spacing: -.018em; font-weight: 650; }
.detail-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 8px; }
.detail-hero__lead { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.8; max-width: var(--measure); }

/* 选购页（noindex）紧凑标题：一行放下图标、产品名、状态与返回入口，首屏优先露配置与价格 */
.detail-hero--buy { padding: clamp(10px, 1.4vw, 18px) 0 clamp(10px, 1.2vw, 16px); }
.detail-hero--buy .crumbs { margin-bottom: clamp(8px, 1vw, 12px); }
.detail-hero--buy .detail-hero__inner { align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.detail-hero--buy .cat__icon { width: 38px; height: 38px; border-radius: 10px; }
.detail-hero--buy .cat__icon .icon { width: 20px; height: 20px; }
.detail-hero--buy h1 { font-size: clamp(20px, 1.1vw + 16px, 26px); }
.detail-hero--buy .detail-hero__meta { margin-top: 0; gap: 6px; }
.detail-hero__back {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; color: var(--muted); text-decoration: none; white-space: nowrap;
}
.detail-hero__back .icon { width: 13px; height: 13px; opacity: .7; }
.detail-hero__back:hover { color: var(--accent); }

.buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: clamp(16px, 2.6vw, 34px);
  align-items: start;
  padding-top: clamp(20px, 3vw, 34px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.config { display: grid; gap: 14px; min-width: 0; }
.group {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(15px, 1.8vw, 22px);
  min-width: 0;
}
.group__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.group__label { font-size: 14px; font-weight: 650; color: var(--ink); }
.group__hint { font-size: 11.5px; color: var(--muted-2); }
.choices { display: grid; gap: 8px; min-width: 0; }
.choices--cards { grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); }
.choices--seg { display: flex; flex-wrap: wrap; }

.choice {
  position: relative;
  text-align: left;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--bg);
  padding: 12px 13px;
  min-width: 0;
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1), box-shadow var(--dur-1);
  display: block;
}
.choice:hover { border-color: var(--accent); background: var(--surface); }
.choice[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-weak);
  box-shadow: 0 0 0 2px var(--accent-weak);
}
html[data-theme="dark"] .choice[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--accent); }
.choices--seg .choice { padding: 8px 12px; border-radius: 7px; height: 36px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.choice__top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.choice__name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.choice__spec { font-size: 11.5px; color: var(--muted-2); line-height: 1.6; margin-top: 3px; }
.choice__price { margin-top: 7px; font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.choice__price b { color: var(--ink-2); font-weight: 600; font-size: 14px; }
.choice__price .unit { font-family: var(--sans); color: var(--muted-2); font-size: 10.5px; }
/* 已售完：仍可选中看价，只是收起购买入口 */
.choice--soldout .choice__price { color: var(--muted-2); }
.choice--soldout .choice__price b { color: var(--muted); }
.choice__hint { font-size: 10.5px; color: var(--success); margin-top: 2px; }
.choice__tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.choices--seg .choice__price { margin: 0; font-size: 11px; padding-left: 2px; }

.group__note {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 7px;
  background: var(--bg-soft);
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.7;
}
.group__note b { color: var(--ink-2); font-weight: 600; }

/* 标题右侧的说明文字：不换行到标题下面，窄屏时自身折行 */
.group__head--hint { flex-wrap: nowrap; }
.group__head--hint .group__label { flex: none; white-space: nowrap; }
.group__hint { min-width: 0; font-size: 11.5px; font-weight: 400; color: var(--muted); line-height: 1.5; }

/* ---------- SSL 证书选购：卡片回到改版前的窄卡密度 ----------
   基准栅格（.choices--cards：auto-fit 178 起 / 卡间距 8 / 卡内距 12·13 / 圆角 9）不在本页覆盖；
   上一版按 7e 改成一行 2 张，宽屏下单卡会被撑到 475px 以上，密度过稀，这里撤掉。
   分组留白仍按 7e 收紧（组间距 12 / 组内距 18·22），不影响卡片宽度 */
body[data-category="ssl"] .config { gap: 12px; }
body[data-category="ssl"] .group { padding: 18px 22px; }
/* 品牌下暂无可售：保留按钮位置，置灰并标注，不参与点击 */
body[data-category="ssl"] .choices--seg .choice[disabled] { opacity: .45; cursor: not-allowed; background: var(--bg-softer); }
body[data-category="ssl"] .choices--seg .choice[disabled]:hover { border-color: var(--line-strong); background: var(--bg-softer); }
/* 免费品牌（Let's Encrypt）：绿色描边与付费品牌区分，选中后同样走绿色 */
body[data-category="ssl"] .choices--seg .choice--free { border-color: rgba(10, 143, 128, .34); }
body[data-category="ssl"] .choices--seg .choice--free:hover { border-color: var(--success); }
body[data-category="ssl"] .choices--seg .choice--free[aria-pressed="true"] {
  border-color: var(--success);
  background: var(--success-soft);
  box-shadow: 0 0 0 2px var(--success-soft);
}

/* 方案类型筛选：全部 / 免费 / 收费 */
.plan-filter {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  padding: 12px 14px;
  margin-bottom: 10px;
}
.plan-filter__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.plan-filter__label { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-right: 2px; }
.plan-filter__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1), color var(--dur-1);
}
.plan-filter__chip:hover { border-color: var(--accent); color: var(--ink-2); }
.plan-filter__chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-weak); color: var(--accent); font-weight: 650; }
.plan-filter__chip em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); }
.plan-filter__chip[aria-pressed="true"] em { color: var(--accent); }
.plan-filter__clear { font-size: 11.5px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; padding: 0 2px; }
.plan-filter__state { margin-top: 8px; font-size: 11.5px; color: var(--muted-2); line-height: 1.6; }

.notes-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-softer);
  padding: 15px 17px;
}
.notes-card h2 { font-size: 13px; font-weight: 650; color: var(--ink-2); display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.notes-card h2 .icon { width: 15px; height: 15px; color: var(--muted-2); }
.notes-card ul { display: grid; gap: 6px; }
.notes-card li { font-size: 11.5px; color: var(--muted); line-height: 1.7; display: flex; gap: 7px; }
.notes-card li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); flex: none; margin-top: 7px; }

/* 右侧结算卡 */
/* 父网格 align-items:start 会让 aside 高度=内容高度，sticky 没有滚动行程；
   这里强制撑满整行，右侧摘要才能跟着页面走 */
.summary { min-width: 0; align-self: stretch; }
.summary__in {
  position: sticky;
  top: calc(var(--head-h) + 16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(16px, 1.8vw, 22px);
}
.summary__label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.summary__lines { display: grid; gap: 7px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong); }
.summary__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 12.5px; min-width: 0; }
.summary__line span { color: var(--muted); flex: none; }
.summary__line b { color: var(--ink-2); font-weight: 550; text-align: right; overflow-wrap: anywhere; }
.summary__price { padding: 13px 0 4px; }
.summary__total { display: flex; align-items: baseline; gap: 2px; color: var(--ink); font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.summary__total i { font-style: normal; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.summary__total b { font-size: clamp(30px, 2.2vw + 20px, 38px); line-height: 1.1; font-weight: 600; }
.summary__total span { font-family: var(--sans); font-size: 11.5px; color: var(--muted-2); letter-spacing: 0; margin-left: 3px; }
.summary__total--quote { font-family: var(--sans); font-size: 22px; color: var(--warn-deep); letter-spacing: 0; }
.summary__sub { font-size: 11.5px; color: var(--muted-2); margin-top: 4px; line-height: 1.6; }
.summary__sub b { color: var(--ink-2); font-weight: 600; font-family: var(--mono); }
.summary__save { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--success-deep); background: var(--success-soft); border-radius: 4px; padding: 1px 6px; margin-top: 6px; }

.qty { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 13px 0 12px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.qty__label { font-size: 12.5px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 7px; overflow: hidden; background: var(--bg); }
.stepper button { width: 30px; height: 30px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; }
.stepper button:hover:not([disabled]) { background: var(--accent-weak); color: var(--accent); }
.stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.stepper button .icon { width: 12px; height: 12px; }
.stepper input { width: 38px; height: 30px; padding: 0; border: 0; border-inline: 1px solid var(--line); background: transparent; text-align: center; font-family: var(--mono); font-size: 12.5px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.summary .btn--block + .btn--block { margin-top: 8px; }
.summary__actions { display: grid; gap: 8px; }
.summary .placeholder-note { margin-top: 10px; }
.summary__points { margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line-strong); display: grid; gap: 5px; }
.summary__points li { display: flex; align-items: flex-start; gap: 6px; font-size: 11px; color: var(--muted-2); line-height: 1.6; }
.summary__points .icon { width: 13px; height: 13px; color: var(--teal); margin-top: 2px; }

/* ---------- 空状态 ---------- */
.state-wrap { padding: clamp(40px, 8vw, 100px) 0; }
.state-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
}
.state-card__icon {
  width: 54px; height: 54px; margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-soft);
  color: var(--muted-2);
}
.state-card__icon .icon { width: 26px; height: 26px; }
.state-card h1 { font-size: 22px; font-weight: 650; letter-spacing: -.01em; }
.state-card p { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.state-card .btn { margin-top: 18px; }
.state-code { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted-2); margin-bottom: 8px; }

/* ---------- 购物车抽屉 ---------- */
.backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(8, 18, 31, .45);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-2) var(--ease), visibility var(--dur-2);
}
.backdrop.is-open { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 60;
  width: min(400px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--dur-2) var(--ease), visibility var(--dur-2);
}
.cart-drawer.is-open { transform: translateX(0); visibility: visible; }
.cart-head {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.cart-head h2 { font-size: 15px; font-weight: 650; }
.cart-head .cart-count { margin-left: auto; }
.cart-close {
  width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 7px;
  background: var(--surface); color: var(--muted); display: grid; place-items: center;
}
.cart-close:hover { color: var(--accent); border-color: var(--accent-line); }
.cart-close .icon { width: 15px; height: 15px; }

.cart-body { flex: 1; overflow-y: auto; padding: 14px 18px; min-height: 0; }
.cart-empty { padding: 54px 10px; text-align: center; color: var(--muted-2); }
.cart-empty .icon { width: 34px; height: 34px; margin: 0 auto 12px; opacity: .45; }
.cart-empty p { font-size: 13px; }
.cart-empty span { display: block; font-size: 11.5px; margin-top: 4px; }

.cart-list { display: grid; gap: 10px; }
.cart-item {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  padding: 11px 12px;
}
.cart-item.is-disabled { border-style: dashed; background: var(--bg); }
.cart-item.is-disabled .cart-item__name { color: var(--ink-2); }
.cart-item__top { display: flex; align-items: flex-start; gap: 8px; }
.cart-item__name { font-size: 13px; font-weight: 600; color: var(--ink); min-width: 0; flex: 1; }
.cart-item__name span { display: block; font-size: 11.5px; color: var(--muted-2); font-weight: 400; margin-top: 2px; line-height: 1.55; }
.cart-item__remove {
  width: 24px; height: 24px; flex: none; border: 0; border-radius: 5px;
  background: transparent; color: var(--muted-2); display: grid; place-items: center;
}
.cart-item__remove:hover { color: var(--danger); background: var(--danger-soft); }
.cart-item__remove .icon { width: 13px; height: 13px; }
.cart-item__bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line); }
.cart-item__price { font-family: var(--mono); font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cart-item__price i { font-style: normal; font-size: 10.5px; color: var(--muted-2); }

.cart-foot {
  flex: none;
  border-top: 1px solid var(--line);
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  background: var(--bg);
}
.cart-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.cart-total span { font-size: 12.5px; color: var(--muted); }
.cart-total b { font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.cart-total b i { font-style: normal; font-size: 12px; color: var(--muted-2); }
.cart-foot .placeholder-note { margin-top: 8px; }
.cart-foot .btn { margin-top: 2px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 80;
  transform: translate(-50%, 12px);
  opacity: 0;
  visibility: hidden;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 12.5px;
  line-height: 1.55;
  box-shadow: var(--shadow-lg);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), visibility var(--dur-2);
  text-align: center;
}
html[data-theme="dark"] .toast { background: #e9f0f7; color: #0b1220; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 数据加载失败 ---------- */
.data-error {
  margin: clamp(24px, 4vw, 48px) 0;
  border: 1px solid rgba(192, 57, 43, .25);
  border-radius: var(--radius-lg);
  background: var(--danger-soft);
  color: var(--danger-deep);
  padding: 20px 22px;
  font-size: 13px;
  line-height: 1.8;
}
.data-error b { display: block; font-size: 14px; margin-bottom: 4px; }

/* ---------- 页脚 ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 22px 0; }
.site-foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font-size: 11.5px; color: var(--muted-2); }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--accent); }
.site-foot__spacer { margin-left: auto; }

/* ---------- 响应式：≤ 64em（820 档附近） ---------- */
@media (max-width: 64em) {
  .page-hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 18px; }
  .hero-note { max-width: 560px; }
  .buy { grid-template-columns: minmax(0, 1fr); }
  .summary__in { position: static; padding: 16px; }
  .mini-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 响应式：≤ 48em（768 / 390 档） ---------- */
@media (max-width: 48em) {
  :root { --head-h: 56px; }
  .brand__sub { display: none; }
  .site-nav a { padding: 6px 7px; font-size: 12.5px; }
  .cart-btn { padding: 0 9px; }
  .cat__head { flex-wrap: wrap; }
  .cat__cta { margin-left: 0; order: 3; width: 100%; }
  .cat__icon { width: 38px; height: 38px; }
  .cat__icon .icon { width: 20px; height: 20px; }
  .cat__body { grid-template-columns: minmax(0, 1fr); }
  .starter { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; }
  .starter__label, .starter__specs, .starter__note { grid-column: 1 / -1; }
  .starter__price { align-self: end; }
  .starter .placeholder-note { grid-column: 1 / -1; }
  .mini-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .choices--cards { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .detail-hero .cat__icon { width: 44px; height: 44px; }
}

@media (max-width: 30em) {
  .site-nav a[href$="user-center/index.html"] { display: none; }
  .jump { gap: 5px; }
  .jump a { height: 30px; padding: 0 9px; font-size: 12px; }
  .mini-plans { grid-template-columns: minmax(0, 1fr); }
  .mini-plan__spec { min-height: 0; }
  .cat__title-row { gap: 6px; }
  .choices--cards { grid-template-columns: minmax(0, 1fr); }
  .cart-drawer { width: 100%; border-left: 0; }
  .summary__total b { font-size: 32px; }
  .starter { grid-template-columns: minmax(0, 1fr); }
  .starter__price { grid-column: 1 / -1; }
  .detail-hero__inner { flex-direction: column; }
  .detail-hero--buy .detail-hero__inner { flex-direction: row; align-items: center; }
  .detail-hero--buy .detail-hero__back { margin-left: 0; }
  .site-foot__spacer { margin-left: 0; }
}

/* ---------- 减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 产品介绍页（静态 SEO 层） ---------- */
.intro-hero { padding-bottom: clamp(28px, 3vw, 48px); }
.intro-hero .page-hero__lead { max-width: var(--measure); }
.intro-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: clamp(14px, 1.8vw, 22px); font-size: 12px; color: var(--muted-2); }
.intro-price .price b { font-size: clamp(24px, 2vw, 32px); }
.intro-price__label { font-size: 12px; color: var(--muted); }
.intro-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(16px, 2vw, 24px); }
.intro-spec { align-self: stretch; }
.intro-spec__list { display: grid; gap: 6px; margin-top: 2px; }
.intro-spec__list li { font-size: 14px; color: var(--muted); display: flex; gap: 7px; line-height: 1.65; }
.intro-spec__list li::before { content: "·"; color: var(--accent); flex: none; }
.intro-spec__note { margin-top: 10px; font-size: 12px; color: var(--muted-2); line-height: 1.7; }
.intro-spec__price { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.intro-spec__price .price b { font-size: 20px; }

/* ---------- 服务承诺条 ---------- */
.promises { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.promises__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.promise { min-height: 42px; display: flex; flex-direction: column; gap: 2px; padding-left: 12px; border-left: 2px solid var(--accent-line); }
.promise b { font-size: 15px; font-weight: 650; }
.promise span { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- 域名格式查询（一期仅校验，不含可用性接口） ---------- */
.domain-check-wrap { padding-top: clamp(34px, 4vw, 58px); }
/* 查询区块 → 下方「配置对比」：main.intro 自带 padding-top 会叠在区块底部留白之上
   （改前 1280 顶 51.2 / 底 41+51.2=92.1），只在含查询区块的页面取消这段额外留白，
   底部只剩区块自身的 padding-bottom，与顶部留白等量，其余页面 .intro 不受影响。 */
.domain-check-wrap ~ .intro { padding-top: 0; }
/* 域名查询区整体居中：该段 HTML 由 build-product-pages.js 生成，只在此用 CSS 调整。
   子站样式 site-chrome.css 在本文件之后加载，故这里用两个类名提高优先级，避免被 reset 覆盖 */
.intro-sec.domain-check { text-align: center; padding-bottom: clamp(34px, 4vw, 58px); }
.intro-sec.domain-check h2 { font-size: clamp(24px, 2.1vw, 30px); }
.domain-check .intro-sec__lead { margin-inline: auto; max-width: 760px; margin-top: 10px; margin-bottom: 20px; font-size: 15px; text-wrap: balance; }
.domain-check__form { margin-inline: auto; }
.domain-check__suffix { justify-content: center; }
.domain-check__form { display: flex; align-items: stretch; gap: 12px; margin-top: 24px; max-width: 820px; }
.domain-check__form input { flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); font-size: 16px; }
.domain-check__form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-weak); }
/* 按钮与输入框同高：子站 .btn 默认 38px，这里只在查询表单内放大 */
.domain-check .domain-check__form .btn { height: 56px; min-width: 128px; padding: 0 28px; border-radius: 10px; font-size: 16px; }
.domain-check__suffix { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted-2); }
.domain-check__suffix b { font-family: var(--mono); font-weight: 500; padding: 3px 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--bg-soft); color: var(--muted); }
.domain-check__status { margin-top: 14px; font-size: 13.5px; line-height: 1.7; min-height: 24px; }
/* 状态行无文案时不留占位高度：否则这 14+24px 会叠进区块底部，使「查询区块 → 配置对比」的
   视觉间距比顶部大近 40px。出现提示文案时恢复占位，底部留白不受影响。 */
.domain-check__status:empty { margin-top: 0; min-height: 0; }
.domain-check__status.is-error { color: var(--danger); }
.domain-check__status.is-info { color: var(--info); }

.intro { padding-top: clamp(28px, 3.2vw, 52px); padding-bottom: clamp(36px, 4vw, 68px); }

/* 品类页封面：示意图，非实拍 */
.intro-illus { padding-top: clamp(20px, 2.4vw, 34px); }
/* 固定深色底板：不跟随明暗主题，浅色主题下是一块刻意设计的内容卡，避免白底上出现裸黑图 */
.intro-illus figure {
  position: relative; margin: 0; overflow: hidden; padding: 10px;
  border: 1px solid rgba(148, 163, 184, .26); border-radius: 18px; background: #08121f;
  box-shadow: 0 18px 40px -30px rgba(2, 8, 20, .5);
}
.intro-illus picture { display: block; }
.intro-illus img { display: block; width: 100%; height: auto; border-radius: 10px; }
.intro-illus figcaption {
  position: absolute; right: 18px; bottom: 18px;
  padding: 3px 10px; border-radius: 999px; font-size: 11px; line-height: 1.7; color: #cbd8e8;
  background: rgba(8, 18, 31, .72); border: 1px solid rgba(255, 255, 255, .18);
}
.intro-sec { padding: clamp(26px, 3vw, 44px) 0; border-top: 1px solid var(--line); }
.intro-sec:first-child { border-top: 0; padding-top: 0; }
.intro-sec h2 { font-size: clamp(19px, 1.4vw, 25px); letter-spacing: -.01em; }
.intro-sec__lead { margin-top: 6px; margin-bottom: 18px; font-size: 14px; line-height: 1.85; color: var(--muted); max-width: var(--measure); }
.intro-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(20px, 3vw, 44px); align-items: start; margin-top: 12px; }
.prose p { font-size: 14px; line-height: 1.9; color: var(--muted); max-width: var(--measure); }
.prose p + p { margin-top: 10px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.note-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); padding: 16px 18px; }
.note-card h3 { font-size: 15px; margin-bottom: 8px; }
.note-card ul { display: grid; gap: 7px; }
.note-card li { display: flex; gap: 7px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.note-card li::before { content: "·"; color: var(--accent); flex: none; }

.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.scenario-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px 18px; }
.scenario-card h3 { font-size: 15px; margin-bottom: 5px; }
.scenario-card p { font-size: 14px; line-height: 1.75; color: var(--muted); }

/* 变更能力三态：可升可降 / 仅可升配 / 不可变更 */
.capacity[data-change-state="both"] { border-left: 3px solid var(--success); }
.capacity[data-change-state="up-only"] { border-left: 3px solid var(--warn); }
.capacity[data-change-state="locked"] { border-left: 3px solid var(--line-strong); }
.capacity__badge {
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding: 0 7px;
  margin-left: 4px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: 1px;
  white-space: nowrap;
}
.capacity__badge--ok { background: var(--success-soft); color: var(--success-deep); }
.capacity__badge--warn { background: var(--warn-soft); color: var(--warn-deep); }
.capacity__badge--muted { background: var(--neutral-soft); color: var(--neutral); }
.capacity__list { margin-top: 10px; display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.capacity__list li { display: flex; gap: 7px; align-items: flex-start; }
.capacity__list li::before {
  content: "";
  width: 5px; height: 5px;
  margin-top: 8px;
  border-radius: 50%;
  flex: none;
  background: currentColor;
  opacity: .45;
}
.capacity__list .is-on { color: var(--ink-2); }
.capacity__list .is-off { color: var(--muted-2); }
.capacity__list .is-off::before { opacity: .22; }
.capacity__note { margin-top: 12px; font-size: 12.5px; line-height: 1.7; color: var(--muted-2); }
.capacity__note code {
  font-family: var(--mono);
  font-size: 11.5px;
  padding: 1px 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-soft);
}

.spec-table-wrap { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; min-width: 590px; border-collapse: collapse; font-size: 12.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { background: var(--bg-soft); color: var(--ink-2); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.spec-table__price { color: var(--price); font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.spec-table__tags { white-space: nowrap; }
.spec-table .tag + .tag { margin-left: 4px; }
/* 接口商品清单可能上百条：限高滚动，表头吸顶 */
.spec-table-wrap--scroll { max-height: 560px; overflow-y: auto; }
.spec-table-wrap--scroll .spec-table thead th { position: sticky; top: 0; z-index: 1; }
.spec-table td a { color: var(--ink); text-decoration: none; border-bottom: 1px dashed var(--line-strong, var(--line)); }
.spec-table td a:hover { color: var(--brand, var(--teal)); border-bottom-style: solid; }
.spec-table__empty { padding: 18px 15px; color: var(--muted-2); }
.intro-table-note { margin-top: 9px; font-size: 11px; color: var(--muted-2); line-height: 1.6; }

/* 虚拟主机介绍页：套餐对比 / 控制面板支持 两列说明表 */
.cmp-table th:not(:first-child), .cmp-table td:not(:first-child) { min-width: 200px; }

/* 虚拟主机介绍页：组件支持 两栏 */
.cmp-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
@media (max-width: 48em) { .cmp-cols { grid-template-columns: minmax(0, 1fr); } }

/* 虚拟主机介绍页：选型推荐 */
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.pick-card { display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 15px 17px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.pick-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.pick-card__scene { font-size: 12px; color: var(--muted-2); }
.pick-card h3 { font-size: 15px; }
.pick-card p { font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.pick-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.pick-card__price { color: var(--price); font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 600; }
.pick-card__price i { font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted-2); }
.pick-card__meta a { font-size: 13px; color: var(--accent); text-decoration: none; border-bottom: 1px dashed var(--accent-line); }
.pick-card__meta a:hover { border-bottom-style: solid; }

.loc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.loc-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px 16px; }
.loc-card b { display: block; font-size: 15px; margin-bottom: 2px; }
.loc-card span { font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.loc-card__top { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 2px; }
.loc-card__top b { margin-bottom: 0; }
.loc-card__tag {
  display: inline-flex; align-items: center; height: 21px; padding: 0 7px;
  border: var(--hair) solid var(--line-strong); border-radius: 999px;
  background: var(--bg-soft); font-size: 10.5px; font-style: normal; font-weight: 500;
  line-height: 1; color: var(--muted); white-space: nowrap;
}
.loc-card__tag--limit { border-color: rgba(168, 106, 18, .3); background: var(--warn-soft); color: var(--warn-deep); }

.faq { margin-top: 12px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--muted-2); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq p { max-width: var(--measure); padding: 0 0 14px; font-size: 14px; line-height: 1.85; color: var(--muted); }

.link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.link-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 15px 17px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.link-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.link-card b { display: block; font-size: 15px; margin-bottom: 3px; }
.link-card span { font-size: 14px; line-height: 1.65; color: var(--muted); }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: clamp(10px, 1.6vw, 20px); padding: clamp(20px, 2.6vw, 34px); border: 1px solid var(--accent-line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--accent-weak), transparent 90%); }
.cta-band h2 { font-size: clamp(17px, 1.25vw, 21px); }
.cta-band p { margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.cta-band .placeholder-note { margin-top: 6px; }

@media (max-width: 64em) {
  .intro-cols { grid-template-columns: minmax(0, 1fr); }
  .scenario-grid, .link-grid, .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48em) {
  .scenario-grid, .link-grid, .pick-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-band { align-items: flex-start; }
}
@media (max-width: 30em) {
  .loc-grid { grid-template-columns: minmax(0, 1fr); }
  .intro-cta .btn { width: 100%; }
  .promises__in { grid-template-columns: minmax(0, 1fr); }
  .domain-check__form { flex-direction: column; gap: 10px; }
  .domain-check__form input { flex: none; width: 100%; height: 52px; }
  .domain-check__form .btn.btn--primary { width: 100%; height: 52px; min-width: 0; }
}

/* ============================================================
   云服务器配置器 · 单页 SKU 六步
   1 地域 → 2 线路 → 3 CPU 与内存 → 4 带宽 → 5 更多选项 → 6 购买时长
   ============================================================ */
/* 每段之间留明显竖向间距，避免「地域下面紧贴线路」 */
.config--steps { gap: 22px; }

/* 折叠区（第 4 步带宽 / 第 5 步更多选项）：标题保留编号 + 数量摘要 */
.cfg-fold > summary .cfg-step__no { font-size: 11px; font-weight: 400; color: #fff; background: var(--accent); }
.cfg-fold > summary .cfg-step__hint { font-size: 11px; font-weight: 400; color: var(--muted-2); }
.cfg-fold__body { padding: 0 14px 4px; }
.cfg-fold__body .cfg-bwro { margin-bottom: 10px; }

/* 第 6 步折扣标识：只有后端价格策略给了系数才渲染 */
.cfg-dur__badge {
  flex: none; display: inline-flex; align-items: center; height: 18px; padding: 0 6px;
  border-radius: 999px; background: rgba(179, 38, 30, .1); color: #b3261e;
  font-size: 10.5px; font-weight: 650; letter-spacing: .02em;
}

.cfg-step__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.cfg-step__no { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 11px; }
.cfg-step__label { font-size: 14px; font-weight: 650; color: var(--ink); }
.cfg-step__hint { font-size: 11px; color: var(--muted-2); }

.cfg-grid { display: grid; gap: 8px; }
.cfg-grid--region { grid-template-columns: repeat(auto-fit, minmax(198px, 1fr)); }
.cfg-grid--spec { grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); }
.cfg-grid--dur { grid-template-columns: repeat(auto-fit, minmax(146px, 1fr)); }
.cfg-opt { display: grid; gap: 4px; align-content: start; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--bg); text-align: left; transition: border-color var(--dur-1) var(--ease), background var(--dur-1); }
.cfg-opt:hover { border-color: var(--accent); background: var(--surface); }
.cfg-opt[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-weak); box-shadow: inset 0 0 0 1px var(--accent); }
.cfg-opt__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cfg-opt__top b { font-size: 13px; color: var(--ink); font-weight: 600; }
.cfg-opt__fam { flex: none; font-size: 10px; color: var(--accent); background: var(--accent-weak); border-radius: 999px; padding: 1px 7px; }
.cfg-opt[aria-pressed="true"] .cfg-opt__fam { background: var(--surface); }
.cfg-opt--soldout .cfg-opt__fam { color: #b3261e; background: rgba(179, 38, 30, .08); }
.cfg-opt--soldout .cfg-opt__price { color: var(--muted); }
.cfg-opt__desc { font-size: 11px; line-height: 1.55; color: var(--muted); }
.cfg-opt__price { font-family: var(--mono); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cfg-opt__price span { font-family: var(--sans); font-size: 10.5px; color: var(--muted-2); margin-left: 3px; }
.cfg-opt--dur .cfg-opt__price { color: var(--price); }
.cfg-opt__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.chip--sm { height: 21px; padding: 0 7px; font-size: 10.5px; }

.cfg-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.cfg-tags__label { font-size: 11.5px; color: var(--muted-2); margin-right: 2px; min-width: 44px; }
.cfg-tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 12px; color: var(--muted); }
.cfg-tag span { font-family: var(--mono); font-size: 10px; color: var(--muted-2); }
.cfg-tag:hover { border-color: var(--accent); }
.cfg-tag[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }
.cfg-tag[aria-pressed="true"] span { color: rgba(255, 255, 255, .82); }

/* 服务器托管加购：带宽 / IP / 防护 / 操作系统，档位全部来自上游 spec.addons */
.addon-row { align-items: flex-start; row-gap: 6px; }
.addon-row__unit { font-size: 11.5px; color: var(--muted); }
.addon-row__hint { flex-basis: 100%; font-size: 11px; line-height: 1.55; color: var(--muted-2); }
.addon-row__manual { font-size: 12px; color: var(--ink-2); }
.stepper--addon { height: 30px; }
.stepper--addon input { width: 58px; }
.addon-select {
  height: 32px; max-width: 260px; padding: 0 28px 0 10px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--ink); font-size: 12px;
}
.group--addon .group__head { margin-bottom: 8px; }
.vhost-filter { display: grid; gap: 10px; margin-bottom: 14px; }
.vhost-filter__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: start; }

.cfg-opt__price--quote { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.cfg-opt__price--alt { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.cfg-fixbw {
  display: inline-block; margin-left: 2px; color: var(--accent);
  border-bottom: 1px dashed currentColor; cursor: pointer;
}
.cfg-fixbw:hover { color: var(--accent-hover); }

/* 带宽只读条：随规格自动跟随，不可点选 */
.cfg-bwro {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  margin: 0 0 14px; padding: 8px 12px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  background: var(--bg-soft); font-size: 12px; color: var(--ink-2);
}
.cfg-bwro .icon { width: 14px; height: 14px; color: var(--muted-2); flex: none; }
.cfg-bwro b { font-family: var(--mono); color: var(--accent); }
.cfg-bwro em { font-style: normal; font-size: 10.5px; color: var(--muted-2); }

.cfg-sysdisk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.cfg-sysdisk__name { font-size: 12px; color: var(--muted); }
.cfg-sysdisk b { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.cfg-sysdisk__tag { font-size: 10.5px; color: var(--muted-2); }

.cfg-fixed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px 12px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.cfg-fixed__name { font-size: 12px; color: var(--muted); }
.cfg-fixed b { font-size: 12.5px; color: var(--ink-2); }
.cfg-fixed__tag { margin-left: auto; font-size: 10.5px; color: var(--muted-2); }
.cfg-note { margin-top: 8px; font-size: 10.5px; line-height: 1.65; color: var(--muted-2); }

.cfg-adv { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.cfg-adv > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 12px 14px; cursor: pointer; list-style: none; }
.cfg-adv > summary::-webkit-details-marker { display: none; }
.cfg-adv > summary span { font-size: 13px; font-weight: 650; color: var(--ink-2); }
.cfg-adv > summary em { font-style: normal; font-size: 11px; color: var(--muted-2); }
.cfg-adv > summary::after { content: "展开"; margin-left: auto; font-size: 11px; color: var(--accent); }
.cfg-adv[open] > summary::after { content: "收起"; }
.cfg-adv[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.cfg-adv__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(188px, 1fr)); gap: 10px 14px; padding: 0 14px 4px; }
.cfg-adv__field { display: grid; gap: 5px; font-size: 11.5px; color: var(--muted); }
.cfg-adv__label { color: var(--muted); }
.cfg-adv__hint { font-size: 10.5px; line-height: 1.5; color: var(--muted-2); }
.cfg-adv__fixed { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 1px dashed var(--line-strong); border-radius: 7px; background: var(--bg-soft); }
.cfg-adv__fixed b { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.cfg-adv__field .stepper { justify-self: start; }
.cfg-adv__lock { margin-left: auto; font-size: 10px; color: var(--muted-2); }

/* 自绘下拉：替代原生 select，避免原生弹层受上层变换影响而错位 */
.cfg-select { position: relative; }
.cfg-select__btn { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); font-size: 12px; color: var(--ink-2); text-align: left; cursor: pointer; }
.cfg-select__btn:hover { border-color: var(--line-strong); }
.cfg-select.is-open .cfg-select__btn { border-color: var(--accent); }
.cfg-select__caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--muted); transition: transform .16s ease; }
.cfg-select.is-open .cfg-select__caret { transform: rotate(180deg); }
.cfg-select__menu { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30; display: none; max-height: 224px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); box-shadow: 0 10px 24px rgba(16, 24, 40, .12); }
.cfg-select.is-open .cfg-select__menu { display: block; }
.cfg-select__opt { display: block; width: 100%; padding: 7px 8px; border: 0; border-radius: 5px; background: none; font-size: 12px; color: var(--ink-2); text-align: left; cursor: pointer; }
.cfg-select__opt:hover { background: var(--bg-soft); }
.cfg-select__opt.is-active { background: var(--accent-weak); color: var(--accent); font-weight: 600; }
.cfg-adv > .cfg-note { padding: 0 14px 12px; }

.cfg-rules { padding: 13px 15px; border: 1px solid var(--accent-line); border-radius: var(--radius-lg); background: var(--accent-weak); }
.cfg-rules h2 { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; color: var(--ink-2); margin-bottom: 7px; }
.cfg-rules .icon { width: 14px; height: 14px; color: var(--accent); }
.cfg-rules ul { display: grid; gap: 5px; }
.cfg-rules li { display: flex; gap: 7px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }
.cfg-rules li::before { content: ""; flex: none; width: 4px; height: 4px; margin-top: 8px; border-radius: 50%; background: var(--accent); }

.chip--ok { border-color: rgba(10, 143, 128, .3); background: var(--success-soft); color: var(--success-deep); }
.chip--warn { border-color: rgba(168, 106, 18, .3); background: var(--warn-soft); color: var(--warn-deep); }
.summary__note { display: inline-flex; align-items: center; margin-top: 6px; padding: 1px 6px; border-radius: 4px; background: var(--bg-soft); font-size: 11px; color: var(--muted-2); }

@media (max-width: 48em) {
  .cfg-grid--region { grid-template-columns: minmax(0, 1fr); }
  .cfg-grid--spec, .cfg-grid--dur { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .config--steps { gap: 16px; }
  .cfg-adv__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 移动端：站点导航改为底部栏（产品、帮助等共享页） ---------- */
@media (max-width: 48em) {
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 44;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    margin: 0;
    padding: 5px 8px calc(5px + env(safe-area-inset-bottom, 0px));
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px -24px rgba(13, 21, 35, .55);
  }
  .site-nav a,
  .site-nav a[href$="user-center/index.html"] {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 9px 4px;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
  }
  .site-nav a[aria-current="page"] { background: var(--accent-weak); }
  .site-foot { padding-bottom: 26px; }
}

/* ============================================================
   成品网站入口卡（全部产品页顶部）
   ============================================================ */
.website-entry { margin-top: 18px; }
.website-entry__card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 160% at 100% 0%, var(--accent-weak) 0%, transparent 58%),
    var(--surface);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--dur-1) var(--ease), transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.website-entry__card:hover {
  border-color: var(--accent-line);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(13, 21, 35, .05), 0 20px 40px -24px rgba(13, 21, 35, .3);
}
.website-entry__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--accent-weak);
  color: var(--accent);
}
.website-entry__icon svg { width: 26px; height: 26px; }
.website-entry__main { flex: 1; min-width: 0; display: grid; gap: 6px; }
.website-entry__eyebrow { font-size: 11px; letter-spacing: .1em; color: var(--accent); font-weight: 600; }
.website-entry__title { font-size: 19px; line-height: 1.3; color: var(--ink); }
.website-entry__desc { font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.website-entry__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.website-entry__chips > span {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 11px;
  color: var(--muted);
}
.website-entry__side {
  flex: none;
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}
.website-entry__price { display: flex; align-items: baseline; gap: 3px; color: var(--price, var(--danger)); }
.website-entry__price strong { font-family: var(--mono); font-size: 26px; line-height: 1; letter-spacing: -.02em; }
.website-entry__price span { font-size: 11.5px; color: var(--muted); }
.website-entry__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--accent-solid, var(--accent));
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.website-entry__cta::after { content: "→"; font-weight: 400; }
html[data-theme="dark"] .website-entry__cta { color: #0b1220; }
@media (max-width: 700px) {
  .website-entry__card { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .website-entry__icon { width: 42px; height: 42px; border-radius: 11px; }
  .website-entry__icon svg { width: 22px; height: 22px; }
  .website-entry__main { flex-basis: calc(100% - 54px); }
  .website-entry__title { font-size: 16px; }
  .website-entry__side {
    flex-basis: 100%;
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
    justify-items: start;
    text-align: left;
  }
  .website-entry__price strong { font-size: 22px; }
}
