/* 首屏：左文案，右侧纯文本配置文档。 */
.hero { position: relative; z-index: 1; padding-top: 48px; }
.hero-grid { display: grid; grid-template-columns: 516px minmax(0, 1fr); column-gap: 52px; align-items: center; }
.hero-copy { padding-bottom: var(--overlap); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  max-width: 100%;
  padding: 5px 14px 5px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: var(--weight-medium);
  box-shadow: var(--shadow-xs);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: var(--r-circle); background: var(--accent); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-circle); background: var(--accent); opacity: 0; animation: badge-pulse 2.2s ease-out .4s 3; }
@keyframes badge-pulse { from { transform: scale(1); opacity: .4; } to { transform: scale(2.6); opacity: 0; } }
.hero h1 { margin-top: 22px; font-size: clamp(34px, 3.1vw, 44px); line-height: 1.16; letter-spacing: var(--tracking-title); }
.h1-line { display: block; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { max-width: 500px; margin-top: 20px; color: var(--text-muted); font-size: 17px; line-height: 1.72; }
.lead strong { color: var(--text); font-weight: var(--weight-semibold); }
.tok { font-family: var(--font-mono); font-size: .84em; color: var(--text); background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--r-code); padding: 1px 6px; overflow-wrap: anywhere; }
.cta-row, .get-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.get-actions > * { max-width: 100%; }
.get-note { margin-top: 14px; color: var(--text-muted); font-size: 13.5px; }
.get-note [data-pkg-ver] { color: var(--text); font-family: var(--font-mono); font-size: 12.5px; }
.platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); list-style: none; }
.platforms li, .platforms a { display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 13.5px; font-weight: var(--weight-medium); }
.platforms a { min-height: 24px; }
.platforms a:hover { color: var(--accent-dark); }
.platforms svg { width: 16px; height: 16px; flex: none; color: var(--text); }
.price-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; min-height: 28px; padding: 4px 12px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--bg-panel-2); color: var(--text-muted); font-size: 12.5px; font-weight: var(--weight-medium); }
.price-chip b { color: var(--accent-dark); font-weight: 650; }
.cfg-win { min-width: 0; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-window); overflow: hidden; }
.cfg-bar { height: 44px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: 16px; border-bottom: 1px solid var(--border); background: var(--bg); color: var(--text); }
.dots { display: flex; gap: 8px; }
.dots i { display: block; width: 12px; height: 12px; flex: none; border-radius: var(--r-circle); }
.dots i:nth-child(1) { background: var(--dot-close); }
.dots i:nth-child(2) { background: var(--dot-min); }
.dots i:nth-child(3) { background: var(--dot-zoom); }
.cfg-title { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); letter-spacing: .01em; }
.cfg-body { display: grid; grid-template-columns: 26% minmax(0, 1fr); }
.cfg-side { min-width: 0; background: var(--bg-panel); color: var(--text-muted); border-right: 1px solid var(--border); padding: 16px 12px; }
.side-label { font-size: 11.5px; font-weight: var(--weight-semibold); letter-spacing: .06em; color: var(--text-muted); padding: 0 10px 8px; }
.side-list { list-style: none; }
.side-list li { position: relative; display: flex; align-items: center; min-height: 32px; padding: 6px 10px 6px 16px; border-radius: var(--r-row); font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); overflow-wrap: anywhere; }
.side-list li + li { margin-top: 2px; }
.side-list .is-current { background: var(--side-active); color: var(--text); font-weight: var(--weight-semibold); }
.side-list .is-current::before { content: ""; position: absolute; left: 6px; top: 9px; bottom: 9px; width: 3px; border-radius: var(--r-tiny); background: var(--accent); }
.cfg-code { min-width: 0; overflow-x: auto; padding: 14px 18px 18px 6px; font-family: var(--font-mono); font-size: 13px; -webkit-overflow-scrolling: touch; }
.ln { display: grid; grid-template-columns: 38px 17ch auto minmax(24px, 1fr) 66px 16px; align-items: center; min-width: 540px; height: 30px; border-radius: var(--r-code); white-space: pre; color: var(--text); animation: rule-entry .5s var(--ease) both; }
.ln-no { text-align: right; padding-right: 14px; font-size: 12px; color: var(--text-faint); }
.ln-tx { grid-column: 2 / -1; }
.ln .sec { color: var(--text); font-weight: 650; }
.ln .k, .ln .kw { color: var(--text); }
.ln .v, .ln .val { color: var(--text-muted); }
.ln .op, .ln .pc { color: var(--text-faint); }
.ln .kw { grid-column: 2; font-weight: var(--weight-medium); }
.ln .val { grid-column: 3; }
.ln .lead-dash { grid-column: 4; height: 0; margin-inline: 12px; border-bottom: 1px dashed var(--border); }
.ln .pol { grid-column: 5; text-align: center; height: 20px; line-height: 20px; border-radius: var(--r-pill); font-size: 11px; font-weight: 650; letter-spacing: .04em; }
.pol-proxy { background: var(--accent-soft); color: var(--accent-dark); }
.pol-direct { background: var(--warn-soft); color: var(--warn-ink); }
.pol-reject { background: var(--neutral-soft); color: var(--text-muted); }
.ln .caret { grid-column: 6; justify-self: end; width: 8px; height: 16px; border-radius: var(--r-tiny); background: var(--accent); animation: rule-caret 1.5s steps(1, end) 1.2s infinite; }
.ln.is-active { background: var(--bg-panel); color: var(--text); }
@keyframes rule-entry { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes rule-caret { 0%, 100% { opacity: 1; } 55% { opacity: 0; } }
.ln:nth-child(1) { animation-delay: 0s; }
.ln:nth-child(2) { animation-delay: .03s; }
.ln:nth-child(3) { animation-delay: .06s; }
.ln:nth-child(4) { animation-delay: .09s; }
.ln:nth-child(5) { animation-delay: .12s; }
.ln:nth-child(6) { animation-delay: .15s; }
.ln:nth-child(7) { animation-delay: .18s; }
.ln:nth-child(8) { animation-delay: .21s; }
.ln:nth-child(9) { animation-delay: .24s; }
.ln:nth-child(10) { animation-delay: .27s; }
.ln:nth-child(11) { animation-delay: .30s; }
.ln:nth-child(12) { animation-delay: .33s; }
.ln:nth-child(13) { animation-delay: .36s; }
.ln:nth-child(14) { animation-delay: .39s; }
.ln:nth-child(15) { animation-delay: .42s; }
.ln:nth-child(16) { animation-delay: .45s; }
.ln:nth-child(17) { animation-delay: .48s; }
.ln:nth-child(18) { animation-delay: .51s; }
.ln:nth-child(19) { animation-delay: .54s; }
.ln:nth-child(20) { animation-delay: .57s; }
.ln:nth-child(21) { animation-delay: .60s; }
.layer-panel { position: relative; z-index: 2; width: calc(100% - 48px); max-width: var(--panel-max); margin: calc(var(--overlap) * -1) auto 0; background: var(--bg-panel); color: var(--text); border-radius: var(--r-section); padding-top: 14px; padding-bottom: 104px; }
.status-grid { display: grid; grid-template-columns: 516px minmax(0, 1fr); column-gap: 52px; }
.status-strip { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-inline: 4px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); }
.status-strip .tag { min-height: 20px; padding-inline: 8px; border: 1px solid var(--border-strong); border-radius: var(--r-pill); color: var(--text-muted); }
.status-strip .sep { color: var(--border-strong); }
.intro { max-width: 760px; margin: 72px auto 0; text-align: center; padding-inline: var(--gutter); }
.intro h2 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; }
.intro p { margin-top: 16px; font-size: 16px; line-height: 1.75; color: var(--text-muted); }
.setting-row, .fact-row, .chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; }
.setting-row { justify-content: center; margin-top: 24px; }
.setting-row li, .chip {
  max-width: 100%;
  padding: 5px 13px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 12.5px;
  overflow-wrap: anywhere;
}
.fact-row { margin-top: var(--space-6); }
.fact-row li { max-width: 100%; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg); color: var(--text-muted); font-size: 12.5px; overflow-wrap: anywhere; }
.fact-row b { color: var(--text); font-weight: var(--weight-semibold); }
.fact-row.is-centered { justify-content: center; }

