/* 能力区：40% 图标要点列与 60% 详情卡。 */
.feature-tabs { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; align-items: start; }
.feature-tabs > * { min-width: 0; }
.tablist { display: flex; gap: 8px; flex-wrap: wrap; }
.feature-tabs > .tablist { flex-direction: column; gap: 4px; }
.tab {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  width: 100%;
  padding: 14px 18px;
  text-align: left;
  background: var(--clear);
  color: var(--text);
  border: 1px solid var(--clear);
  border-left: 2px solid var(--clear);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--size-body);
}
.tab:hover { background: var(--bg-panel-2); color: var(--text); }
.tab[aria-selected="true"] { background: var(--bg-panel); color: var(--text); border-left-color: var(--accent); box-shadow: var(--shadow-chip); }
.tab__copy { display: block; min-width: 0; }
.tab__title { display: block; font-weight: var(--weight-medium); }
.tab__note { display: block; font-size: var(--size-xs); color: var(--text-muted); margin-top: 3px; }
.icon-disc { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-circle); display: inline-flex; align-items: center; justify-content: center; background: var(--accent-dark); color: var(--on-accent); }
.icon-disc svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-disc--green { background: var(--accent); color: var(--on-accent); }
.tabpanel { min-width: 0; }
.feature-detail { padding: 32px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.feature-detail__art { width: 100%; height: auto; max-height: 250px; margin-bottom: 28px; }
.feature-detail p { color: var(--text-muted); line-height: 1.9; }
.feature-detail h3 { margin-bottom: 14px; }
.tablist--compact .tab { width: auto; min-height: 44px; padding: 10px 18px; border: 1px solid var(--border); }
.tablist--compact .tab[aria-selected="true"] { border-color: var(--accent-dark); color: var(--accent-dark); }
.toc { padding: 18px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-chip); margin-bottom: 40px; }
.toc__title { margin: 0 0 10px; font-size: var(--size-sm); font-weight: var(--weight-medium); }
.toc ul { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 0; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--size-sm); }
.toc--sticky { position: sticky; top: 16px; z-index: 10; }
.toc--flow { position: static; }
.faq-group { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-panel); color: var(--text); box-shadow: var(--shadow-card); }
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-item summary { position: relative; list-style: none; padding: 20px 54px 20px 24px; cursor: pointer; font-weight: var(--weight-medium); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 20px; color: var(--accent-dark); }
.faq-item[open] summary::after { content: "−"; }
.faq-item__body { padding: 0 24px 22px; color: var(--text-muted); line-height: 1.9; }
.faq-item__body > :last-child { margin-bottom: 0; }
.term-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-panel); color: var(--text); box-shadow: var(--shadow-card); }
.term-card dt, .term-card h3 { margin: 0 0 6px; font-size: var(--size-h3); font-family: var(--font-mono); font-weight: var(--weight-regular); overflow-wrap: anywhere; }
.term-card dd { margin: 0; }
.term-card p { margin-bottom: 0; color: var(--text-muted); }
.term-card__category { display: block; margin-bottom: 12px; font-size: var(--size-xs); color: var(--accent-dark); }
.app-store-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  max-width: 100%;
  padding: 10px 22px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-btn);
  font-family: var(--font-body);
  text-align: left;
  transition: background-color var(--duration-fast), border-color var(--duration-fast);
}
.app-store-btn:hover { background: var(--accent-hover); color: var(--on-accent); border-color: var(--accent-hover); text-decoration: none; }
.app-store-btn:active { background: var(--accent-dark); color: var(--on-accent); border-color: var(--accent-dark); box-shadow: none; }
.app-store-btn svg { width: 26px; height: 28px; flex-shrink: 0; fill: currentColor; }
.app-store-btn__copy { display: block; }
.app-store-btn__over { display: block; font-size: var(--size-xs); line-height: 1.4; }
.app-store-btn__title { display: block; font-size: var(--size-h3); line-height: 1.4; font-weight: var(--weight-medium); }
.app-store-btn--hero { min-height: 46px; padding: 10px 24px; gap: 9px; font-size: var(--size-button); font-weight: var(--weight-medium); }
.app-store-btn--hero svg { width: 16px; height: 16px; }
.fact-pills { display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fact-pill, .badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-panel);
  color: var(--text-muted);
  font-size: var(--size-xs);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.fact-pill svg, .badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.badge--green { background: var(--accent-tint); color: var(--accent-hover); border-color: var(--accent-tint); }
