.get-actions, .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.get-actions > * { min-width: 0; }
.get-note { margin: 16px 0 0; font-size: 13.5px; color: var(--c-muted); }
.get-note .ver { font-family: var(--f-mono); font-size: 12.5px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--c-panel); color: var(--c-text); }
.appstore-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; max-width: 100%; padding: 10px 24px; border-radius: var(--r-pill);
  background: var(--c-accent-dark); color: var(--c-white); box-shadow: var(--shadow-btn);
  line-height: 1.25; transition: transform var(--time-fast) var(--ease);
}
.appstore-btn:hover { transform: translateY(-1px); }
.appstore-btn svg { width: 26px; height: 30px; flex: none; }
.appstore-copy { display: block; }
.appstore-copy small { display: block; font-size: 11px; margin-bottom: 3px; }
.appstore-copy b { display: block; font-size: 16px; font-weight: var(--fw-medium); }
.fact-row, .badge-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fact-row { margin-top: 24px; }
.fact, .badge {
  display: inline-flex; align-items: center; gap: 7px; max-width: 100%;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--c-panel); color: var(--c-muted); font-size: var(--fs-tiny);
  overflow-wrap: anywhere;
}
.fact svg, .badge svg { width: 14px; height: 14px; flex: none; }
.status-dot { width: 6px; height: 6px; flex: none; border-radius: var(--r-circle); background: var(--c-success); }
.badge-outline { box-shadow: inset 0 0 0 1px var(--c-border); background: var(--c-white); color: var(--c-muted); }

.tabs { min-width: 0; }
.tab-rail { max-width: 100%; overflow-x: auto; padding: 12px 8px 32px; scrollbar-width: thin; }
[role="tablist"] {
  display: flex; align-items: center; gap: 4px; width: max-content; min-width: 0;
  margin-inline: auto; padding: 7px; border-radius: var(--r-pill);
  background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-float);
}
[role="tab"] {
  flex-shrink: 0; border: 0; border-radius: var(--r-pill); min-height: 48px; padding: 12px 20px;
  background: var(--c-white); color: var(--c-muted); font-size: var(--fs-small);
}
[role="tab"][aria-selected="true"] { background: var(--c-accent-soft); color: var(--c-accent-dark); }
[role="tab"][aria-selected="true"] span { background: var(--grad-accent); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: var(--c-clear); }
[role="tabpanel"] { min-width: 0; }
.feature-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 72px; margin-top: 32px; }
.feature-copy p { color: var(--c-muted); line-height: 1.85; }
.feature-stage { display: grid; align-content: center; padding: 48px; min-height: 360px; border-radius: var(--r-section); background: var(--c-panel); color: var(--c-text); }
.feature-stage .card { min-width: 0; }
.feature-stage pre { margin: 0; padding: 0; background: var(--c-white); color: var(--c-text); }
.toc {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0;
  padding: 12px; margin-bottom: 40px; border-radius: var(--r-card);
  background: var(--c-panel); color: var(--c-text);
}
.toc a { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 16px; border-radius: var(--r-pill); font-size: var(--fs-small); }
.toc a:hover, .toc a[aria-current] { background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-chip); }
.toc-sticky { position: sticky; top: 16px; z-index: 10; }
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 0 24px; border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); }
.faq-item summary { display: flex; gap: 20px; justify-content: space-between; align-items: center; min-height: 76px; padding-block: 20px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font-size: 22px; color: var(--c-muted); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding-bottom: 24px; color: var(--c-muted); }
.faq-answer p:last-child { margin-bottom: 0; }
.term-card { padding: var(--space-card); border-radius: var(--r-card); background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-card); }
.term-card dt { font-family: var(--f-mono); font-size: 20px; margin-bottom: 12px; overflow-wrap: anywhere; }
.term-card dd { margin: 0; color: var(--c-muted); }
.callout { margin: 28px 0; padding: 24px 28px; border-radius: var(--r-card); border-left: 3px solid var(--c-alu-edge); background: var(--c-panel); color: var(--c-text); }
.callout p:last-child { margin-bottom: 0; }
.callout-title { font-weight: var(--fw-medium); margin-bottom: 8px; }