/* Tab 的隐藏仅在脚本初始化后生效；无脚本时保留正文。 */
[role="tablist"] { display: flex; flex-wrap: nowrap; gap: var(--space-2); max-width: 100%; overflow-x: auto; padding: 6px; border: 1px solid var(--border); border-radius: var(--r-pill); color: var(--text); background: var(--bg-panel); -webkit-overflow-scrolling: touch; }
[role="tab"] { flex: 0 0 auto; min-height: 44px; padding: 9px 18px; border: 1px solid transparent; border-radius: var(--r-pill); color: var(--text-muted); background: var(--bg-panel); font-size: var(--text-sm); font-weight: var(--weight-medium); }
[role="tab"]:hover { color: var(--text); }
[role="tab"][aria-selected="true"] { color: var(--accent-dark); background: var(--bg); border-color: var(--border); box-shadow: var(--shadow-xs); }
[role="tabpanel"] { min-width: 0; margin-top: var(--space-6); }
.feature-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-8); }
.feature-card { grid-column: span 7; padding: 32px 32px 0; overflow: hidden; background: var(--bg-panel-2); color: var(--text); }
.feature-card:nth-child(4n + 2), .feature-card:nth-child(4n + 3) { grid-column: span 5; }
.feature-card[role="tabpanel"] { margin-top: 0; }
.feature-card h3 { color: var(--accent-dark); font-size: 24px; }
.feature-card.is-warm { background: var(--warn-soft); color: var(--text); }
.feature-card.is-warm h3 { color: var(--warn-ink); }
.feature-card p { line-height: 1.85; }
.feature-inset { margin-top: var(--space-8); padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--r-card) var(--r-card) 0 0; border-bottom: 0; background: var(--bg); color: var(--text); min-height: 120px; }
.feature-inset ul { list-style: none; }
.feature-inset li + li { margin-top: var(--space-3); }
.feature-inset pre { border: 0; background: var(--bg); color: var(--text); padding: 0; border-radius: 0; }
@media (min-width: 761px) {
  .feature-grid > [role="tabpanel"][hidden] { display: block !important; }
}
.toc { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); }
.toc a { display: block; min-height: 44px; padding: 10px 14px; border-radius: var(--r-btn); color: var(--text-muted); font-size: var(--text-sm); }
.toc a:hover, .toc a[aria-current] { background: var(--bg-panel-2); color: var(--accent-dark); text-decoration: none; }
.doc-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: start; gap: var(--space-12); }
.doc-layout > .toc { position: sticky; top: var(--space-6); display: block; }
.faq-list { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); overflow: clip; }
.faq-item + .faq-item { border-top: 1px solid var(--border); }
.faq-item summary { position: relative; min-height: 60px; padding: 18px 56px 18px 24px; cursor: pointer; font-weight: var(--weight-semibold); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 16px; color: var(--text-muted); font-size: 22px; font-weight: var(--weight-normal); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 24px; color: var(--text-muted); }
.term-card dt { color: var(--accent-dark); font-family: var(--font-mono); font-size: var(--text-lg); font-weight: var(--weight-semibold); }
.term-card dd { margin-top: var(--space-3); color: var(--text-muted); line-height: 1.8; }
.term-category, .article-tag { display: inline-block; color: var(--text-muted); font-size: var(--text-xs); margin-bottom: var(--space-3); }
.appstore-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 9px 20px; border: 1px solid transparent; border-radius: var(--r-btn); background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-btn); text-decoration: none; transition: background-color var(--speed) ease; }
.appstore-btn:hover { color: var(--on-accent); background: var(--accent-dark); text-decoration: none; }
.appstore-btn svg { width: 26px; height: 28px; flex: none; }
.appstore-copy { display: block; text-align: left; line-height: 1.3; }
.appstore-copy small { display: block; font-size: 11px; }
.appstore-copy strong { display: block; margin-top: 2px; font-size: 16px; font-weight: var(--weight-semibold); }
.plat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.plat-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); padding-top: 48px; }
.plat-card > svg { width: 30px; height: 30px; color: var(--text); }
.plat-card p { margin-top: 0; }
.plat-price { color: var(--text); font-weight: var(--weight-semibold); }
.plat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: auto; padding-top: var(--space-4); max-width: 100%; }
.plat-actions .btn { padding-inline: 16px; }
.plat-card::before { display: none; position: absolute; top: 16px; right: 18px; content: attr(data-mine); padding: 3px 9px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-dark); font-size: var(--text-xs); font-weight: var(--weight-medium); }
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: 100; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100% - var(--gutter) * 2); padding: 18px 22px; border: 1px solid var(--border-strong); border-radius: var(--r-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-window); font-size: var(--text-sm); line-height: 1.8; overflow-wrap: anywhere; }
.shot-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: var(--space-8); }
.official-shot { width: 100%; max-width: 280px; 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); color: var(--text-muted); }
.official-shot figcaption { padding: 12px 10px; color: var(--text-muted); font-size: var(--text-xs); line-height: 1.7; }
.device-card { display: flex; align-items: flex-start; gap: var(--space-5); text-decoration: none; }
.device-card:hover { text-decoration: none; }
.device-card svg { width: 34px; height: 44px; flex: none; color: var(--text); }
.device-card h3 { color: var(--text); }
.article-card { display: flex; flex-direction: column; align-items: flex-start; }
.article-card h3 a { color: var(--text); }
.article-card .article-meta { margin-top: auto; padding-top: var(--space-6); font-size: var(--text-xs); color: var(--text-muted); }
.callout { margin: 0; padding: var(--space-6); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--r-btn); color: var(--text); background: var(--bg-panel-2); }
.callout p + p { margin-top: var(--space-3); }
.callout.is-warning { color: var(--text); background: var(--warn-soft); border-left-color: var(--warn); }
.store-guide { padding: var(--space-8); border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); }
.store-guide p { margin-top: var(--space-3); color: var(--text-muted); }
.store-guide .btn { margin-top: var(--space-5); }
.table-scroll { width: 100%; min-width: 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--r-btn); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: var(--text-sm); }
.data-table th, .data-table td, .prose table th, .prose 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 { background: var(--bg-panel); color: var(--text); font-weight: var(--weight-semibold); }
.data-table td, .prose table td { background: var(--bg); color: var(--text-muted); }
.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; }
.article-body table th, .article-body table td { min-width: 7em; padding: 16px 20px; border-bottom: 1px solid var(--border); overflow-wrap: normal; word-break: normal; }
.data-table code, .prose table code { word-break: normal; }
.dl-fab { position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 30; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px 10px 15px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-size: var(--text-sm); font-weight: var(--weight-semibold); box-shadow: var(--shadow-fab); transition: background-color var(--speed) ease, transform var(--speed) ease; }
.dl-fab svg { width: 17px; height: 17px; flex: none; }
.dl-fab:hover { background: var(--accent-dark); color: var(--on-accent); transform: translateY(-2px); text-decoration: none; }

