.get-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.get-actions > a { flex-shrink: 0; max-width: 100%; }
.get-note { margin: 16px 0 0; font-size: 13px; color: var(--text-muted); }
.get-note [data-pkg-ver] { font-family: var(--font-mono); font-size: 12.5px; }
.lead .get-note, .panel--dark .get-note { color: var(--on-dark-dim); }
.lead .get-note [data-pkg-ver] { color: var(--on-dark-soft); }
.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  max-width: 100%;
  padding: 10px 20px;
  border: 1px solid var(--clear);
  border-radius: var(--r-btn);
  background: var(--accent);
  color: var(--on-dark);
  box-shadow: var(--shadow-btn);
  line-height: 1.25;
  transition: background-color var(--duration);
}
.store-button:hover { background: var(--accent-dark); color: var(--on-dark); }
.store-button svg { width: 25px; height: 28px; }
.store-button__text { display: grid; gap: 3px; text-align: left; }
.store-button__text small { font-size: 12px; }
.store-button__text strong { font-size: 16px; font-weight: var(--weight-medium); }
.fact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fact-pill, .badge, .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: 100%;
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg-panel);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.badge { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent-soft); }
.tag { border-radius: var(--r-chip); }
.badge__dot { width: 6px; height: 6px; background: var(--success); border-radius: var(--r-pill); flex-shrink: 0; }
.panel--dark .fact-pill, .lead .fact-pill { background: var(--wash-on-dark); color: var(--on-dark-soft); border-color: var(--line-on-dark); }
.plat-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.plat-card { position: relative; flex: 1 1 290px; min-width: 0; padding: 32px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-float); }
.plat-card h3 { margin-top: 0; padding-right: 74px; }
.plat-card p { color: var(--text-muted); }
.plat-card::before { display: none; content: attr(data-mine); position: absolute; top: 16px; right: 16px; padding: 4px 9px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-dark); font-size: 12px; }
.plat-actions { display: flex; flex-wrap: wrap; align-items: center; 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; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - var(--gutter) * 2); padding: 20px 24px; border-radius: var(--r-float); border: 1px solid var(--border); background: var(--bg-panel); color: var(--text); box-shadow: var(--shadow-float); z-index: 60; overflow-wrap: anywhere; }
.wx-open-tip button { min-height: 44px; padding: 8px 14px; border-radius: var(--r-btn); border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.tabs [role="tablist"] { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.tabs [role="tab"] { min-height: 48px; padding: 12px 18px; border: 1px solid var(--border); border-radius: var(--r-btn); background: var(--bg-panel); color: var(--text-muted); text-align: left; }
.tabs [role="tab"][aria-selected="true"] { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent-soft); }
.tabs [role="tabpanel"] { min-width: 0; }
.tabs--features {
  display: grid;
  grid-template-columns: 40fr 60fr;
  background: var(--bg-panel-2);
  color: var(--on-dark);
  border-radius: var(--r-panel);
  overflow: clip;
}
.tabs--features [role="tablist"] { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 32px 24px; }
.tabs--features [role="tab"] { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 78px; padding: 16px; border: 0; border-bottom: 1px solid var(--line-on-dark); border-left: 2px solid var(--clear); border-radius: 0; background: var(--clear); color: var(--on-dark-dim); }
.tabs--features [role="tab"] svg { width: 20px; height: 20px; }
.feature-label { display: grid; gap: 4px; min-width: 0; }
.feature-label strong { font-size: 15px; font-weight: var(--weight-medium); }
.feature-label small { font-size: 12px; line-height: 1.6; }
.tabs--features [role="tab"][aria-selected="true"] { background: var(--wash-on-dark); color: var(--on-dark); border-left-color: var(--accent); }
.feature-panels { background: var(--field-mid); color: var(--on-dark); padding: 56px 40px; display: flex; align-items: center; }
.feature-panels [role="tabpanel"] { width: 100%; }
.feature-window { padding: 28px; border-radius: var(--r-float); border: 1px solid var(--hairline); background: var(--bg-panel); color: var(--text); box-shadow: var(--shadow-float); margin-bottom: 28px; }
.feature-window pre { padding: 0; border: 0; border-radius: 0; background: var(--bg-panel); color: var(--text); margin: 12px 0 0; }
.feature-copy { color: var(--on-dark); line-height: 1.85; margin-bottom: 0; }
.feature-fold { min-width: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r-float); background: var(--bg-panel); color: var(--text-muted); margin-bottom: 40px; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--r-btn); }
.toc a:hover, .toc a[aria-current="location"] { background: var(--accent-soft); color: var(--accent-dark); }
.toc--sticky { position: sticky; top: 16px; z-index: 10; }
.faq-group { border-radius: var(--r-float); overflow: clip; background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { position: relative; padding: 22px 56px 22px 24px; cursor: pointer; list-style: none; font-weight: var(--weight-medium); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 21px; font-size: 22px; color: var(--accent-dark); }
.faq-item[open] summary::after { content: "−"; }
.faq-item__body { padding: 0 24px 24px; color: var(--text-muted); }
.faq-item__body p:last-child { margin-bottom: 0; }
.term-card { padding: 28px; border-radius: var(--r-float); border: 1px solid var(--border); border-top: 2px solid var(--accent); background: var(--bg-panel); color: var(--text); }
.term-card h3 { margin: 12px 0; }
.term-card p { color: var(--text-muted); margin-bottom: 0; }
.term-card__keyword { color: var(--accent-dark); font-family: var(--font-mono); font-size: 13px; }
.device-card { display: flex; align-items: flex-start; gap: 20px; padding: 28px; border-radius: var(--r-float); border: 1px solid var(--border); background: var(--bg-panel); color: var(--text); }
.device-card svg { width: 40px; height: 48px; color: var(--accent-dark); }
.device-card h3 { margin: 0 0 10px; }
.device-card p { margin: 0; color: var(--text-muted); }
.device-card:hover { border-color: var(--accent); }
.article-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px; border-radius: var(--r-float); background: var(--bg-panel); color: var(--text); border: 1px solid var(--hairline); }
.article-card h3 { margin: 0; font-size: 23px; line-height: 1.45; }
.article-card p { margin: 0; color: var(--text-muted); }
.article-card__link { margin-top: auto; color: var(--accent-dark); font-size: 14px; }
.article-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.callout { margin: 24px 0; padding: 24px; background: var(--bg-panel); color: var(--text); border: 1px solid var(--hairline); border-radius: var(--r-float); box-shadow: var(--shadow-float); }
.callout__title { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.callout__title::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; background: var(--accent); border-radius: var(--r-pill); }
.callout p:last-child { margin-bottom: 0; }
.store-guide { margin-top: 40px; padding: 28px; border-radius: var(--r-float); background: var(--bg-panel); color: var(--text); border: 1px solid var(--border); }
.store-guide h2 { margin-top: 0; font-size: 24px; }
.store-guide p { color: var(--text-muted); }
.official-shot { width: 100%; max-width: 280px; flex-shrink: 0; margin: 0 auto; }
.official-shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.official-shot { border: 1px solid var(--border); border-radius: var(--r-shot); background: var(--bg-panel); color: var(--text-muted); }
.official-shot figcaption { padding: 14px 0 0; background: var(--bg); color: var(--text-muted); font-size: 13px; line-height: 1.6; }
.shot-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.shot-row > .official-shot { margin-inline: 0; }
.table-scroll { overflow-x: auto; max-width: 100%; min-width: 0; overscroll-behavior-inline: contain; }
.data-table { width: 100%; border-collapse: collapse; background: var(--bg-panel); color: var(--text); text-align: left; }
.data-table th, .data-table td,
.prose table th, .prose table td,
.doc-body table th, .doc-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, .doc-body table th { background: var(--paper-bar); color: var(--text); font-weight: var(--weight-medium); }
.prose table, .doc-body table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; border-collapse: collapse; overscroll-behavior-inline: contain; }
#install table code { white-space: pre; overflow-wrap: normal; word-break: normal; }
.dl-fab { position: fixed; right: 24px; bottom: 24px; z-index: 15; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 20px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-dark); box-shadow: var(--shadow-float); }
.dl-fab:hover { background: var(--accent-dark); color: var(--on-dark); }
.dl-fab svg { width: 20px; height: 20px; }
body.has-article-fab { padding-bottom: 88px; }