.plat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plat-card { position: relative; min-width: 0; padding: 32px; border-radius: var(--r-card); background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-card); }
.plat-card h3 { margin-top: 8px; }
.plat-card p { color: var(--c-muted); }
.plat-card::before {
  content: attr(data-mine); display: none; position: absolute; right: 20px; top: 18px;
  padding: 4px 10px; border-radius: var(--r-pill); font-size: var(--fs-tiny);
  background: var(--c-panel); color: var(--c-text);
}
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; }
.plat-icon { width: 28px; height: 28px; color: var(--c-muted); margin-bottom: 14px; }
.plat-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.plat-actions .btn { padding-inline: 22px; }
.wx-open-tip {
  position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 32px); padding: 20px 24px;
  border: 1px solid var(--c-border); border-radius: var(--r-card);
  background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-float);
  font-size: var(--fs-small); overflow-wrap: anywhere;
}
.official-shot { width: min(100%, 280px); margin: 0 auto; padding: 0; flex-shrink: 0; min-width: 0; }
.official-shot img { display: block; width: 100%; height: auto; border-radius: var(--r-shot); }
.official-shot img { box-shadow: 0 0 0 1px var(--c-border); }
.official-shot figcaption { margin-top: 14px; text-align: center; font-size: var(--fs-small); color: var(--c-muted); }
.shot-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 40px; }
.device-entry { display: flex; align-items: flex-start; gap: 24px; padding: var(--space-card); border-radius: var(--r-card); background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-card); }
.device-entry > div { min-width: 0; }
.device-entry svg { width: 42px; height: 54px; flex: none; color: var(--c-muted); }
.device-entry h3 { margin-bottom: 8px; }
.device-entry p { margin-bottom: 0; font-size: var(--fs-small); color: var(--c-muted); }
.article-card { display: flex; flex-direction: column; gap: 16px; padding: var(--space-card); border-radius: var(--r-card); background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-card); }
.article-card h3 { font-size: 22px; margin: 0; }
.article-card h3 a::after { content: " ↗"; font-size: 16px; color: var(--c-muted); }
.article-card p { color: var(--c-muted); font-size: var(--fs-small); margin: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--c-muted); font-size: var(--fs-tiny); }
.article-card .text-link { margin-top: auto; }
.store-guide { padding: 32px; border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); }
.store-guide .get-actions { margin-top: 24px; }
.dl-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 8px 18px 8px 8px; border-radius: var(--r-pill);
  background: var(--c-white); color: var(--c-text);
  box-shadow: inset 0 0 0 1px var(--c-border), var(--shadow-float);
  font-size: var(--fs-small); font-weight: var(--fw-medium);
  transition: transform var(--time-fast) var(--ease);
}
.dl-fab:hover { transform: translateY(-1px); }
.dl-fab-ico { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: var(--r-circle); background: var(--c-panel); color: var(--c-text); }
.dl-fab-ico svg { width: 16px; height: 16px; }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); color: var(--c-text); }
.data-table th, .data-table td, .prose table th, .prose table td {
  min-width: 7em; padding: 18px 20px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--c-border); overflow-wrap: normal; word-break: normal;
}
.data-table th, .prose table th { background: var(--c-panel); color: var(--c-text); font-weight: var(--fw-medium); }
.prose table, .article-body table {
  display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
  max-width: 100%; min-width: 0; border-collapse: collapse;
}
.article-body table th, .article-body table td { min-width: 7em; padding: 18px 20px; overflow-wrap: normal; word-break: normal; }
#install table code { word-break: normal; overflow-wrap: normal; white-space: pre; display: inline-block; max-width: 100%; overflow-x: auto; vertical-align: top; }