/* 预览页家具，不用于真实截图。 */
.preview-section { padding-top: var(--space-20); padding-bottom: var(--space-20); }
.preview-section h2 { margin-bottom: var(--space-8); }
.preview-stack { display: grid; gap: var(--space-6); }
.preview-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }
.preview-title { color: var(--text-muted); font-size: var(--text-xs); font-family: var(--font-mono); margin-bottom: var(--space-3); }
.preview-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-family: var(--font-mono); font-size: var(--text-sm); }
.swatch-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4); }
.swatch { min-width: 0; border: 1px solid var(--border); border-radius: var(--r-btn); overflow: hidden; color: var(--text); background: var(--bg); }
.swatch-sample { height: 64px; background: var(--swatch-color); color: var(--text); }
.swatch code { display: block; padding: 10px; color: var(--text); font-size: 11px; }
.sw-bg { --swatch-color: var(--bg); }
.sw-panel { --swatch-color: var(--bg-panel); }
.sw-panel-2 { --swatch-color: var(--bg-panel-2); }
.sw-border { --swatch-color: var(--border); }
.sw-border-strong { --swatch-color: var(--border-strong); }
.sw-accent { --swatch-color: var(--accent); }
.sw-accent-dark { --swatch-color: var(--accent-dark); }
.sw-accent-soft { --swatch-color: var(--accent-soft); }
.sw-text { --swatch-color: var(--text); }
.sw-muted { --swatch-color: var(--text-muted); }
.sw-faint { --swatch-color: var(--text-faint); }
.sw-success { --swatch-color: var(--success); }
.sw-success-ink { --swatch-color: var(--success-ink); }
.sw-warn { --swatch-color: var(--warn); }
.sw-warn-ink { --swatch-color: var(--warn-ink); }
.sw-warn-soft { --swatch-color: var(--warn-soft); }
.sw-error { --swatch-color: var(--error); }
.sw-error-soft { --swatch-color: var(--error-soft); }
.sw-error-ink { --swatch-color: var(--error-ink); }
.sw-neutral { --swatch-color: var(--neutral-soft); }
.sw-side { --swatch-color: var(--side-active); }
.sw-on { --swatch-color: var(--on-accent); }
.sw-close { --swatch-color: var(--dot-close); }
.sw-min { --swatch-color: var(--dot-min); }
.sw-zoom { --swatch-color: var(--dot-zoom); }

