.get-actions, .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.get-actions > *, .cta-row > * { min-width: 0; }
.get-note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.get-note [data-pkg-ver] { font-family: var(--font-mono); color: var(--text); }
.appstore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  max-width: 100%;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  border-radius: var(--r-btn);
  background: var(--accent);
  color: var(--on-accent);
  text-align: left;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  transition: background-color var(--speed) var(--ease);
}
.appstore-btn:hover, .appstore-btn:active { background: var(--accent-dark); color: var(--on-accent); }
.appstore-btn svg { width: 25px; height: 29px; flex-shrink: 0; }
.appstore-btn span { min-width: 0; }
.appstore-btn small { display: block; font-size: 11px; line-height: 1.3; }
.appstore-btn strong { display: block; font-size: 16px; line-height: 1.4; font-weight: 500; }
.facts, .chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; margin: 18px 0 0; list-style: none; }
.fact, .chip, .badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text);
  font: 500 12px/1.4 var(--font-mono);
  overflow-wrap: anywhere;
  text-decoration: none;
}
.fact { font-family: var(--font-body); color: var(--text-muted); }
.chip::before, .badge-dot::before { content: ""; width: 5px; height: 5px; flex-shrink: 0; border-radius: var(--r-dot); background: var(--accent); }
.badge-success { color: var(--success-ink); background: var(--bg-panel); }
.badge-warn { color: var(--warn-ink); background: var(--bg-panel); }
.badge-error { color: var(--error-ink); background: var(--bg-panel); }
.kw { padding: 3px 6px; border-radius: var(--r-code); background: var(--bg-panel); color: var(--accent-dark); border: 1px solid var(--border); font: 500 .86em/1.5 var(--font-mono); overflow-wrap: anywhere; }
.tabs { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 32px; }
.tabs [role="tablist"] { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tabs [role="tab"] {
  position: relative;
  display: block;
  min-height: 66px;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: var(--r-btn);
  background: var(--bg);
  color: var(--text-muted);
  text-align: left;
  font-size: 14px;
}
.tabs [role="tab"] strong { display: block; color: var(--text); font: 500 14px/1.5 var(--font-mono); }
.tabs [role="tab"] span { display: block; margin-top: 3px; font-size: 13px; }
.tabs [role="tab"][aria-selected="true"] { background: var(--bg-panel); color: var(--accent-dark); }
.tabs [role="tab"][aria-selected="true"]::before { content: ""; position: absolute; inset: 10px auto 10px 0; width: 2px; background: var(--accent); }
.tab-panel { display: flex; flex-direction: column; min-height: 460px; padding: 32px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-card); }
.tab-panel h3 { margin: 0 0 16px; }
.tab-panel p { color: var(--text-muted); }
.tab-field { display: grid; align-items: center; margin: auto -32px -32px; min-height: 190px; padding: 28px 32px; border-radius: 0 0 var(--r-card) var(--r-card); background: linear-gradient(115deg,var(--field-apricot),var(--field-rose),var(--field-violet),var(--field-ice)); color: var(--text); }
.tab-field pre { margin: 0; background: var(--bg); color: var(--text); box-shadow: var(--shadow-card); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; margin-bottom: 32px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 7px 12px; border-radius: var(--r-btn); color: var(--text-muted); text-decoration: none; font-size: 14px; }
.toc a:hover, .toc a[aria-current] { background: var(--bg-panel); color: var(--accent-dark); }
.toc-sticky { position: sticky; top: 12px; z-index: 5; }
.faq-list { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-soft); }
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-item summary { position: relative; padding: 20px 48px 20px 24px; cursor: pointer; list-style: none; font-weight: 500; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 20px; color: var(--accent); }
.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 24px 20px; color: var(--text-muted); }
.faq-body p:last-child { margin-bottom: 0; }
.term-card { padding: 24px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-soft); }
.term-card h3 { margin: 12px 0; font-family: var(--font-mono); font-size: 18px; }
.term-card p { color: var(--text-muted); }
.term-card p:last-child { margin-bottom: 0; }
.plat-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.plat-card { position: relative; flex: 1 1 340px; min-width: 0; padding: 28px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-card); }
.plat-card h3 { margin: 8px 0 12px; }
.plat-card p { color: var(--text-muted); }
.plat-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: 20px; }
.plat-actions .btn { flex: 0 1 auto; }
.plat-icon { width: 28px; height: 28px; color: var(--text-muted); flex-shrink: 0; }
.plat-card::before { content: attr(data-mine); display: none; position: absolute; top: 20px; right: 20px; padding: 4px 9px; border: 1px solid var(--accent-line); border-radius: var(--r-pill); background: var(--bg-panel); color: var(--accent-dark); font-size: 11px; }
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; left: 50%; bottom: max(20px,env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 80; width: max-content; max-width: calc(100% - 32px); padding: 16px 20px; border: 1px solid var(--border-strong); border-radius: var(--r-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-lift); font-size: 14px; }
.official-shot { width: 100%; max-width: 280px; margin: 0 auto; flex-shrink: 0; }
.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); color: var(--text-muted); }
.official-shot figcaption { padding: 12px 14px; font-size: 12px; line-height: 1.6; }
.shot-row { display: flex; align-items: flex-start; justify-content: center; gap: 28px; }
.device-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.device-entry { display: flex; align-items: center; gap: 20px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); text-decoration: none; box-shadow: var(--shadow-soft); }
.device-entry:hover { background: var(--bg-panel-2); color: var(--text); }
.device-entry svg { width: 36px; height: 44px; flex-shrink: 0; color: var(--text-muted); }
.device-entry strong { display: block; font-weight: 500; }
.device-entry p { margin: 5px 0 0; color: var(--text-muted); font-size: 13px; }
.article-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-soft); }
.article-card h3 { margin: 18px 0 12px; font-size: 20px; }
.article-card h3 a { color: var(--text); text-decoration: none; }
.article-card h3 a:hover { color: var(--accent); }
.article-card p { color: var(--text-muted); font-size: 14px; }
.article-card .article-link { margin-top: auto; padding-top: 16px; font-size: 13px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--text-muted); font-size: 12px; }
.callout { margin: 24px 0; padding: 20px 24px; border: 1px solid var(--border); border-left: 2px solid var(--accent); border-radius: var(--r-btn); background: var(--bg-panel); color: var(--text); }
.callout p:last-child { margin-bottom: 0; }
.article-store-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); }
.article-store-card h2 { margin-top: 0; font-size: 24px; }
.article-store-card p { color: var(--text-muted); }
.dl-fab { position: fixed; right: 24px; bottom: max(24px,env(safe-area-inset-bottom)); z-index: 25; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; max-width: calc(100% - 48px); padding: 14px 20px; border: 1px solid var(--accent); border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-btn); text-decoration: none; font-size: 14px; }
.dl-fab:hover { background: var(--accent-dark); color: var(--on-accent); }
.dl-fab svg { width: 20px; height: 20px; flex-shrink: 0; }
.has-dl-fab { padding-bottom: 88px; }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-block: 24px; border: 1px solid var(--border); border-radius: var(--r-card); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.data-table th, .data-table td,
.prose table th, .prose table td,
.article-body table th, .article-body table td { min-width: 7em; padding: 16px; border-bottom: 1px solid var(--border); vertical-align: top; overflow-wrap: normal; word-break: normal; }
.data-table th, .prose table th, .article-body table th { background: var(--bg-panel); color: var(--text); font-weight: 500; }
.data-table td { background: var(--bg); color: var(--text); }
.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; }
.prose table code, .data-table code, .article-body table code { overflow-wrap: anywhere; word-break: normal; }
.hero { height: var(--hero-h); overflow: hidden; }
.hero-inner { position: relative; height: 100%; padding-top: 44px; }
.stage { position: absolute; top: 0; right: -100px; width: 1100px; height: var(--hero-h); z-index: 0; pointer-events: none; }
.stage > svg { position: absolute; left: 0; top: 0; width: 1100px; height: 752px; overflow: visible; }
.c-apricot { stop-color: var(--rb-apricot); }
.c-rose { stop-color: var(--rb-rose); }
.c-violet { stop-color: var(--rb-violet); }
.c-ice { stop-color: var(--rb-ice); }
.c-white { stop-color: var(--rb-white); }
.a0 { stop-opacity: 0; }
.a35 { stop-opacity: .35; }
.a50 { stop-opacity: .5; }
.a60 { stop-opacity: .6; }
.a70 { stop-opacity: .7; }
.a85 { stop-opacity: .85; }
.a100 { stop-opacity: 1; }
.ly-halo { opacity: .55; }
.ly-base { opacity: .94; }
.ly-ice { opacity: .78; }
.ly-rose { opacity: .6; }
.ly-apricot { opacity: .66; }
.ly-warm { opacity: .55; }
.ly-sheen { opacity: .5; }
.ly-strand { opacity: .92; }
.fibers { fill: none; stroke: var(--rb-white); stroke-width: .5; stroke-linecap: round; }
.fibers path, .fibers use { stroke-opacity: .28; }
.fibers use:nth-child(3n) { stroke-opacity: .5; }
.fibers use:nth-child(3n + 1) { stroke-opacity: .2; }
.link { fill: none; stroke: var(--text-faint); stroke-width: 1; stroke-dasharray: 3 4; opacity: .75; }
.rule { position: absolute; left: 700px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 14px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text-muted); box-shadow: var(--shadow-card); font: 400 13px/1 var(--font-mono); white-space: nowrap; }
.rule-a { top: 447px; }
.rule-b { top: 537px; }
.rule-c { top: 627px; }
.rule .k { color: var(--text); font-weight: 500; }
.rule .p { color: var(--accent-dark); font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: var(--r-dot); flex-shrink: 0; }
.dot-apricot { background: var(--rb-apricot); box-shadow: 0 0 0 3px var(--rb-apricot-halo); }
.dot-ice { background: var(--rb-ice); box-shadow: 0 0 0 3px var(--rb-ice-halo); }
.dot-violet { background: var(--rb-violet); box-shadow: 0 0 0 3px var(--rb-violet-halo); }
.hero-grid { position: relative; z-index: 2; width: 600px; display: grid; grid-template-columns: minmax(0,1fr) 180px; gap: 16px; }
.cell { border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-soft); }
.cell-main { grid-column: 1 / -1; position: relative; overflow: hidden; padding: 36px 40px 34px; background: var(--bg); color: var(--text); box-shadow: var(--shadow-card); }
.cell-main::before { content: ""; position: absolute; inset: auto 0 0; height: 44%; background: linear-gradient(100deg,var(--clear) 34%,var(--field-apricot) 62%,var(--field-rose) 82%,var(--field-violet)); mask-image: linear-gradient(to bottom,var(--clear),var(--mask-solid) 70%); pointer-events: none; }
.cell-main > * { position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 8px; min-height: 26px; padding: 4px 11px; margin: 0; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text-muted); font-size: 12.5px; line-height: 1.3; }
.kicker i { width: 6px; height: 6px; border-radius: var(--r-dot); background: var(--accent); flex-shrink: 0; }
.hero .h1 { margin: 22px 0 0; font-weight: 400; }
.h1-ink { white-space: nowrap; }
.lede { margin: 18px 0 0; max-width: 500px; color: var(--text-muted); font-size: 16px; line-height: 1.72; }
.lede strong { color: var(--text); font-weight: 500; }
.cell-platforms { padding: 15px 18px 14px; background: var(--bg-panel); color: var(--text); }
.cell-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cell-title { margin: 0; color: var(--text); font-size: 13px; font-weight: 500; line-height: 1.4; }
.price-pill { display: inline-flex; align-items: center; max-width: 100%; padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg); color: var(--accent-dark); font: 500 11.5px/1.4 var(--font-body); }
.plat-list { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; }
.plat-list a { display: flex; flex-direction: column; align-items: center; gap: 7px; min-height: 48px; padding: 7px 0 5px; border-radius: var(--r-btn); color: var(--text-muted); font-size: 11.5px; line-height: 1.2; text-decoration: none; }
.plat-list a:hover { background: var(--bg); color: var(--accent); }
.plat-list svg { width: 20px; height: 20px; display: block; }
.plat-list .ico-win { width: 17px; height: 17px; margin: 1.5px 0; }
.cell-ref { display: block; padding: 15px 16px 14px; background: var(--bg-panel-2); color: var(--text); text-decoration: none; }
.cell-ref:hover { color: var(--text); }
.ref-top { display: flex; align-items: center; justify-content: space-between; }
.ref-arrow { color: var(--accent); font-size: 14px; line-height: 1; }
.ref-sub { margin: 2px 0 0; color: var(--text-muted); font: 400 11.5px/1.4 var(--font-mono); }
.ref-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.ref-tags span { padding: 5px 7px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg); color: var(--text-muted); font: 500 11px/1 var(--font-mono); }
.peek { border-top: 1px solid var(--border); padding-top: 36px; padding-bottom: 72px; }
.peek .h2 { margin: 16px 0 0; }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 12px; }
.swatch { padding: 12px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); font: 12px/1.5 var(--font-mono); }
.swatch::before { content: ""; display: block; height: 52px; margin-bottom: 10px; border: 1px solid var(--border); border-radius: var(--r-code); background: var(--sample); }
.sw-bg { --sample: var(--bg); }
.sw-panel { --sample: var(--bg-panel); }
.sw-panel2 { --sample: var(--bg-panel-2); }
.sw-border { --sample: var(--border); }
.sw-border-strong { --sample: var(--border-strong); }
.sw-accent { --sample: var(--accent); }
.sw-accent-dark { --sample: var(--accent-dark); }
.sw-text { --sample: var(--text); }
.sw-muted { --sample: var(--text-muted); }
.sw-faint { --sample: var(--text-faint); }
.sw-success { --sample: var(--success); }
.sw-warn { --sample: var(--warn); }
.sw-error { --sample: var(--error); }
.sw-apricot { --sample: var(--rb-apricot); }
.sw-rose { --sample: var(--rb-rose); }
.sw-ice { --sample: var(--rb-ice); }
.sw-field { --sample: linear-gradient(110deg,var(--field-apricot),var(--field-rose),var(--field-violet),var(--field-ice)); }
.shot-placeholder { display: grid; place-items: center; width: 100%; aspect-ratio: 750 / 1334; border-radius: var(--r-shot); background: var(--bg-panel); color: var(--text-muted); font: 13px/1.7 var(--font-mono); text-align: center; }
.preview-stack { display: grid; gap: 24px; }
.preview-static-nav { margin-left: auto; }
.preview-header .lang { margin-left: 0; }
@media (max-width: 1280px) {
  .preview-static-nav { order: 3; flex-basis: 100%; margin: 0; }
  .preview-header { flex-wrap: wrap; padding-top: 12px; }
  .preview-header > .lang { margin-left: auto; }
  .preview-static-nav .nav-list { flex-wrap: wrap; }
  .preview-static-nav .nav-list a { min-height: 40px; }
  .preview-static-nav .nav-list li + li::before { margin-inline: 8px; }
}
@media (max-width: 900px) {
  .hero { height: auto; padding-bottom: 36px; }
  .hero-inner { padding-top: 0; }
  .stage { position: relative; right: auto; width: auto; height: 200px; margin-inline: calc(var(--gutter) * -1); overflow: hidden; }
  .stage > svg { left: auto; top: -28px; right: -34px; transform: scale(.46); transform-origin: 100% 0; }
  .strand-b, .strand-c, .stage .link, .rule-b, .rule-c { display: none; }
  .rule-a { left: 20px; top: auto; bottom: 14px; height: 40px; font-size: 12px; }
  .hero-grid { width: 100%; grid-template-columns: minmax(0,1fr); }
  .cell-main { padding: 24px 20px; }
  .hero .h1 { font-size: 28px; margin-top: 18px; }
  .h1-ink { white-space: normal; }
  .lede { font-size: 15px; }
  .cell-head { flex-wrap: wrap; }
  .plat-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .tabs { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .tabs [role="tablist"] { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .tabs [role="tab"] { width: auto; min-height: 44px; flex: 0 0 auto; padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--r-pill); }
  .tabs [role="tab"] span { display: none; }
  .tabs [role="tab"][aria-selected="true"]::before { display: none; }
  .tab-panel { min-height: 420px; }
}
@media (max-width: 640px) {
  .facts, .chips { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .fact, .chip { font-size: 11px; padding: 4px 8px; }
  .device-grid { grid-template-columns: minmax(0,1fr); }
  .device-entry, .plat-card, .article-card { padding: 20px; }
  .plat-card { flex-basis: 100%; }
  .plat-card::before { top: 14px; right: 14px; }
  .shot-row { flex-direction: column; align-items: center; }
  .official-shot { max-width: min(280px,100%); }
  .tab-panel { padding: 24px; }
  .tab-field { margin-inline: -24px; margin-bottom: -24px; padding: 24px; }
  .toc { flex-wrap: nowrap; overflow-x: auto; }
  .toc a { flex-shrink: 0; }
  .faq-item summary { padding-left: 18px; }
  .faq-body { padding-inline: 18px; }
  .dl-fab { right: 16px; bottom: max(16px,env(safe-area-inset-bottom)); width: 52px; height: 52px; min-height: 52px; padding: 0; justify-content: center; border-radius: var(--r-dot); }
  .dl-fab span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #install table, #install tbody, #install tr, #install td, #install th { display: block; width: 100%; min-width: 0; }
  #install thead { display: none; }
  #install tr { border-bottom: 1px solid var(--border); }
  #install td, #install th { border-bottom: 0; }
  #install code { display: block; max-width: 100%; overflow-x: auto; white-space: pre; overflow-wrap: normal; word-break: normal; }
  .swatch-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}