/* 居中首屏：尺寸沿用确认稿；装置内容只作规则与设置示意。 */
.hero { padding-top: 36px; text-align: center; }
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line) 1px,var(--clear) 1px),linear-gradient(90deg,var(--line) 1px,var(--clear) 1px);
  background-size: 56px 56px;
  background-position: center -1px;
  mask-image: radial-gradient(ellipse 56% 60% at 50% 74%,var(--mask-solid) 18%,var(--clear) 76%);
  -webkit-mask-image: radial-gradient(ellipse 56% 60% at 50% 74%,var(--mask-solid) 18%,var(--clear) 76%);
}
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 4px 14px 4px 11px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--muted);
  box-shadow: var(--shadow-soft);
  font-size: var(--size-sm);
  max-width: 100%;
  overflow-wrap: anywhere;
}
.badge b { color: var(--text); font-weight: var(--weight-semibold); }
.badge-dot { width: 7px; height: 7px; border-radius: var(--r-circle); background: var(--success); color: var(--text); box-shadow: 0 0 0 4px var(--success-soft); }
.dsep { color: var(--muted); }
.hero h1 { margin: 18px 0 0; font-size: var(--size-h1); line-height: 1.1; letter-spacing: var(--tracking-title); }
.hero h1 .dot { color: var(--muted-2); font-weight: var(--weight-bold); margin-inline: .1em; }
.grad { background: var(--grad-word); color: var(--accent); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: var(--clear); padding-bottom: .05em; }
.hero .lead { margin: 14px 0 0; max-width: 760px; }
.lead strong { color: var(--text); font-weight: var(--weight-semibold); }
.cta { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.checks { margin: 20px 0 0; padding: 0; list-style: none; display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; font-size: var(--size-meta); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.checks b { font-weight: var(--weight-bold); color: var(--text); }
.checks span { color: var(--muted); }
.platforms { margin-top: 16px; display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }
.plat-label { font-family: var(--font-mono); font-size: var(--size-micro); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.plat a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 6px 15px 6px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg); color: var(--text); font-size: var(--size-label); font-weight: var(--weight-medium); transition: transform var(--duration-fast),border-color var(--duration-fast); }
.plat a:hover { border-color: var(--muted-2); transform: translateY(-1px); }
.plat svg { width: 15px; height: 15px; }
.stage { position: relative; z-index: 1; width: min(1040px,calc(100% - 320px)); height: 500px; margin: 32px auto 0; text-align: left; }
.win { position: absolute; inset: 0; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-window); overflow: hidden; mask-image: linear-gradient(to bottom,var(--mask-solid) 68%,var(--clear) 100%); -webkit-mask-image: linear-gradient(to bottom,var(--mask-solid) 68%,var(--clear) 100%); }
.win-bar { height: 44px; display: flex; align-items: center; gap: 14px; padding-inline: 14px; border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 7px; flex-shrink: 0; }
.lights i { width: 11px; height: 11px; border-radius: var(--r-circle); background: var(--dot-grey); color: var(--text); }
.profile { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding-inline: 9px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); color: var(--text); font-family: var(--font-mono); font-size: var(--size-xs); }
.profile svg { width: 13px; height: 13px; color: var(--muted); }
.win-search { margin-left: auto; margin-right: 124px; width: 300px; height: 28px; display: flex; align-items: center; gap: 8px; padding: 0 6px 0 11px; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: var(--size-xs); color: var(--muted); }
.win-search svg { width: 13px; height: 13px; }
.win-search kbd { margin-left: auto; font-size: var(--size-micro); color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-xs); padding: 1px 6px; }
.win-body { display: grid; grid-template-columns: 60px 196px minmax(0,1fr); height: calc(100% - 44px); }
.rail-cell { padding: 8px 0 0 8px; }
.rail { width: 52px; height: 100%; background: var(--text); color: var(--on-dark); border-radius: var(--r-btn) var(--r-btn) 0 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 10px; }
.rail-logo { width: 30px; height: 30px; margin-bottom: 8px; }
.ri { width: 36px; height: 36px; border-radius: var(--r-icon); display: grid; place-items: center; color: var(--on-dark-dim); }
.ri svg { width: 19px; height: 19px; }
.ri.on { background: var(--on-dark-soft); color: var(--on-dark); }
.side { background: var(--panel); color: var(--text); border-inline: 1px solid var(--line); margin-left: 8px; padding: 14px 10px; }
.side-head { display: flex; align-items: center; justify-content: space-between; height: 24px; padding-inline: 10px; margin-bottom: 10px; font-size: var(--size-sm); font-weight: var(--weight-bold); }
.side-head span { font-family: var(--font-mono); font-size: var(--size-micro); font-weight: var(--weight-medium); color: var(--muted); }
.side-item { position: relative; height: 30px; display: flex; align-items: center; gap: 9px; padding-inline: 10px; border-radius: var(--r-sm); font-size: var(--size-sm); color: var(--muted); }
.side-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.side-item.on { background: var(--panel-2); color: var(--text); font-weight: var(--weight-semibold); }
.side-item.on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: var(--r-pill); background: var(--accent); }
.side-sub { margin: 16px 10px 6px; font-size: var(--size-xs); font-weight: var(--weight-semibold); color: var(--muted); }
.grp-item { height: 28px; display: flex; align-items: center; gap: 9px; padding-inline: 10px; font-family: var(--font-mono); font-size: var(--size-xs); }
.grp-item em { margin-left: auto; font-style: normal; font-size: var(--size-micro); color: var(--muted); }
.sd { width: 7px; height: 7px; border-radius: var(--r-circle); }
.sd-proxy { background: var(--accent); }
.sd-auto { background: var(--warn); }
.sd-direct { background: var(--success); }
.sd-reject { background: var(--error); }
.main { padding-inline: 22px; min-width: 0; }
.tabs-chrome { height: 42px; display: flex; align-items: flex-end; gap: 24px; border-bottom: 1px solid var(--line); }
.tab-chrome { position: relative; padding-bottom: 11px; font-size: var(--size-sm); color: var(--muted); }
.tab-chrome.on { color: var(--text); font-weight: var(--weight-semibold); }
.tab-chrome.on::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; border-radius: var(--r-pill); background: var(--accent); }
.rules-head { height: 32px; display: grid; grid-template-columns: minmax(0,1fr) 150px; align-items: center; padding-left: 30px; border-bottom: 1px solid var(--line); font-size: var(--size-xs); color: var(--muted); }
.rules-list { position: relative; }
.scan { position: absolute; left: -10px; right: -10px; top: 0; height: 34px; border-radius: var(--r-sm); background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent); transform: translateY(30px); animation: rule-scan 16.8s ease-in-out infinite; }
@keyframes rule-scan {
  0%, 13% { opacity: 1; transform: translateY(30px); }
  17%, 30% { transform: translateY(64px); }
  34%, 47% { transform: translateY(128px); }
  51%, 64% { transform: translateY(162px); }
  68%, 81% { transform: translateY(226px); }
  85%, 96% { opacity: 1; transform: translateY(260px); }
  100% { opacity: 0; transform: translateY(260px); }
}
.grp { position: relative; z-index: 1; height: 30px; display: flex; align-items: center; gap: 8px; padding-left: 6px; }
.grp svg { width: 12px; height: 12px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; min-height: 20px; padding: 2px 8px; border-radius: var(--r-xs); font-family: var(--font-mono); font-size: var(--size-micro); font-weight: var(--weight-semibold); letter-spacing: .04em; }
.pill-direct { background: var(--success-soft); color: var(--success-ink); }
.pill-proxy { background: var(--accent-pill); color: var(--accent-dark); }
.pill-reject { background: var(--error-soft); color: var(--error-ink); }
.cnt { font-family: var(--font-mono); font-size: var(--size-xs); color: var(--muted); }
.rule { position: relative; z-index: 1; height: 34px; display: grid; grid-template-columns: minmax(0,1fr) 150px; align-items: center; padding-left: 30px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--size-xs); }
.rule .t { color: var(--text); font-weight: var(--weight-medium); }
.rule .v { color: var(--muted); }
.tgt { display: flex; align-items: center; gap: 7px; font-size: var(--size-xs); }
.tgt .sd { width: 6px; height: 6px; }
.rule.match { border-top: 1px dashed var(--line); border-bottom: 0; }
.fc { position: absolute; z-index: 3; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); }
.fc-set { left: -150px; top: 228px; width: 236px; padding: 14px 16px 12px; box-shadow: var(--shadow-float); }
.fc-head { display: flex; align-items: center; justify-content: space-between; height: 22px; margin-bottom: 6px; }
.fc-title { font-size: var(--size-label); font-weight: var(--weight-bold); }
.fc-tag { font-family: var(--font-mono); font-size: var(--size-micro); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.sw-row, .port-row { height: 36px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); font-size: var(--size-sm); }
.sw { position: relative; width: 30px; height: 18px; border-radius: var(--r-pill); background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); flex-shrink: 0; }
.sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: var(--r-circle); background: var(--bg); box-shadow: var(--shadow-soft); }
.sw.on { background: var(--text); color: var(--on-dark); box-shadow: none; }
.sw.on::after { transform: translateX(12px); }
.port-row { height: 40px; }
.port-field { font-family: var(--font-mono); font-size: var(--size-xs); font-weight: var(--weight-semibold); height: 24px; display: inline-flex; align-items: center; padding-inline: 10px; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-sm); }
.fc-snip { right: -110px; top: -34px; width: 214px; background: var(--panel); color: var(--text); border-radius: var(--r-snip); padding: 11px 14px 13px; box-shadow: var(--shadow-mid); }
.snip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-family: var(--font-mono); font-size: var(--size-micro); color: var(--muted); }
.snip-head span { letter-spacing: .14em; text-transform: uppercase; }
.snip { margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--clear); color: var(--text); font-family: var(--font-mono); font-size: var(--size-xs); line-height: 21px; }
.snip .ln { display: inline-block; width: 16px; color: var(--muted); }
.snip .k { font-weight: var(--weight-semibold); }
.snip .v { color: var(--muted); }
.caret { display: inline-block; vertical-align: -2px; width: 7px; height: 14px; margin-left: 3px; background: var(--text); opacity: .72; border-radius: var(--r-tiny); }
.factbar { border-block: 1px solid var(--line); background: var(--bg); color: var(--text); position: relative; z-index: 2; }
.factbar-in { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; font-family: var(--font-mono); font-size: var(--size-xs); letter-spacing: .12em; text-transform: uppercase; }
.factbar-in .fk { color: var(--muted); margin-right: 8px; }
.factbar-in .fs { color: var(--line); }

