/* ==========================================================================
   components.css — 按钮、卡片、列表、表格、代码、提示、标签
   形态：大圆角、糖果粉彩、轻浮动
   ========================================================================== */

/* ================================================================ 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), transform 260ms cubic-bezier(.34, 1.4, .64, 1),
              box-shadow var(--t-slow);
}

.btn svg,
.btn .ico { width: 17px; height: 17px; }

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-d);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(47, 107, 78, .72);
}

.btn--ghost {
  background: rgba(255, 255, 255, .78);
  color: var(--ink-deep);
  border: 1px solid var(--line-2);
}

.btn--ghost:hover {
  background: #fff;
  border-color: var(--mint-3);
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  color: var(--accent);
}

.btn--light:hover {
  background: #FFFFFD;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -16px rgba(27, 69, 45, .4);
}

.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .75);
}

.btn--lg { height: 52px; padding: 0 28px; font-size: 15.5px; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}


/* 文字箭头链接 */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent);
}

.arrow-link svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.arrow-link:hover svg { transform: translateX(3px); }

/* ================================================================ 卡片 */

.card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--paper-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  transition: transform 280ms cubic-bezier(.34, 1.4, .64, 1),
              box-shadow var(--t-slow), border-color var(--t-fast);
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--accent);
  margin-bottom: 18px;
  transition: transform 260ms cubic-bezier(.34, 1.5, .64, 1);
}

.card__icon svg { width: 22px; height: 22px; }

/* 图标底色轮换，让网格更活泼 */
.card:nth-child(4n+2) .card__icon { background: var(--peach); color: #A8552E; }
.card:nth-child(4n+3) .card__icon { background: var(--butter); color: #7A6B18; }
.card:nth-child(4n+4) .card__icon { background: var(--sky); color: #2C6188; }

.card__num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--ink-4);
  margin-bottom: 10px;
}

.card__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-deep);
  margin-bottom: 8px;
}

.card__text {
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-3);
}

.card__foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-4);
}

.card--hover:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card--hover:hover .card__icon { transform: scale(1.08) rotate(-4deg); }

.card--flat {
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.card--flat:hover { background: var(--paper-3); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

.card-link svg { width: 15px; height: 15px; }

/* 首页三块主张 */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--radius);
  background: var(--mint);
  min-height: 272px;
  overflow: hidden;
  transition: transform 300ms cubic-bezier(.34, 1.35, .64, 1);
}

.pillar:nth-child(2) { background: var(--peach); }
.pillar:nth-child(3) { background: var(--butter); }

.pillar:hover { transform: translateY(-4px); }

/* 右上角的小圆点装饰 */
.pillar::after {
  content: "";
  position: absolute;
  top: clamp(22px, 2.2vw, 30px);
  right: clamp(22px, 2.2vw, 30px);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .62);
}

.pillar__idx {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(27, 69, 45, .52);
  margin-bottom: clamp(34px, 3.6vw, 50px);
}

.pillar:nth-child(2) .pillar__idx { color: rgba(120, 60, 26, .52); }
.pillar:nth-child(3) .pillar__idx { color: rgba(90, 78, 16, .52); }

.pillar__title {
  font-size: clamp(19px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-deep);
  margin-bottom: 10px;
  max-width: 12em;
}

.pillar:nth-child(2) .pillar__title { color: #6E3413; }
.pillar:nth-child(3) .pillar__title { color: #4A3F0C; }

.pillar__text {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--ink-2);
  margin-top: auto;
}

/* ================================================================ 平台卡 */

.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.plat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast), box-shadow var(--t-slow),
              transform 280ms cubic-bezier(.34, 1.4, .64, 1);
}