.rig-frame { width: calc(744px * var(--k)); height: calc(636px * var(--k)); }
.rig { position: relative; width: 744px; height: 636px; margin: 0; transform: scale(var(--k)); transform-origin: 0 0; }
.stage { position: absolute; inset: 0; border-radius: var(--r-section); background: var(--c-panel); color: var(--c-text); overflow: hidden; }
.stage::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--c-alu-2) 1px, var(--c-clear) 1.5px);
  background-size: 22px 22px; opacity: .6;
  mask-image: radial-gradient(ellipse 80% 75% at 50% 48%, var(--c-text) 0, var(--c-clear) 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 48%, var(--c-text) 0, var(--c-clear) 78%);
}
.stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 48% at 44% 46%, var(--c-white) 0, var(--c-clear) 72%); opacity: .85; }
.disc { position: absolute; z-index: 1; display: grid; place-items: center; border-radius: var(--r-circle); font-family: var(--f-mono); font-weight: var(--fw-semibold); letter-spacing: .06em; }
.disc-proxy {
  left: 14px; top: 14px; width: 132px; height: 132px; font-size: 12px; color: var(--c-white);
  background: radial-gradient(circle at 30% 26%, var(--c-disc-gloss) 0, var(--c-clear) 30%), linear-gradient(150deg, var(--c-grad-a), var(--c-grad-b) 62%, var(--c-accent-dark));
  box-shadow: inset -12px -16px 28px var(--c-disc-shade), inset 10px 12px 20px var(--c-disc-light), var(--shadow-disc-accent);
}
.disc-direct {
  left: 582px; top: 476px; width: 104px; height: 104px; font-size: 11.5px; color: var(--c-text);
  background: radial-gradient(circle at 30% 26%, var(--c-white) 0, var(--c-clear) 40%), linear-gradient(150deg, var(--c-white), var(--c-pearl));
  box-shadow: inset -10px -14px 24px var(--c-pearl-shade), inset 8px 10px 16px var(--c-white), var(--shadow-disc);
}
.disc-final {
  left: 600px; top: 34px; width: 72px; height: 72px; font-size: 10.5px; color: var(--c-accent-dark);
  background: radial-gradient(circle at 30% 26%, var(--c-white) 0, var(--c-clear) 42%), linear-gradient(150deg, var(--c-accent-soft), var(--c-lilac-deep));
  box-shadow: inset -8px -10px 18px var(--c-pearl-shade), inset 6px 8px 12px var(--c-white), var(--shadow-disc);
}
.slate {
  position: absolute; z-index: 2; left: 40px; top: 92px; width: 580px; height: 420px;
  padding: 14px; border-radius: var(--r-ipad); color: var(--c-text);
  background: linear-gradient(160deg, var(--c-alu-1), var(--c-alu-2));
  box-shadow: var(--shadow-device), inset 0 0 0 1px var(--c-alu-edge), inset 0 1.5px 0 var(--c-white);
}
.slate::before { content: ""; position: absolute; top: -2px; right: 72px; width: 42px; height: 3px; border-radius: var(--r-pill); background: var(--c-alu-edge); }
.slate-cam { position: absolute; top: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: var(--r-circle); background: var(--c-camera); box-shadow: 0 0 0 1px var(--c-alu-edge); }
.slate-screen { position: relative; height: 100%; border-radius: var(--r-screen); background: var(--c-white); color: var(--c-text); overflow: hidden; box-shadow: inset 0 0 0 1px var(--c-border); }
.doc-head { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 22px; border-bottom: 1px solid var(--c-panel-2); font-family: var(--f-mono); font-size: 12px; color: var(--c-muted); }
.doc-dots { display: inline-flex; gap: 6px; flex: none; }
.doc-dots i { width: 8px; height: 8px; border-radius: var(--r-circle); background: var(--c-error); opacity: .7; flex: none; }
.doc-dots i:nth-child(2) { background: var(--c-warn); }
.doc-dots i:nth-child(3) { background: var(--c-success); }
.doc-title { color: var(--c-text); font-weight: var(--fw-medium); }
.doc-req { margin-left: auto; }
.doc-req b { color: var(--c-text); font-weight: var(--fw-medium); }
.match { --row-h: 46px; --cols: 152px minmax(0, 1fr) 78px; }
.match-head { display: grid; grid-template-columns: var(--cols); align-items: center; height: 30px; margin: 0 50px 0 22px; padding-left: 16px; font-size: 11.5px; color: var(--c-muted); letter-spacing: .02em; }
.match-head span:last-child { justify-self: end; }
.match-rows { position: relative; margin: 0 50px 0 22px; }
.match-row { position: relative; z-index: 1; display: grid; grid-template-columns: var(--cols); align-items: center; height: var(--row-h); padding-left: 16px; border-bottom: 1px solid var(--c-panel-2); font-family: var(--f-mono); font-size: 12.5px; color: var(--c-text); }
.match-row:last-child { border-bottom: 0; }
.match-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c-accent-tint); }
.match-row.g-start::before { top: 8px; border-top-left-radius: var(--r-pill); border-top-right-radius: var(--r-pill); }
.match-row.g-end::before { bottom: 8px; border-bottom-left-radius: var(--r-pill); border-bottom-right-radius: var(--r-pill); }
.match-row.g-final::before { background: var(--c-alu-2); }
.c-type { font-weight: var(--fw-medium); }
.c-val { color: var(--c-muted); }
.c-rest { font-family: var(--f-body); font-size: 12px; }
.c-pol { justify-self: end; }
.pill { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 10px; border-radius: var(--r-pill); font-family: var(--f-mono); font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: .04em; }
.pill-proxy { color: var(--c-white); background: var(--grad-accent); }
.pill-direct { color: var(--c-text); background: var(--c-panel-2); }
.sweep { position: absolute; z-index: 0; left: -8px; right: -8px; top: 0; height: var(--row-h); opacity: 0; animation: rule-sweep 6s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes rule-sweep {
  0% { opacity: 0; transform: translateY(0); }
  6%, 22% { opacity: 1; transform: translateY(0); }
  32%, 68% { opacity: 1; transform: translateY(100%); }
  80% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 0; transform: translateY(0); }
}
.note-card {
  position: absolute; z-index: 3; left: 568px; top: 205px; width: 176px; margin: 0;
  padding: 15px 16px 16px 18px; border: 1.5px solid var(--c-clear); border-radius: var(--r-card);
  background: linear-gradient(var(--c-white), var(--c-white)) padding-box, var(--grad-accent-diag) border-box;
  color: var(--c-text); box-shadow: var(--shadow-card); font-size: 13px; line-height: 1.62;
}
.note-card::before { content: ""; position: absolute; left: -7.5px; top: 38px; width: 12px; height: 12px; background: var(--c-white); border-left: 1.5px solid var(--c-grad-a); border-bottom: 1.5px solid var(--c-grad-a); border-bottom-left-radius: var(--r-small); transform: rotate(45deg); }
.note-card code { font-size: 12px; font-weight: var(--fw-semibold); padding: 1px 6px; border-radius: var(--r-pill); background: var(--c-panel); color: var(--c-text); }
.route-card { position: absolute; z-index: 3; left: 16px; top: 470px; padding: 14px 16px 15px; border-radius: var(--r-card); background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--c-panel-2); }
.route-k { margin: 0 0 10px 2px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--c-muted); }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--c-panel); color: var(--c-muted); }
.seg span { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--r-pill); font-size: 12.5px; }
.seg .on { background: var(--c-accent-soft); color: var(--c-accent-dark); box-shadow: inset 0 0 0 1px var(--c-accent-tint); }
.route-cap { margin: 10px 2px 0; font-size: 12px; color: var(--c-muted); }
.route-cap code { font-size: 11.5px; color: var(--c-text); }