/* 仅供无脚本的设计预览使用。 */
.preview-section { padding-top: var(--section-gap); padding-bottom: var(--section-gap); }
.preview-section + .preview-section { padding-top: 0; }
.preview-section__head { margin-bottom: 36px; }
.preview-section__head h2 { margin-top: 12px; }
.preview-spaced { margin-top: 32px; }
.preview-logo { background: var(--bg-panel); color: var(--text); }
.preview-swatches { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 16px; }
.swatch { padding: 12px; border: 1px solid var(--border); border-radius: var(--r-btn); background: var(--bg-panel); color: var(--text); font-size: 12px; overflow-wrap: anywhere; }
.swatch::before { content: ""; display: block; height: 64px; margin-bottom: 12px; border-radius: var(--r-chip); border: 1px solid var(--hairline); }
.swatch--bg::before { background: var(--bg); }
.swatch--panel::before { background: var(--bg-panel); }
.swatch--teal::before { background: var(--bg-panel-2); }
.swatch--border::before { background: var(--border); }
.swatch--accent::before { background: var(--accent); }
.swatch--accent-dark::before { background: var(--accent-dark); }
.swatch--text::before { background: var(--text); }
.swatch--muted::before { background: var(--text-muted); }
.swatch--success::before { background: var(--success); }
.swatch--warn::before { background: var(--warn); }
.swatch--error::before { background: var(--error); }
.swatch--ink::before { background: var(--ink-teal); }
.swatch--mid::before { background: var(--field-mid); }
.swatch--end::before { background: var(--field-end); }
.swatch--dim::before { background: var(--on-dark-dim); }
.swatch--soft::before { background: var(--on-dark-soft); }
.swatch--dark-line::before { background: var(--line-on-dark); }
.swatch--dark-strong::before { background: var(--line-on-dark-strong); }
.swatch--dark-wash::before { background: var(--wash-on-dark); }
.swatch--accent-soft::before { background: var(--accent-soft); }
.swatch--accent-wash::before { background: var(--accent-wash); }
.swatch--halo::before { background: var(--success-halo); }
.swatch--paper::before { background: var(--paper); }
.swatch--bar::before { background: var(--paper-bar); }
.swatch--gutter::before { background: var(--code-gutter); }
.swatch--hairline::before { background: var(--hairline); }
.swatch--inset::before { background: var(--btn-inset); }
.swatch--blob-a::before { background: var(--blob-a); }
.swatch--blob-core::before { background: var(--blob-core); }
.swatch--blob-c::before { background: var(--blob-c); }
.swatch--orbit-line::before { background: var(--orbit-line); }
.swatch--orbit-dot::before { background: var(--orbit-dot); }
.swatch--orbit-text::before { background: var(--orbit-text); }
.swatch--veil::before { background: var(--veil); }
.swatch--clear::before { background: var(--clear); }
.shot-placeholder { display: grid; place-items: center; aspect-ratio: 750 / 1334; width: 100%; border-radius: var(--r-shot); background: var(--paper-bar); color: var(--text-muted); text-align: center; font-size: 13px; }
.preview-title { font-size: clamp(34px,3.5vw,48px); font-weight: var(--weight-normal); line-height: 1.17; }
.preview-static-tabs [role="tabpanel"]:not([hidden]) { display: block; }
@media (max-width: 900px) {
  .tabs--features { grid-template-columns: minmax(0,1fr); }
  .feature-panels { padding: 32px 24px; }
  .tabs--features.is-accordion { display: block; }
  .tabs--features.is-accordion [role="tablist"] { display: block; padding: 16px; }
  .tabs--features.is-accordion .feature-panels { display: none; }
  .feature-fold > [role="tabpanel"] { padding: 24px 12px; }
  .feature-fold > [role="tab"] { position: relative; padding-right: 34px; }
  .feature-fold > [role="tab"]::after { content: "+"; position: absolute; right: 12px; }
  .feature-fold > [role="tab"][aria-selected="true"]::after { content: "−"; }
}
@media (max-width: 640px) {
  .fact-row { flex-direction: row; justify-content: center; gap: 6px; }
  .fact-pill { font-size: 11px; padding: 4px 8px; }
  .plat-card { padding: 24px; flex-basis: 100%; }
  .plat-actions .btn { flex: 1 1 160px; }
  .shot-row { flex-direction: column; align-items: center; }
  .shot-row > .official-shot { margin-inline: auto; }
  .device-card { padding: 24px; gap: 16px; }
  .feature-window { padding: 20px; }
  .faq-item summary { padding-left: 20px; }
  .faq-item__body { padding-inline: 20px; }
  .dl-fab { width: 52px; height: 52px; min-height: 52px; right: 16px; bottom: 16px; padding: 0; }
  .dl-fab__text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #install table, #install tbody, #install tr, #install th, #install td { display: block; width: 100%; min-width: 0; }
  #install thead { display: none; }
  #install tr { margin-bottom: 16px; border: 1px solid var(--border); border-radius: var(--r-btn); background: var(--bg-panel); color: var(--text); }
  #install td { border-bottom: 0; }
  #install td + td { border-top: 1px solid var(--border); }
  #install td::before { content: attr(data-label); display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 12px; }
  #install table code { display: block; max-width: 100%; overflow-x: auto; white-space: pre; word-break: normal; overflow-wrap: normal; padding-bottom: 4px; }
  .preview-title { font-size: 30px; }
}