.plat:hover {
  border-color: var(--mint-3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* 当前设备对应的卡片，由 site.js 按 UA 打标并提到第一位 */
.plat.is-current {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.plat__head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.plat__badge {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--accent);
  font-family: "Manrope", var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  flex: none;
}

.plat:nth-child(3n+2) .plat__badge { background: var(--peach); color: #A8552E; }
.plat:nth-child(3n+3) .plat__badge { background: var(--butter); color: #7A6B18; }

.plat__name {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink-deep);
  line-height: 1.3;
}

.plat__req {
  font-size: 12.5px;
  color: var(--ink-4);
  line-height: 1.5;
  margin-top: 2px;
}

.plat__body {
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink-3);
  /* 两行正文的高度：同一行的卡片正文长短不一，靠它把按钮压到同一条线上 */
  min-height: 3.44em;
}

.plat__actions {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.plat__hint {
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-4);
  /* 提示长短不一，改成贴底对齐，卡片下沿就齐了 */
  margin-top: auto;
  padding-top: 12px;
}

/* 按钮下面那行：左边教程文字链接，右边包的类型与体积 */
.plat__links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-4);
}

.plat__links a {
  color: var(--ink-2);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.plat__links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* 平台条纹 */
.plat-strip {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.plat-strip__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  padding-block: 16px;
  font-size: 13px;
  color: var(--ink-3);
}

.plat-strip__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.plat-strip__sep { color: var(--line-2); }

/* ================================================================ 步骤 */

.steps { display: grid; gap: 10px; }

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 20px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: background-color var(--t-fast), border-color var(--t-fast);
}

.step:hover { background: #fff; border-color: var(--mint-3); }

.step__n {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
}

.step:nth-child(3n+2) .step__n { background: var(--peach); color: #A8552E; }
.step:nth-child(3n+3) .step__n { background: var(--butter); color: #7A6B18; }

.step__title {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink-deep);
  margin-bottom: 6px;
  line-height: 1.4;
}

.step__body {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.step__body > * + * { margin-top: 10px; }
.step__body ul { display: grid; gap: 6px; }
.step__body li { position: relative; padding-left: 16px; }
.step__body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-line);
}

/* ================================================================ 折叠问答 */

.faq-list { max-width: 940px; display: grid; gap: 8px; }

.faq {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}

.faq[open] { border-color: var(--mint-3); background: #fff; }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-deep);
  cursor: pointer;
  list-style: none;
  line-height: 1.5;
  transition: color var(--t-fast);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:hover { color: var(--accent); }

.faq__sign {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--mint-2);
  transition: background-color var(--t-fast), transform var(--t-slow);
}

.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.8px;
  margin: -0.9px 0 0 -5.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform var(--t-slow), opacity var(--t-fast);
}

.faq__sign::after { transform: rotate(90deg); }

.faq[open] .faq__sign { background: var(--mint); transform: rotate(180deg); }
.faq[open] .faq__sign::after { transform: rotate(0deg); opacity: 0; }

.faq__body {
  padding: 0 22px 22px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.faq__body > * + * { margin-top: 12px; }
.faq__body a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }
.faq__body a:hover { border-bottom-color: var(--accent); }
.faq__body ul { display: grid; gap: 7px; }
.faq__body li { position: relative; padding-left: 17px; }
.faq__body li::before {
  content: "";
  position: absolute;
  left: 2px; top: .74em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-line);
}

/* ================================================================ 表格 */