/* 页面间通用交互组件 */
.tablist, [role="tablist"].tablist { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
[role="tab"] { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); color: var(--muted); font-size: var(--size-meta); text-align: center; }
[role="tab"][aria-selected="true"] { border-color: var(--accent); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
[role="tab"][aria-selected="true"]::before { content: ""; position: absolute; inset: 0 10px auto; height: 2px; background: var(--accent); }
[role="tabpanel"] { min-width: 0; }
.tab-panel { padding: var(--space-8); background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-xl); }
.tab-progress { height: 2px; background: var(--panel-2); color: var(--text); margin-top: var(--space-6); overflow: hidden; }
.tab-progress::after { content: ""; display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
[data-cycling="true"] .tab-progress::after { animation: tab-countdown var(--cycle-duration) linear infinite; }
[data-cycling="true"] .tab-progress.is-reset::after { animation: none; }
@keyframes tab-countdown { to { transform: scaleX(1); } }
.toc { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block: var(--space-8); }
.toc a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--bg); color: var(--muted); font-size: var(--size-meta); }
.toc a:hover { border-color: var(--text); color: var(--text); }
.toc-sticky { position: sticky; top: 0; z-index: 8; background: var(--bg); color: var(--text); padding-block: var(--space-3); }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); color: var(--text); padding-inline: var(--space-6); margin-bottom: var(--space-3); }
.faq-item summary { position: relative; cursor: pointer; padding: var(--space-5) 32px var(--space-5) 0; font-weight: var(--weight-semibold); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: var(--space-5); color: var(--muted); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding-bottom: var(--space-5); color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }
.term-card { border-top: 2px solid var(--line); }
.term-card dt { font-size: var(--size-subtitle); font-weight: var(--weight-bold); }
.term-card dd { margin: var(--space-3) 0 0; color: var(--muted); }
.term-card .eyebrow { display: block; margin-bottom: var(--space-2); }
.client-card { display: flex; flex-direction: column; gap: var(--space-5); }
.client-card.is-recommended { border-color: var(--accent); }
.client-head { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.client-head img { width: 56px; height: 56px; flex-shrink: 0; }
.client-head h3 { margin: 0; }
.client-card p { margin: 0; color: var(--muted); }
.client-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: auto; }
[data-ver]:empty { display: none; }
.version-label { font-family: var(--font-mono); color: var(--muted); font-size: var(--size-xs); }
.tag { display: inline-flex; align-items: center; gap: var(--space-1); max-width: 100%; padding: 4px 10px; border-radius: var(--r-pill); background: var(--panel); color: var(--muted); border: 1px solid var(--line); font-size: var(--size-xs); white-space: normal; overflow-wrap: anywhere; }
.tag-first, .tag-recommended { background: var(--bg); color: var(--text); border-color: var(--accent); }
.tag-first::before, .tag-recommended::before { content: "✓"; color: var(--accent); flex-shrink: 0; }
.tag-archived { background: var(--panel-2); color: var(--muted); }
.post-card { display: flex; flex-direction: column; gap: var(--space-4); }
.post-card h3 { font-size: var(--size-subtitle); line-height: 1.5; margin: 0; }
.post-card p { color: var(--muted); margin: 0; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3); color: var(--muted); font-size: var(--size-xs); }
.post-card .post-link { margin-top: auto; font-weight: var(--weight-semibold); font-size: var(--size-meta); }
.post-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.callout { margin: var(--space-6) 0; padding: var(--space-5) var(--space-6); border: 1px solid var(--line); border-left: 3px solid var(--text); border-radius: var(--r-md); background: var(--panel); color: var(--text); }
.callout p:last-child { margin-bottom: 0; }
.callout-warning { border-left-color: var(--warn); }
.callout-error { border-left-color: var(--error); }
.callout-success { border-left-color: var(--success); }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }
.data-table { border-collapse: collapse; width: 100%; font-size: var(--size-meta); text-align: left; }
.data-table th, .data-table td, .prose table th, .prose table td {
  min-width: 7em;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: normal;
  word-break: normal;
  vertical-align: top;
}
.data-table th, .prose table th { background: var(--panel); color: var(--text); font-weight: var(--weight-semibold); }
.data-table tr:last-child td { border-bottom: 0; }
.prose table {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}
.prose table code, .data-table code { overflow-wrap: anywhere; }
.download-guide { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-6); margin-top: var(--space-12); background: var(--panel); color: var(--text); }
.download-guide h2 { font-size: var(--size-h3); margin-bottom: var(--space-2); }
.download-guide p { margin: 0; color: var(--muted); }
.dl-fab { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px 10px 15px; border-radius: var(--r-btn); background: var(--text); color: var(--on-dark); font-size: var(--size-meta); font-weight: var(--weight-semibold); box-shadow: var(--shadow-float); transition: transform var(--duration-fast); }
.dl-fab svg { width: 17px; height: 17px; }
.dl-fab:hover { transform: translateY(-2px); }