.badge--teal { background: var(--teal-tint); color: var(--accent-dark); border-color: var(--teal-tint); }
.badge--warn { background: var(--bg-panel); color: var(--warn-ink); border-color: var(--warn); }
.badge--error { background: var(--bg-panel); color: var(--error); border-color: var(--error); }
.status-dot { width: 7px; height: 7px; border-radius: var(--radius-circle); flex-shrink: 0; background: var(--success); color: var(--on-accent); }
.official-shot { width: 100%; max-width: 280px; margin: 0 auto; padding: 0; flex-shrink: 0; }
.official-shot img { display: block; width: 100%; height: auto; border-radius: var(--radius-shot); }
.official-shot { border: 1px solid var(--border); border-radius: var(--radius-shot); background: var(--bg-panel); color: var(--text); }
.official-shot figcaption { padding: 12px 14px; font-size: var(--size-xs); line-height: 1.7; color: var(--text-muted); }
.shot-row { display: flex; justify-content: center; align-items: flex-start; gap: 32px; }
.device-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 20px; padding: 28px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.device-card__icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--accent-tint); color: var(--accent); border-radius: var(--radius-circle); flex-shrink: 0; }
.device-card__icon svg { width: 34px; height: 34px; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.device-card h3 { margin: 0 0 8px; }
.device-card p { margin: 0 0 12px; font-size: var(--size-sm); color: var(--text-muted); }
.article-card { display: flex; flex-direction: column; align-items: start; padding: 28px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.article-card h3 { margin: 20px 0 12px; }
.article-card h3 a { color: var(--text); }
.article-card p { color: var(--text-muted); font-size: var(--size-sm); }
.article-card__meta { font-family: var(--font-mono); font-size: var(--size-xs); color: var(--text-muted); margin-bottom: 12px; }
.article-card__link { margin-top: auto; font-size: var(--size-sm); }
.callout { margin: 24px 0; padding: 20px 24px; border: 1px solid var(--border); border-left: 3px solid var(--accent-dark); border-radius: var(--radius); background: var(--teal-tint); color: var(--text); }
.callout > :last-child { margin-bottom: 0; }
.callout__title { display: block; margin-bottom: 8px; font-weight: var(--weight-medium); color: var(--accent-dark); }
.callout--warn { background: var(--bg-panel); color: var(--text); border-left-color: var(--warn); }
.callout--warn .callout__title { color: var(--warn-ink); }
.group-list { background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); list-style: none; margin: 0; padding: 0; }
.group-list li + li { border-top: 1px solid var(--border); }
.group-list a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; padding: 16px 22px; }
.group-list a::after { content: "›"; color: var(--text-muted); flex-shrink: 0; }
.group-list a:hover { background: var(--bg-panel-2); color: var(--accent-dark); text-decoration: none; }
.table-scroll { overflow-x: auto; max-width: 100%; min-width: 0; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--size-sm); background: var(--bg-panel); color: var(--text); }
.data-table th, .data-table td,
.prose table th, .prose table td,
.article-body table th, .article-body table td {
  min-width: 7em;
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  overflow-wrap: normal;
  word-break: normal;
}
.data-table th, .prose table th, .article-body table th { background: var(--bg-panel-2); color: var(--text); font-weight: var(--weight-medium); }
.data-table tr:last-child td { border-bottom: 0; }
.prose table, .article-body table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  min-width: 0;
  border-collapse: collapse;
  background: var(--bg-panel);
  color: var(--text);
  font-size: var(--size-sm);
}
.store-guide { padding: 28px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.store-guide__title { margin-bottom: 12px; font-size: var(--size-h3); }
.store-guide p { color: var(--text-muted); }
.dl-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  min-height: 48px;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-btn);
  font-size: var(--size-sm);
}
.dl-fab svg { width: 19px; height: 19px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
.dl-fab:hover { background: var(--accent-hover); color: var(--on-accent); text-decoration: none; }
.has-article-fab { padding-bottom: 90px; }

/* 预览专用家具，不用于伪造产品界面。 */
.preview-header .topbar__in { max-width: 1320px; }
.preview-header .navline { margin-left: auto; }
.preview-header .header-tools { margin-left: 0; }
.preview-header .topbar__in { gap: 22px; }
.preview-samples { display: grid; gap: 24px; }
.preview-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.preview-swatch { background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-chip); min-width: 0; }
.preview-swatch__color { height: 76px; border-bottom: 1px solid var(--border); border-radius: var(--radius) var(--radius) 0 0; }
.preview-swatch code { display: block; padding: 12px; font-size: var(--size-xs); }
.swatch-bg { background: var(--bg); color: var(--text); }
.swatch-panel { background: var(--bg-panel); color: var(--text); }
.swatch-panel2 { background: var(--bg-panel-2); color: var(--text); }
.swatch-border { background: var(--border); color: var(--text); }
.swatch-accent { background: var(--accent); color: var(--on-accent); }
.swatch-hover { background: var(--accent-hover); color: var(--on-accent); }
.swatch-teal { background: var(--accent-dark); color: var(--on-accent); }
.swatch-green-tint { background: var(--accent-tint); color: var(--text); }
.swatch-teal-tint { background: var(--teal-tint); color: var(--text); }
.swatch-text { background: var(--text); color: var(--on-accent); }
.swatch-muted { background: var(--text-muted); color: var(--on-accent); }
.swatch-success { background: var(--success); color: var(--on-accent); }
.swatch-warn { background: var(--warn); color: var(--text); }
.swatch-warn-ink { background: var(--warn-ink); color: var(--on-accent); }
.swatch-error { background: var(--error); color: var(--on-accent); }
.swatch-white { background: var(--on-accent); color: var(--text); }
.swatch-band { background: var(--band-bg); color: var(--text); }
.swatch-veil { background: var(--veil-bg); color: var(--text); }
.swatch-clear { background: var(--clear); color: var(--text); }
.swatch-mask { background: var(--mask-solid); color: var(--on-accent); }
.preview-shot-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 750 / 1334; border-radius: var(--radius-shot); background: var(--bg-panel-2); color: var(--text-muted); text-align: center; }
.preview-type-title { font-family: var(--font-display); font-size: var(--size-h1); font-weight: var(--weight-regular); line-height: var(--leading-title); letter-spacing: var(--tracking-heading); }
.preview-note { font-size: var(--size-xs); color: var(--text-muted); }
.preview-rule { margin-bottom: 0; }
.preview-facts { margin-top: 24px; }