.table-wrap {
  overflow-x: auto;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.table caption {
  text-align: left;
  padding: 16px 20px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.table th {
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--paper-3);
  padding: 12px 18px;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  line-height: 1.62;
  vertical-align: top;
}

.table tr:last-child td { border-bottom: 0; }

.table tbody tr:hover td { background: color-mix(in srgb, var(--mint) 42%, transparent); }

.table a {
  color: var(--accent);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  transition: border-color var(--t-fast);
}

/* 后缀、日期这些等宽内容不该在中间断行——窄屏交给 .table-wrap 横向滚动 */
.table td.mono { white-space: nowrap; }

/* 产物表：格式与平台只是索引，把宽度让给「用途说明」，否则 .msix 右边空一大片。
   nowrap 必须同时给 td——只给 th 的话「Linux x86_64」会在窄列里断成两行。 */
.table--assets { min-width: 0; }  /* 只有三列，窄屏塞得下，不用跟着 changelog 一起横滑 */

.table--assets th:first-child,
.table--assets th:nth-child(2) { width: 1%; white-space: nowrap; }

.table--assets td:first-child,
.table--assets td:nth-child(2) { white-space: nowrap; }

/* 手机上「Linux x86_64」不折就会把说明列挤到没地方，这里放行折行 */
@media (max-width: 560px) {
  .table--assets td:nth-child(2) { white-space: normal; }
}

.table a:hover { border-bottom-color: currentColor; }

.table strong { color: var(--ink); }

.table code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--paper-3);
  padding: 2px 5px;
  border-radius: 5px;
}

/* ================================================================ 代码块 */

.code {
  background: var(--dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--dark-text);
  font-size: 13px;
}

.code__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--dark-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dark-text-2);
}

.code pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.8px;
  line-height: 1.85;
  color: var(--dark-text);
  -webkit-overflow-scrolling: touch;
}

.code code { font-family: inherit; }

.code--light {
  background: var(--paper-3);
  color: var(--ink);
}

.code--light .code__head {
  border-bottom-color: var(--line);
  color: var(--ink-4);
}

.code--light pre { color: var(--ink); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--dark-line);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--dark-text-2);
  transition: color var(--t-fast), border-color var(--t-fast);
}

.copy-btn:hover { color: #fff; border-color: var(--dark-text-2); }

/* ================================================================ 提示块 */

.note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--paper-3);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
  border-left: 3px solid var(--ink-4);
}

.note > svg { width: 19px; height: 19px; margin-top: 3px; color: var(--ink-3); }

.note__title {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 4px;
}

.note--green {
  background: var(--green-soft);
  border-left-color: var(--accent);
}
.note--green > svg { color: var(--accent); }

.note--warn {
  background: var(--warn-soft);
  border-left-color: var(--warn);
}
.note--warn > svg { color: var(--warn); }
.note--warn .note__title { color: var(--warn); }

.note a { color: var(--accent); border-bottom: 1px solid var(--accent-line); }

/* ================================================================ 标签 */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  background: var(--paper-3);
  color: var(--ink-3);
  white-space: nowrap;
}

.tag--green { background: var(--mint); color: var(--accent); }
.tag--accent { background: var(--accent); color: #fff; }

.tag--dot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* ================================================================ 渠道卡 */

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color var(--t-fast), background-color var(--t-fast),
              transform 260ms cubic-bezier(.34, 1.4, .64, 1);
}

/* 横跨两列的渠道卡：用在「主分流目录」这种比其它渠道更该被点的地方 */
.channel--wide {
  grid-column: 1 / -1;
  background: var(--mint-2);
  border-color: var(--mint-3);
}

.channel--wide .channel__mark { background: #fff; }

.channel--wide:hover {
  background: var(--mint);
  border-color: var(--accent-line);
}

.channel:hover {
  border-color: var(--mint-3);
  background: #fff;
  transform: translateY(-2px);
}

.channel__mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--accent);
  font-family: "Manrope", var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  flex: none;
}

.channel:nth-child(3n+2) .channel__mark { background: var(--peach); color: #A8552E; }
.channel:nth-child(3n+3) .channel__mark { background: var(--sky); color: #2C6188; }

.channel__body { min-width: 0; flex: 1; }

.channel__name {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-deep);
  line-height: 1.4;
}

.channel__url {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-4);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 第二行要写中文说明而不是网址时用这个，等宽字体对中文不友好 */
.channel__url--plain { font-family: var(--font-sans); }

.channel > svg { width: 16px; height: 16px; color: var(--ink-4); flex: none; }

/* ================================================================ CTA 横幅 */

.cta-band {
  padding-block: clamp(12px, 2vw, 24px);
}

.cta-band__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(30px, 3.8vw, 56px);
  background: var(--mint);
  border-radius: var(--radius);
}