@media (max-width: 1180px) {
  .hero-grid, .status-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 0; text-align: center; max-width: 640px; margin: 0 auto 44px; }
  .lead { margin-inline: auto; }
  .cta-row, .hero .get-actions, .platforms { justify-content: center; }
  .status-strip { grid-column: 1; justify-content: center; }
  .plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .doc-layout > .toc { position: static; display: flex; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: clamp(24px, 4vw, 30px); }
}
@media (max-width: 760px) {
  .hero { padding-top: 28px; }
  .lead { font-size: 16px; }
  .cfg-body { grid-template-columns: minmax(0, 1fr); }
  .cfg-side { display: none; }
  .cfg-code { font-size: 12px; padding: 10px 12px 14px 2px; }
  .ln { grid-template-columns: 30px 15ch auto minmax(8px, 1fr) 58px 12px; height: 27px; min-width: 490px; }
  .ln .lead-dash { display: none; }
  .ln-no { padding-right: 10px; font-size: 11px; }
  .layer-panel { width: calc(100% - 24px); border-radius: var(--r-section-mobile); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-card, .feature-card:nth-child(n) { grid-column: 1; }
  .feature-card { padding: 24px 24px 0; }
}
@media (max-width: 640px) {
  .plat-grid { grid-template-columns: minmax(0, 1fr); }
  .fact-row { justify-content: center; gap: 6px; }
  .fact-row li { font-size: 11px; padding: 5px 9px; }
  .shot-row { flex-direction: column; align-items: center; }
  .swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-fab { width: 52px; height: 52px; min-height: 52px; padding: 0; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); border-radius: var(--r-circle); }
  .dl-fab svg { width: 22px; height: 22px; }
  .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 .data-table { display: block; width: 100%; min-width: 0; overflow-x: visible; }
  #install thead { display: none; }
  #install tbody, #install tr, #install th, #install td { display: block; width: 100%; min-width: 0; }
  #install tr { padding-top: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--border); }
  #install tr:last-child { border-bottom: 0; }
  #install td, #install th { padding: 8px 16px; border-bottom: 0; }
  #install td::before { content: attr(data-label); display: block; color: var(--text); font-size: var(--text-xs); font-weight: var(--weight-semibold); margin-bottom: var(--space-1); }
  #install code { display: block; max-width: 100%; overflow-x: auto; white-space: pre; overflow-wrap: normal; word-break: normal; }
  .store-guide { padding: var(--space-6); }
}
@media (prefers-reduced-motion: reduce) {
  .ln, .pulse::after, .ln .caret { animation: none; }
  .ln, .ln .caret { opacity: 1; transform: none; }
  .dl-fab:hover { transform: none; }
}