.preview-section { margin-top: var(--section-gap); }
.preview-section > h2 { margin-bottom: 40px; }
.preview-stack { display: grid; gap: 24px; }
.preview-buttons { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.swatch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.swatch { min-width: 0; margin: 0; padding: 12px; border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); }
.swatch-sample { display: block; height: 72px; border-radius: var(--r-mark); box-shadow: inset 0 0 0 1px var(--c-border); }
.swatch figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: 11px; overflow-wrap: anywhere; }
.sw-bg { background: var(--c-bg); }
.sw-panel { background: var(--c-panel); }
.sw-panel2 { background: var(--c-panel-2); }
.sw-border { background: var(--c-border); }
.sw-accent { background: var(--c-accent); }
.sw-dark { background: var(--c-accent-dark); }
.sw-text { background: var(--c-text); }
.sw-muted { background: var(--c-muted); }
.sw-success { background: var(--c-success); }
.sw-warn { background: var(--c-warn); }
.sw-error { background: var(--c-error); }
.sw-white { background: var(--c-white); }
.sw-a { background: var(--c-grad-a); }
.sw-b { background: var(--c-grad-b); }
.sw-soft { background: var(--c-accent-soft); }
.sw-tint { background: var(--c-accent-tint); }
.sw-alu1 { background: var(--c-alu-1); }
.sw-alu2 { background: var(--c-alu-2); }
.sw-edge { background: var(--c-alu-edge); }
.sw-camera { background: var(--c-camera); }
.sw-pearl { background: var(--c-pearl); }
.sw-pearlshade { background: var(--c-pearl-shade); }
.sw-lilac { background: var(--c-lilac); }
.sw-lilacdeep { background: var(--c-lilac-deep); }
.sw-gloss { background: var(--c-disc-gloss); }
.sw-shade { background: var(--c-disc-shade); }
.sw-light { background: var(--c-disc-light); }
.sw-glow { background: var(--c-glow); }
.sw-veil { background: var(--c-veil); }
.sw-clear { background: var(--c-clear); }
.shot-placeholder {
  display: grid; place-content: center; text-align: center; width: 100%; aspect-ratio: 750 / 1334;
  border-radius: var(--r-shot); padding: 24px; background: var(--c-panel-2); color: var(--c-muted);
  box-shadow: inset 0 0 0 1px var(--c-border); font-size: var(--fs-small);
}
.type-display { font-family: var(--f-display); font-size: var(--fs-h1); line-height: var(--lh-heading); }
.preview-static .sweep { animation: none; opacity: 1; transform: translateY(100%); }