/* 管线 + 共享细线格阵 */
.pipeline { height: 230px; margin-bottom: var(--space-10); }
.pipeline > svg { position: absolute; width: 100%; height: 100%; inset: 0; }
.pipe-base { fill: none; stroke: var(--line); stroke-width: 25; stroke-linecap: round; }
.pipe-mid { fill: none; stroke: url(#pipe-shade); stroke-width: 20; stroke-linecap: round; }
.pipe-light { fill: none; stroke: var(--bg); stroke-width: 3; opacity: .8; }
.pipe-stop-a { stop-color: var(--dot-grey); }
.pipe-stop-b { stop-color: var(--panel-2); }
.pipe-stop-c { stop-color: var(--bg); }
.pipe-bricks { position: relative; height: 100%; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); align-items: center; gap: var(--space-4); padding-inline: var(--space-6); }
.pipe-brick { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--space-5) var(--space-3); box-shadow: var(--shadow-mid); text-align: center; font-size: var(--size-sm); }
.pipe-brick:nth-child(even) { transform: translateY(28px); }
.pipe-brick svg { width: 28px; height: 28px; margin: 0 auto var(--space-3); color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; padding: 1px; background: var(--line); color: var(--text); position: relative; }
.feature-grid::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,var(--bg),var(--clear) 2%,var(--clear) 98%,var(--bg)); }
.feature-grid [role="tab"] { min-height: 100px; border: 0; border-radius: 0; flex-direction: column; padding: var(--space-5); font-weight: var(--weight-medium); }
.feature-grid [role="tab"] svg { width: 24px; height: 24px; }
.feature-grid [role="tab"][aria-selected="true"] { box-shadow: inset 0 0 0 1px var(--accent); }
.feature-grid [role="tab"][aria-selected="true"]::before { left: 0; right: 0; }
.feature-grid .feature-wide { grid-column: span 2; align-items: flex-start; text-align: left; }
.feature-wide pre { width: 100%; margin: 0; font-size: var(--size-xs); padding: var(--space-3); }
.feature-detail { margin-top: var(--space-6); }
.preview-title { margin-bottom: var(--space-8); }
.swatches { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: var(--space-3); }
.swatch { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--space-4); font-family: var(--font-mono); font-size: var(--size-xs); overflow-wrap: anywhere; }
.swatch-bg { background: var(--bg); color: var(--text); }
.swatch-panel { background: var(--panel); color: var(--text); }
.swatch-panel-2 { background: var(--panel-2); color: var(--text); }
.swatch-line { background: var(--line); color: var(--text); }
.swatch-dot { background: var(--dot-grey); color: var(--text); }
.swatch-accent { background: var(--accent); color: var(--on-dark); }
.swatch-accent-dark { background: var(--accent-dark); color: var(--on-dark); }
.swatch-text { background: var(--text); color: var(--on-dark); }
.swatch-hover { background: var(--text-hover); color: var(--on-dark); }
.swatch-muted { background: var(--muted); color: var(--on-dark); }
.swatch-muted-2 { background: var(--muted-2); color: var(--text); }
.swatch-success { background: var(--success-soft); color: var(--success-ink); border-color: var(--success); }
.swatch-warn { background: var(--warn-soft); color: var(--warn-ink); border-color: var(--warn); }
.swatch-error { background: var(--error-soft); color: var(--error-ink); border-color: var(--error); }
.swatch-accent-soft { background: var(--accent-soft); color: var(--accent-dark); }
.swatch-accent-pill { background: var(--accent-pill); color: var(--accent-dark); }
.swatch-dark-dim { background: var(--text); color: var(--on-dark-dim); }
.swatch-dark-soft { background: var(--text); color: var(--on-dark); box-shadow: inset 0 0 0 5px var(--on-dark-soft); }
.swatch-mask { background: var(--mask-solid); color: var(--on-dark); }
.swatch-clear { background: var(--clear); color: var(--text); }
.token-note { font-family: var(--font-mono); font-size: var(--size-xs); color: var(--muted); }
.preview-buttons { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
@media (max-width: 1320px) {
  .fc-set { left: -88px; }
  .fc-snip { right: -60px; }
  .win-search { margin-right: 96px; width: 260px; }
}
@media (max-width: 1100px) {
  .stage { width: calc(100% - 96px); }
  .fc-set { left: -24px; }
  .fc-snip { right: -20px; }
  .win-body { grid-template-columns: 60px minmax(0,1fr); }
  .side { display: none; }
}
@media (max-width: 760px) {
  .hero { padding-top: 28px; }
  .badge { font-size: var(--size-xs); gap: 6px; }
  .hero .lead { font-size: var(--size-button); padding-inline: 8px; }
  .checks { flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; }
  .plat-label { width: 100%; text-align: center; margin: 0 0 2px; }
  .stage { width: calc(100% - 32px); height: 440px; }
  .win-search { display: none; }
  .rules-head, .rule { grid-template-columns: minmax(0,1fr) 96px; }
  .fc-set { left: 12px; top: auto; bottom: 36px; width: 212px; }
  .fc-snip { display: none; }
  .factbar-in { padding-block: 14px; gap: 10px; }
  .factbar-in .fs { display: none; }
  .pipe-bricks { grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--space-3); padding-inline: var(--space-2); }
  .pipeline { height: 300px; }
  .pipe-brick { padding: var(--space-3) var(--space-2); }
  .pipe-brick:nth-child(even) { transform: none; }
}
@media (max-width: 640px) {
  .main { padding-inline: 10px; }
  .rules-head, .rule { padding-left: 8px; font-size: var(--size-micro); }
  .tgt { font-size: var(--size-micro); }
  .rule { grid-template-columns: minmax(0,1fr) 68px; }
  .rule > span:first-child { overflow-wrap: anywhere; }
  .tab-panel { padding: var(--space-5); }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .swatches { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dl-fab { right: var(--gutter); bottom: max(16px,env(safe-area-inset-bottom)); }
  .faq-item { padding-inline: var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  .scan { transform: translateY(30px); opacity: 1; }
  .plat a:hover, .dl-fab:hover { transform: none; }
}