.cta-band h2 {
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.24;
  color: var(--ink-deep);
  margin-bottom: 10px;
}

.cta-band p {
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 46ch;
  line-height: 1.7;
}

.cta-band .eyebrow { color: rgba(27, 69, 45, .55); margin-bottom: 14px; }
.cta-band .eyebrow::before { background: var(--accent); }

/* CTA 卡是浅绿底，次要按钮要走深色描边，不能用白字 */
.cta-band .btn--outline-light {
  border-color: rgba(27, 69, 45, .22);
  color: var(--ink-deep);
}

.cta-band .btn--outline-light:hover {
  background: rgba(255, 255, 255, .55);
  border-color: rgba(27, 69, 45, .45);
}

/* ================================================================ 数据条 */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat {
  background: var(--paper-2);
  padding: 24px 22px;
}

.stat__num {
  font-family: "Manrope", var(--font-sans);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink-deep);
  line-height: 1.1;
}

.stat__label {
  font-size: 12.5px;
  color: var(--ink-4);
  margin-top: 6px;
}

/* ================================================================ 版本条 */

.ver-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 12px 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  width: fit-content;
}

.ver-bar__k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.ver-bar__v {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
}

.ver-bar__sep {
  width: 1px;
  height: 13px;
  background: var(--line-2);
}

/* ================================================================ 目录侧栏 */

.doc-aside {
  padding: 20px;
  background: var(--paper-3);
  border-radius: var(--radius-md);
  font-size: 13.5px;
}

.doc-aside__title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 12px;
}

.doc-aside__list { display: grid; gap: 7px; }

.doc-aside__list a {
  display: block;
  color: var(--ink-2);
  padding: 3px 0;
  border-bottom: 1px solid transparent;
}

.doc-aside__list a:hover { color: var(--accent); }

.doc-aside__list a.is-active {
  color: var(--accent);
  font-weight: 600;
}

/* ================================================================ 面包屑 */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-4);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--line-2); }

/* ================================================================ 对比栏 */

.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.compare__col {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.compare__col--bad { background: var(--warn-soft); border-color: var(--warn-line); }
.compare__col--good { background: var(--green-soft); border-color: var(--green-line); }

.compare__head {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-deep);
  margin-bottom: 12px;
}

.compare__list { display: grid; gap: 9px; font-size: 14px; color: var(--ink-2); }
.compare__list li { position: relative; padding-left: 22px; line-height: 1.65; }
.compare__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-4);
}
.compare__col--bad .compare__list li::before { background: var(--warn); }
.compare__col--good .compare__list li::before { background: var(--accent); }

/* ================================================================ 版本条目 */

.entry-grid { display: grid; gap: 4px; }

.entry {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 24px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  transition: background-color var(--t-fast);
}

.entry:hover { background: var(--paper-3); }

.entry__k {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--accent);
  letter-spacing: .02em;
  padding-top: 2px;
}

.entry__t {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-deep);
}

.entry__t svg {
  width: 17px;
  height: 17px;
  color: var(--ink-4);
  transition: transform var(--t-fast), color var(--t-fast);
}

.entry:hover .entry__t svg { transform: translateX(3px); color: var(--accent); }

.entry__d {
  grid-column: 2;
  grid-row: 2;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 62ch;
}

/* ================================================================ 路径展示 */

.path {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  background: var(--paper-3);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-2);
}

/* ================================================================ 手机截图 */

.phone {
  max-width: 340px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 28px 64px -30px rgba(27, 69, 45, .42);
}

.phone img { width: 100%; }

.phone--sm { border-radius: 20px; }

/* ================================================================ 响应式 */