@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; gap: 32px; }
  .feature-stage { min-height: 280px; padding: 32px; }
}
@media (max-width: 640px) {
  .plat-grid { grid-template-columns: 1fr; }
  .plat-card { padding: 28px 24px; }
  .official-shot { margin-inline: auto; }
  .shot-row { flex-direction: column; align-items: center; }
  .fact-row, .badge-row { flex-direction: row; flex-wrap: wrap; }
  .dl-fab { width: 52px; height: 52px; min-height: 52px; padding: 0; right: 16px; bottom: 16px; justify-content: center; }
  .dl-fab-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .dl-fab-ico { width: 36px; height: 36px; }
  .swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-item { padding-inline: 20px; }
  .feature-stage { padding: 24px; }
  .wx-open-tip { bottom: 80px; }
  #install table { display: block; width: 100%; }
  #install thead { display: none; }
  #install tbody, #install tr, #install td { display: block; width: 100%; min-width: 0; }
  #install tr { margin-bottom: 20px; padding: 16px; border-radius: var(--r-card); background: var(--c-panel); color: var(--c-text); }
  #install td { padding: 8px 0; border: 0; }
  #install td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-weight: var(--fw-medium); }
  #install code { word-break: normal; overflow-wrap: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .sweep { animation: none; opacity: 1; transform: translateY(100%); }
}