.get-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; }
.get-actions > .btn { flex-shrink: 0; max-width: 100%; }
.get-note { margin-top: 14px; font-size: var(--text-sm); color: var(--muted); }
.get-note .ver { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--accent-dark); }
.appstore-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; max-width: 100%; padding: 9px 18px; background: var(--accent); color: var(--bg); border: 1px solid var(--accent); border-radius: var(--r-btn); transition: background-color var(--time-ui) ease; }
.appstore-btn:hover { background: var(--accent-dark); color: var(--bg); border-color: var(--accent-dark); }
.appstore-btn svg { width: 24px; height: 28px; flex-shrink: 0; }
.appstore-copy { display: block; text-align: left; }
.appstore-copy small { display: block; font-size: var(--text-xs); line-height: 1.3; }
.appstore-copy strong { display: block; font-size: var(--text-body); line-height: 1.4; }
.fact-row, .badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fact-row { margin-top: 24px; }
.fact, .badge, .code-pill { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 5px 9px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-panel); color: var(--muted); font-size: var(--text-xs); line-height: 1.5; overflow-wrap: anywhere; }
.fact b { color: var(--text); }
.badge { font-family: var(--font-mono); }
.badge-success { color: var(--success); }
.badge-warn { color: var(--warn); }
.badge-error { color: var(--error); }
.status-dot { width: 6px; height: 6px; border-radius: var(--r-round); background: var(--success); color: var(--success); flex-shrink: 0; }
.code-pill { font-family: var(--font-mono); color: var(--accent-dark); }
.tabs { display: grid; grid-template-columns: minmax(240px,.7fr) minmax(0,1.3fr); gap: 48px; min-width: 0; }
.tabs > * { min-width: 0; }
.tabs [role="tablist"] { display: flex; flex-direction: column; align-self: start; }
.tabs [role="tab"] { position: relative; display: flex; align-items: center; gap: 24px; min-height: 72px; padding: 20px 18px; text-align: left; border-bottom: 1px solid var(--border); color: var(--muted); }
.tabs [role="tab"]:first-child { border-top: 1px solid var(--border); }
.tabs [role="tab"] .plate { font-family: var(--font-mono); font-size: var(--text-xs); flex-shrink: 0; }
.tabs [role="tab"][aria-selected="true"] { color: var(--text); }
.tabs [role="tab"][aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: var(--accent); color: var(--bg); }
.tab-panel { min-width: 0; padding: 30px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); }
.tab-panel p { margin-top: 20px; margin-bottom: 24px; color: var(--muted); line-height: 1.85; }
.plate-art { position: relative; min-width: 0; margin-bottom: 28px; }
.plate-caption { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--muted); }
.plate-art svg { display: block; width: 100%; height: 250px; color: var(--muted); stroke-width: 1; fill: none; stroke: currentColor; }
.toc { position: sticky; top: var(--header-h); z-index: 10; display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 16px 20px; margin-bottom: 40px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--muted); }
.toc a { display: inline-flex; align-items: center; min-height: 32px; font-size: var(--text-sm); }
.toc a:hover, .toc a[aria-current] { color: var(--text); }
.toc-flow { position: static; }
.faq-group { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { position: relative; list-style: none; cursor: pointer; padding: 22px 40px 22px 4px; color: var(--text); font-weight: var(--weight-heading); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 8px; top: 21px; font-family: var(--font-mono); color: var(--muted); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 36px 24px 4px; color: var(--muted); line-height: 1.85; }
.term-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); }
.term-card dt { font-family: var(--font-mono); font-size: var(--text-lede); }
.term-card dd { margin-top: 16px; color: var(--muted); }
.term-category { display: block; margin-bottom: 12px; font-size: var(--text-xs); color: var(--muted); }
.plat-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.plat-card { position: relative; min-width: 0; padding: 28px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); }
.plat-card h3 { padding-right: 80px; }
.plat-card > p { margin-top: 14px; color: var(--muted); }
.plat-card .plat-icon { display: block; width: 26px; height: 28px; margin-bottom: 24px; color: var(--accent-dark); }
.plat-card::before { display: none; position: absolute; top: 24px; right: 20px; content: attr(data-mine); padding: 4px 7px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-panel2); color: var(--success); font-size: var(--text-xs); }
.plat-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
html[data-visitor-os="ios"] .plat-card[data-plat="ios"] { order: -1; }
html[data-visitor-os="mac"] .plat-card[data-plat="mac"] { order: -1; }
html[data-visitor-os="windows"] .plat-card[data-plat="windows"] { order: -1; }
html[data-visitor-os="android"] .plat-card[data-plat="android"] { order: -1; }
html[data-visitor-os="linux"] .plat-card[data-plat="linux"] { order: -1; }
html[data-visitor-os="ios"] .plat-card[data-plat="ios"]::before,
html[data-visitor-os="mac"] .plat-card[data-plat="mac"]::before,
html[data-visitor-os="windows"] .plat-card[data-plat="windows"]::before,
html[data-visitor-os="android"] .plat-card[data-plat="android"]::before,
html[data-visitor-os="linux"] .plat-card[data-plat="linux"]::before { display: block; }
.wx-open-tip { position: fixed; z-index: 70; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 40px); padding: 16px 20px; border: 1px solid var(--device-edge); border-radius: var(--r-card); background: var(--bg-panel2); color: var(--text); font-size: var(--text-ui); line-height: 1.7; }
.wx-open-tip button { min-width: 44px; min-height: 44px; color: var(--accent-dark); }
.official-shot { width: 100%; max-width: 280px; min-width: 0; flex-shrink: 0; margin-inline: auto; }
.official-shot img { display: block; width: 100%; height: auto; border-radius: var(--r-shot); }
.official-shot { border: 1px solid var(--border); border-radius: var(--r-shot); background: var(--bg-panel); color: var(--muted); }
.official-shot figcaption { padding: 12px 14px; font-size: var(--text-xs); line-height: 1.6; }
.shot-row { display: flex; justify-content: center; align-items: flex-start; gap: 32px; }
.device-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.device-entry { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 20px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); }
.device-entry svg { width: 36px; height: 44px; color: var(--accent-dark); }
.device-entry h3 { font-size: var(--text-lede); }
.device-entry p { color: var(--muted); font-size: var(--text-sm); margin-top: 8px; }
.device-entry:hover { border-color: var(--muted); }
.article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.article-card { display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--muted); }
.article-card h3 { font-size: var(--text-h3); line-height: 1.5; }
.article-card p { margin-top: 16px; color: var(--muted); font-size: var(--text-ui); }
.article-card .read-link { margin-top: auto; padding-top: 28px; font-size: var(--text-sm); color: var(--accent-dark); }
.callout { padding: 22px 24px; border: 1px solid var(--border); border-left: 2px solid var(--success); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); }
.callout p { color: var(--muted); margin-top: 8px; }
.callout-warning { border-left-color: var(--warn); }
.callout-error { border-left-color: var(--error); }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--r-card); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td,
.prose table th, .prose table td,
.document-body table th, .document-body table td { min-width: 7em; padding: 16px 20px; border-bottom: 1px solid var(--border); vertical-align: top; overflow-wrap: normal; word-break: normal; }
.data-table th, .prose table th, .document-body table th { background: var(--bg-panel2); color: var(--text); font-weight: var(--weight-heading); }
.data-table td, .prose table td, .document-body table td { background: var(--bg-panel); color: var(--accent-dark); }
.data-table tr:last-child td { border-bottom: 0; }
.prose table, .document-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; border-collapse: collapse; text-align: left; }
#install table code { white-space: pre; overflow-wrap: normal; word-break: normal; }
#install td, #install th { max-width: 38em; }
#install td { overflow-x: auto; }
.article-store-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; margin-top: 64px; padding: 28px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); }
.article-store-card p { color: var(--muted); margin-top: 12px; }
.dl-fab { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 14px 9px 12px; border: 1px solid var(--device-edge); border-radius: var(--r-btn); background: var(--bg-panel2); color: var(--text); font-size: var(--text-sm); font-weight: var(--weight-heading); transition: border-color var(--time-ui) ease; }
.dl-fab:hover { border-color: var(--muted); }
.dl-fab svg { width: 15px; height: 15px; color: var(--accent-dark); flex-shrink: 0; }