@media (min-width: 1025px) and (max-width: 1280px) {
  .preview-header .navline { display: block; }
  .preview-header .langpick { border-left: 1px solid var(--border); padding-left: 20px; }
  .preview-header .navline__list li + li::before { margin-inline: 9px; }
}
@media (max-width: 860px) {
  .feature-tabs { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feature-tabs > .tablist { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-block: 4px 12px; max-width: 100%; }
  .feature-tabs > .tablist .tab { flex-direction: column; justify-content: flex-start; flex: 0 0 108px; padding: 12px 8px; min-height: 112px; text-align: center; gap: 8px; border-left: 0; border-bottom: 2px solid var(--clear); }
  .feature-tabs > .tablist .tab[aria-selected="true"] { border-bottom-color: var(--accent); }
  .feature-tabs .tab__note { display: none; }
  .feature-tabs .tab__title { font-size: var(--size-xs); }
  .shot-row { flex-direction: column; align-items: center; }
  .preview-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .feature-detail { padding: 22px; }
  .preview-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device-card { padding: 22px; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .device-card__icon { width: 44px; height: 44px; }
  .device-card__icon svg { width: 26px; height: 26px; }
  .fact-pills { flex-direction: row; flex-wrap: wrap; }
  .official-shot { max-width: min(280px, 100%); }
  .faq-item summary { padding-left: 20px; }
  .faq-item__body { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-store-btn { transition: none; }
}