@media (max-width: 1080px) {
  .plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar { min-height: 0; }
  .pillar__idx { margin-bottom: 28px; }
  .plat-grid { grid-template-columns: minmax(0, 1fr); }
  .compare { grid-template-columns: minmax(0, 1fr); }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .card { padding: 22px; }
}

/* ================================================================ 编号特性行 */

.feat {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px 24px;
  padding: 30px 4px;
  border-top: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: background-color var(--t-fast);
}

.feat:last-of-type { border-bottom: 1px solid var(--line); }

.feat:hover { background: color-mix(in srgb, var(--mint) 26%, transparent); }

.feat__num {
  font-family: "Manrope", var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--mint-3);
  padding-top: 3px;
}

.feat__body {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 16px 44px;
  align-items: start;
}

.feat__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}

.feat__title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-deep);
}

.feat__text {
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.82;
  color: var(--ink-2);
}

.feat__text a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-line);
}

.feat__text a:hover { border-bottom-color: var(--accent); }

.feat__text code {
  font-family: var(--font-mono);
  font-size: .88em;
  background: var(--paper-3);
  padding: 2px 5px;
  border-radius: 5px;
  color: var(--ink-deep);
}

/* 两栏说明小列表 */
.stack-sm { display: grid; gap: 10px; }

@media (max-width: 900px) {
  .feat { grid-template-columns: 56px minmax(0, 1fr); padding: 24px 0; }
  .feat__num { font-size: 20px; }
  .feat__body { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

@media (max-width: 560px) {
  .feat { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* ================================================================ 插图带 */

.art-band {
  display: grid;
  grid-template-columns: minmax(0, .38fr) minmax(0, .62fr);
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  padding: clamp(20px, 2.6vw, 36px) clamp(22px, 2.8vw, 40px);
  border-radius: var(--radius);
  background: var(--mint-2);
  overflow: hidden;
  margin-bottom: clamp(28px, 3.4vw, 46px);
}

.art-band img {
  width: 100%;
  height: auto;
  max-height: 330px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 14px 22px rgba(34, 48, 31, .14));
}

.art-band figcaption { min-width: 0; }

.art-band .eyebrow { margin-bottom: 10px; color: rgba(27, 69, 45, .55); }

.art-band__title {
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.018em;
  color: var(--ink-deep);
  margin-bottom: 10px;
}

.art-band__text {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 44ch;
}

/* 变体：薄荷（默认底色，显式声明以便语义清晰） */
.art-band--mint { background: var(--mint-2); }

/* 变体：蜜桃 */
.art-band--peach { background: var(--peach); }
.art-band--peach .eyebrow { color: rgba(120, 60, 26, .55); }
.art-band--peach .eyebrow::before { background: #B15B34; }
.art-band--peach .art-band__title { color: #6E3413; }
.art-band--peach .art-band__text { color: #7C4A2C; }

/* 变体：奶油 */
.art-band--butter { background: var(--butter); }
.art-band--butter .eyebrow { color: rgba(74, 63, 12, .55); }
.art-band--butter .eyebrow::before { background: #8A7615; }
.art-band--butter .art-band__title { color: #4A3F0C; }
.art-band--butter .art-band__text { color: #5E5117; }

@media (max-width: 760px) {
  .art-band {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }
  .art-band img { max-height: 220px; }
}


@media (max-width: 700px) {
  .plat-strip__in { gap: 7px 14px; font-size: 12.5px; }
  .plat-strip__label { width: 100%; }
  .plat-strip__sep { display: none; }
}

/* ================================================================ 行内链接 */
/* 卡片提示、表格、说明文字里的普通链接：细下划线，hover 才变绿 */
.link-line { border-bottom: 1px solid var(--line-2); }
.link-line:hover { border-bottom-color: var(--accent); }

/* ================================================================ 报错处置清单 */
/* 安装页侧栏：症状 + 处置，一条一行，最后一条不留线 */
.err-row {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.err-row:last-child { border-bottom: 0; }