/* 首页首屏：配置文本不是应用界面。 */
.hero { height: clamp(700px,calc(100vh - var(--header-h) - 56px),880px); overflow: hidden; }
.stage { position: absolute; left: 12px; right: 12px; bottom: 0; height: 46%; border-radius: 0 0 var(--r-card) var(--r-card); background: linear-gradient(90deg,var(--bg) 0%,var(--clear) 30%,var(--clear) 84%,var(--bg) 100%),radial-gradient(ellipse 56% 100% at 72% 100%,var(--stage-hi) 0%,var(--stage-mid) 44%,var(--bg) 84%); color: var(--text); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: minmax(0,500px) minmax(0,1fr); column-gap: 40px; align-items: center; padding-top: 60px; padding-bottom: 112px; }
.copy { position: relative; z-index: 3; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px; padding: 5px 11px 5px 9px; font-size: var(--text-sm); line-height: 1.4; color: var(--muted); background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--r-pill); }
.kicker b { color: var(--text); }
.kicker .dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: var(--r-round); background: var(--success); color: var(--success); box-shadow: 0 0 0 3px var(--success-ring); }
.kicker .slash { color: var(--muted); font-family: var(--font-mono); }
.platforms { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--border); }
.plats { display: flex; flex-wrap: wrap; gap: 10px 20px; list-style: none; }
.plats a { display: inline-flex; align-items: center; gap: 7px; font-size: var(--text-sm); color: var(--muted); transition: color var(--time-ui) ease; }
.plats a:hover { color: var(--text); }
.plats svg { height: 15px; width: auto; flex-shrink: 0; }
.price-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; margin-top: 16px; padding: 4px 9px; font-family: var(--font-mono); font-size: var(--text-xs); line-height: 1.5; color: var(--muted); background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--r-pill); }
.price-pill b { color: var(--text); }
.price-pill .mid { color: var(--muted); }
.rig { position: relative; width: var(--rig-w); justify-self: start; }
.orbit { position: absolute; z-index: 0; left: 50%; top: calc(100% - var(--rig-w) * .1662); width: 124%; height: auto; max-width: none; transform: translateX(-50%); overflow: visible; pointer-events: none; }
.ring-outer { fill: none; stroke: var(--orbit-a); stroke-width: 1; stroke-dasharray: 2 6; }
.ring-inner { fill: none; stroke: var(--orbit-b); stroke-width: 1; }
.node { fill: var(--bg-panel2); stroke: var(--accent-dark); stroke-width: 1; }
.orbit text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .02em; fill: var(--accent-dark); text-anchor: middle; }
.ipad { position: relative; z-index: 1; width: 100%; aspect-ratio: 1.43 / 1; padding: 15px; background: var(--bg-panel2); color: var(--muted); border: 1px solid var(--device-edge); border-radius: var(--r-device); }
.ipad::before { content: ""; position: absolute; top: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: var(--r-round); background: var(--device-edge); color: var(--muted); }
.ipad::after { content: ""; position: absolute; top: -3px; right: 76px; width: 42px; height: 2px; border-radius: var(--r-pill); background: var(--device-edge); color: var(--muted); }
.screen { --lh: clamp(25px,2.1vw,31px); --pad-top: 34px; --gut: 64px; position: relative; height: 100%; overflow: hidden; background: var(--bg); color: var(--muted); border: 1px solid var(--border); border-radius: var(--r-shot); }
.screen::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--gut); width: 1px; background: var(--border); color: var(--muted); }
.conf { list-style: none; padding-top: var(--pad-top); font-family: var(--font-mono); font-size: clamp(12px,1.02vw,15px); line-height: var(--lh); color: var(--muted); }
.conf li { display: grid; grid-template-columns: var(--gut) minmax(0,1fr); align-items: center; height: var(--lh); }
.conf .ln { padding-right: 22px; text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.conf .cd { padding-left: 22px; white-space: pre; }
.conf .sec { color: var(--text); }
.conf .cm, .conf .op { color: var(--muted); }
.conf .pr { color: var(--success); font-weight: var(--weight-heading); }
.conf .di { color: var(--accent-dark); font-weight: var(--weight-heading); }
.conf .rj { color: var(--error); font-weight: var(--weight-heading); }
.scan { position: absolute; left: var(--gut); right: 0; top: calc(var(--pad-top) + var(--lh) * 9 - 5px); height: 1px; background: linear-gradient(90deg,var(--scan) 0%,var(--scan) 44%,var(--clear) 100%); color: var(--text); opacity: 0; will-change: transform,opacity; animation: rule-match 9s var(--ease) infinite; }
@keyframes rule-match {
  0% { opacity: 0; transform: translateY(0); }
  4%,14% { opacity: 1; transform: translateY(0); }
  18%,28% { transform: translateY(var(--lh)); }
  32%,42% { transform: translateY(calc(var(--lh) * 2)); }
  46%,56% { transform: translateY(calc(var(--lh) * 3)); }
  60%,93% { opacity: 1; transform: translateY(calc(var(--lh) * 4)); }
  100% { opacity: 0; transform: translateY(calc(var(--lh) * 4)); }
}
.peek { padding-top: 30px; padding-bottom: var(--section-gap); }
.peek h2 { max-width: 26em; margin-top: 56px; font-size: 30px; line-height: 1.3; }
.peek h2 span { color: var(--muted); }

/* 仅供静态风格预览使用。 */
.specimen-block { margin-top: 40px; }
.specimen-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.swatch-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 40px; }
.swatch { min-width: 0; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: var(--bg-panel); color: var(--text); }
.swatch i { display: block; height: 64px; border-bottom: 1px solid var(--border); }
.swatch code { display: block; padding: 12px; color: var(--accent-dark); font-size: var(--text-xs); }
.sw-bg { background: var(--bg); color: var(--text); }
.sw-panel { background: var(--bg-panel); color: var(--text); }
.sw-panel2 { background: var(--bg-panel2); color: var(--text); }
.sw-border { background: var(--border); color: var(--text); }
.sw-accent { background: var(--accent); color: var(--bg); }
.sw-accent-dark { background: var(--accent-dark); color: var(--bg); }
.sw-text { background: var(--text); color: var(--bg); }
.sw-muted { background: var(--muted); color: var(--bg); }
.sw-success { background: var(--success); color: var(--bg); }
.sw-warn { background: var(--warn); color: var(--bg); }
.sw-error { background: var(--error); color: var(--bg); }
.sw-edge { background: var(--device-edge); color: var(--text); }
.sw-stage-hi { background: var(--stage-hi); color: var(--text); }
.sw-stage-mid { background: var(--stage-mid); color: var(--text); }
.sw-faint { background: var(--faint); color: var(--text); }
.sw-scan { background: var(--scan); color: var(--bg); }
.sw-success-ring { background: var(--success-ring); color: var(--text); }
.sw-orbit-a { background: var(--orbit-a); color: var(--text); }
.sw-orbit-b { background: var(--orbit-b); color: var(--text); }
.sw-clear { background: var(--clear); color: var(--text); }
.sw-veil { background: var(--veil); color: var(--text); }
.shot-placeholder { display: grid; place-content: center; aspect-ratio: 750 / 1334; width: 100%; padding: 20px; border-radius: var(--r-shot); background: var(--bg-panel2); color: var(--muted); text-align: center; font-family: var(--font-mono); font-size: var(--text-sm); }
.type-display { font-family: var(--font-display); font-size: var(--text-h1); font-weight: var(--weight-heading); line-height: 1.14; }
.type-heading { font-family: var(--font-display); font-size: var(--text-h2); font-weight: var(--weight-heading); }
.preview-facts { margin-top: 40px; }
@media (max-width: 1100px) {
  :root { --rig-w: calc(100vw - var(--gutter) * 2); }
  .hero { height: auto; }
  .hero-grid { grid-template-columns: minmax(0,1fr); row-gap: 64px; padding-top: 56px; padding-bottom: calc(var(--rig-w) * .14 + 48px); }
  .stage { height: 42%; }
  .article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .tabs { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .tabs [role="tablist"] { flex-direction: row; overflow-x: auto; max-width: 100%; border-bottom: 1px solid var(--border); }
  .tabs [role="tab"] { flex: 0 0 auto; gap: 10px; min-height: 60px; padding: 16px; }
  .tabs [role="tab"]:first-child { border-top: 0; }
  .tabs [role="tab"][aria-selected="true"]::before { top: auto; bottom: 0; left: 16px; right: 16px; width: auto; height: 2px; }
  .specimen-grid { grid-template-columns: minmax(0,1fr); }
  .swatch-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .plat-grid, .device-grid, .article-grid { grid-template-columns: minmax(0,1fr); }
  .plat-card { padding: 24px; }
  .plat-card h3 { padding-right: 72px; }
  .tab-panel { padding: 22px; }
  .shot-row { flex-direction: column; align-items: center; }
  .official-shot { margin-inline: auto; }
  .fact-row, .badge-row { flex-direction: row; flex-wrap: wrap; }
  .fact-row .fact { padding: 4px 7px; }
  .toc { position: static; gap: 6px 18px; padding: 12px 16px; }
  .article-store-card { grid-template-columns: minmax(0,1fr); }
  .dl-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; min-height: 52px; padding: 0; border-radius: var(--r-round); }
  .dl-fab svg { width: 20px; height: 20px; }
  .dl-fab span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .wx-open-tip { bottom: 80px; }
  .hero-grid { padding-top: 36px; row-gap: 48px; }
  .kicker { gap: 7px; margin-bottom: 24px; font-size: 11px; }
  .get-actions { margin-top: 24px; }
  .platforms { margin-top: 28px; padding-top: 18px; }
  .plats { gap: 10px 16px; }
  .peek h2 { font-size: 22px; }
  .orbit text { font-size: 16px; }
  .ipad { padding: 8px; }
  .screen { --lh: clamp(12px,3vw,19px); --gut: 26px; --pad-top: 14px; }
  .conf { font-size: clamp(5.5px,1.5vw,9px); }
  .conf .ln { padding-right: 7px; }
  .conf .cd { padding-left: 8px; }
  .swatch-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #install table, #install tbody, #install tr, #install td, #install th { display: block; width: 100%; min-width: 0; max-width: 100%; }
  #install thead { display: none; }
  #install tr { border-bottom: 1px solid var(--border); }
  #install td { border-bottom: 0; }
  #install td::before { content: attr(data-label); display: block; margin-bottom: 8px; color: var(--text); font-weight: var(--weight-heading); }
  #install td code { display: block; width: max-content; max-width: none; white-space: pre; overflow-wrap: normal; word-break: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .scan { animation: none; opacity: 1; transform: translateY(calc(var(--lh) * 4)); }
}