/* 首屏沿用确认稿的网格、外圈词条砖与中轴尺度；装置保持静态。 */
.hero { min-height: calc(var(--cell) * 11); padding: 88px var(--gutter) 64px; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--grid) 1px,var(--clear) 1px),linear-gradient(90deg,var(--grid) 1px,var(--clear) 1px); background-size: var(--cell) var(--cell); background-position: calc(50% + 32px) 0; -webkit-mask-image: radial-gradient(ellipse 36% 48% at 50% 46%,var(--clear) 22%,var(--mask) 88%),linear-gradient(to bottom,var(--mask) 72%,var(--clear) 100%); -webkit-mask-composite: source-in; mask-image: radial-gradient(ellipse 36% 48% at 50% 46%,var(--clear) 22%,var(--mask) 88%),linear-gradient(to bottom,var(--mask) 72%,var(--clear) 100%); mask-composite: intersect; }
.tiles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.tile { position: absolute; width: 80px; height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 6px; border: 1px solid var(--border); border-radius: var(--r-tile); background: var(--panel); color: var(--ink); box-shadow: var(--shadow-tile); text-align: center; }
.tile::before { content: "◇"; color: var(--accent-dark); font: var(--weight-strong) 14px/1 var(--font-mono); }
.tile-mono { font: var(--weight-strong) 11px/1.25 var(--font-mono); }
.tile-sans { font: var(--weight-heading) 12px/1.2 var(--font-display); }
.tile-pink { background: var(--pink); color: var(--ink); }
.tile-honey { background: var(--honey); color: var(--ink); }
.tile-sky { background: var(--sky); color: var(--ink); }
.tile-leaf { background: var(--accent-soft); color: var(--ink); }
.s72 { width: 72px; height: 72px; }
.s88 { width: 88px; height: 88px; }
.t-l1 { left: calc(50% - 576px - 44px); top: 20px; }
.t-l2 { left: calc(50% - 384px - 40px); top: 24px; }
.t-l3 { left: calc(50% - 640px - 36px); top: 220px; }
.t-l4 { left: calc(50% - 448px - 40px); top: 280px; }
.t-l5 { left: calc(50% - 576px - 44px); top: 404px; }
.t-l6 { left: calc(50% - 384px - 36px); top: 412px; }
.t-l7 { left: calc(50% - 640px - 36px); top: 604px; }
.t-r1 { left: calc(50% + 448px - 44px); top: 20px; }
.t-r2 { left: calc(50% + 640px - 36px); top: 92px; }
.t-r3 { left: calc(50% + 384px - 40px); top: 152px; }
.t-r4 { left: calc(50% + 576px - 40px); top: 280px; }
.t-r5 { left: calc(50% + 448px - 36px); top: 412px; }
.t-r6 { left: calc(50% + 640px - 40px); top: 472px; }
.t-r7 { left: calc(50% + 512px - 44px); top: 596px; }
.hero-body { position: relative; z-index: 2; max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.icon-slot { width: 60px; height: 60px; display: grid; place-items: center; border-radius: var(--r-brand); background: var(--panel); color: var(--ink); border: 1px solid var(--border); box-shadow: var(--shadow-tile); }
.icon-slot img { width: 60px; height: 60px; border-radius: var(--r-brand); }
.icon-slot-placeholder::after { content: ""; width: 44px; height: 44px; border-radius: var(--r-brand); background: var(--panel-2); color: var(--ink); }
.hero-tag { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; min-height: 30px; padding: 4px 14px 4px 12px; border-radius: var(--r-pill); background: var(--panel); color: var(--muted); border: 1px solid var(--border); box-shadow: var(--shadow-hair); font-size: var(--text-xs); font-weight: var(--weight-medium); }
.hero-tag-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-pill); background: var(--accent); color: var(--ink); box-shadow: var(--ring-dot); }
.hero-title { margin: 22px 0 0; font-size: clamp(28px,2.4vw + 14px,48px); line-height: var(--leading-title); }
.hero-title .mark { color: var(--accent-dark); padding-inline: .04em; background: linear-gradient(to top,var(--accent-soft) 0,var(--accent-soft) .3em,var(--clear) .3em); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-lede { margin: 20px 0 0; max-width: 680px; font-size: var(--text-lede); line-height: 1.75; color: var(--muted); }
.hero-lede strong { color: var(--ink); }
.get-actions, .cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 12px; margin-top: 32px; }
.get-actions > .btn { flex: 0 1 auto; }
.get-note { margin: 14px 0 0; font-size: var(--text-xs); color: var(--muted); }
.get-note [data-pkg-ver] { font-family: var(--font-mono); color: var(--ink); }
.platforms { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 30px 0 0; }
.plat { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 6px 14px 6px 11px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--panel); color: var(--muted); font-size: var(--text-xs); font-weight: var(--weight-medium); text-decoration: none; }
.plat svg { width: 15px; height: 15px; color: var(--accent-dark); }
.plat:hover { border-color: var(--accent); color: var(--ink); }
.price-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-dark); font-size: var(--text-xs); font-weight: var(--weight-strong); }
.fact-row, .chip-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 0; list-style: none; }
.fact-row { margin-block: 24px 0; }
.fact, .badge, .chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 12px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--panel); color: var(--muted); font-size: var(--text-xs); line-height: 1.4; overflow-wrap: anywhere; }
.badge-green { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent-soft); }
.badge-pink { background: var(--pink); color: var(--ink); border-color: var(--pink); }
.badge-honey { background: var(--honey); color: var(--ink); border-color: var(--honey); }
.badge-sky { background: var(--sky); color: var(--ink); border-color: var(--sky); }
.status-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: var(--r-pill); background: var(--success); color: var(--ink); }
.next-band, .feature-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.next-band { max-width: 1312px; margin-inline: auto; padding: 8px var(--gutter) 96px; }
.feat { padding: 12px; }
.canvas { height: 300px; border-radius: var(--r-canvas); overflow: hidden; }
.canvas-green { background: var(--accent); color: var(--ink); }
.canvas-pink { background: var(--pink); color: var(--ink); }
.canvas-honey { background: var(--honey); color: var(--ink); }
.canvas-sky { background: var(--sky); color: var(--ink); }
.layer { position: absolute; background: var(--panel); color: var(--ink); border-radius: var(--r-tile); box-shadow: var(--shadow-float); }
.ios-group { top: 40px; left: 44px; width: 340px; }
.ios-row { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 16px; position: relative; font-size: var(--text-sm); }
.ios-row + .ios-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--border); color: var(--ink); }
.ios-row .val { margin-left: auto; color: var(--muted); }
.ios-row .chev { margin-left: auto; color: var(--muted); }
.toggle { margin-left: auto; width: 44px; height: 26px; border-radius: var(--r-pill); background: var(--success); color: var(--ink); position: relative; flex-shrink: 0; }
.toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: var(--r-pill); background: var(--panel); color: var(--ink); box-shadow: var(--shadow-hair); }
.rule-snippet { top: 150px; right: 40px; width: 330px; max-width: calc(100% - 40px); margin: 0; padding: 14px 18px 16px; font: var(--weight-medium) 12.5px/1.9 var(--font-mono); color: var(--muted); }
.rule-snippet .line { display: block; white-space: nowrap; }
.rule-snippet .kw { color: var(--accent-dark); font-weight: var(--weight-strong); }
.rule-snippet .pol { color: var(--ink); font-weight: var(--weight-strong); }
.canvas-pink .ios-group { left: auto; right: 44px; }
.canvas-pink .rule-snippet { right: auto; left: 40px; }
.feat-copy { padding: 28px 32px 32px; }
.feat-title { margin: 10px 0 0; font-size: var(--text-h3); }
.feat-text { margin: 12px 0 0; font-size: 15.5px; line-height: 1.8; color: var(--muted); }
.feat-link { display: inline-block; margin-top: 18px; font-size: 15px; }
.feature-shelf { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 0; }
.shelf-cell { padding: 32px; }
.shelf-cell + .shelf-cell { border-left: 1px solid var(--border); }
.shelf-cell .chip-row { justify-content: flex-start; }
.tab-set { min-width: 0; }
[role="tablist"] { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; border: 1px solid var(--border); border-radius: var(--r-canvas); background: var(--panel-2); color: var(--ink); margin-bottom: 24px; }
[role="tab"] { min-height: 44px; padding: 10px 20px; border: 1px solid var(--clear); border-radius: var(--r-pill); background: var(--clear); color: var(--muted); font-weight: var(--weight-strong); }
[role="tab"][aria-selected="true"] { background: var(--panel); color: var(--accent-dark); border-color: var(--border); box-shadow: var(--shadow-hair); }
[role="tabpanel"] { min-width: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; margin-block: 24px; border: 1px solid var(--border); border-radius: var(--r-canvas); background: var(--panel); color: var(--ink); }
.toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--r-pill); font-size: var(--text-sm); text-decoration: none; }
.toc a:hover, .toc a[aria-current] { background: var(--accent-soft); color: var(--accent-dark); }
.toc-sticky { position: sticky; top: calc(var(--nav-h) + 12px); z-index: 10; }
.faq-item { padding: 0 24px; margin-bottom: 12px; border: 1px solid var(--border); border-radius: var(--r-canvas); background: var(--panel); color: var(--ink); }
.faq-item summary { position: relative; padding: 22px 28px 22px 0; cursor: pointer; list-style: none; font-weight: var(--weight-strong); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 20px; font: var(--weight-medium) 24px/1.2 var(--font-mono); color: var(--accent-dark); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding-bottom: 24px; color: var(--muted); }
.faq-answer > :last-child { margin-bottom: 0; }
.term-card { padding: 28px; }
.term-card h3 { margin: 0 0 12px; font-family: var(--font-mono); font-size: 20px; overflow-wrap: anywhere; }
.term-card p { margin-bottom: 0; color: var(--muted); }
.term-card .badge { margin-bottom: 18px; }
.app-store-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; max-width: 100%; padding: 10px 24px; border: 1px solid var(--clear); border-radius: var(--r-pill); background: var(--accent); color: var(--ink); box-shadow: var(--shadow-cta); text-decoration: none; }
.app-store-btn:hover { background: var(--accent-hover); color: var(--ink); }
.app-store-btn svg { width: 27px; height: 30px; fill: currentColor; }
.store-copy { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.store-copy small { font-size: 11px; font-weight: var(--weight-medium); }
.store-copy strong { margin-top: 4px; font-size: var(--text-body); }
.store-guide { padding: 32px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--accent-soft); color: var(--ink); }
.store-guide h2, .store-guide h3 { margin-top: 0; }
.plat-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.plat-card { position: relative; min-width: 0; padding: 32px; }
.plat-card h3 { margin: 16px 0 12px; }
.plat-card > .icon { width: 32px; height: 32px; color: var(--accent-dark); }
.plat-card p { color: var(--muted); }
.plat-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; margin-top: 24px; }
.plat-actions .btn { min-height: 48px; font-size: var(--text-sm); padding-inline: 20px; }
.plat-card::before { display: none; content: attr(data-mine); position: absolute; top: 20px; right: 20px; max-width: calc(100% - 80px); padding: 5px 10px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-dark); font-size: var(--text-xs); }
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: 24px; transform: translateX(-50%); z-index: 70; width: min(440px,calc(100% - 32px)); padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--r-canvas); background: var(--panel); color: var(--ink); box-shadow: var(--shadow-float); font-size: var(--text-sm); }
.official-shot { width: 100%; max-width: 280px; min-width: 0; flex-shrink: 0; margin: 0 auto; padding: 0; }
.official-shot img { display: block; width: 100%; height: auto; border-radius: var(--r-shot); }
.official-shot { filter: none; }
.official-shot figcaption { margin-top: 12px; color: var(--muted); font-size: var(--text-xs); line-height: 1.6; }
.shot-frame { border: 1px solid var(--border); border-radius: var(--r-shot); }
.shot-row { display: flex; justify-content: center; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
.device-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.device-card { display: flex; align-items: center; gap: 24px; padding: 28px; text-decoration: none; }
.device-card svg { width: 48px; height: 64px; color: var(--accent-dark); }
.device-card h3 { margin: 0 0 8px; font-size: 20px; }
.device-card p { margin: 0; color: var(--muted); font-size: var(--text-sm); }
.device-card:hover { border-color: var(--accent); }
.article-card { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; }
.article-card h3 { margin: 18px 0 12px; font-size: 22px; }
.article-card h3 a { text-decoration: none; }
.article-card h3 a:hover { color: var(--accent-dark); }
.article-card p { color: var(--muted); }
.article-card .text-link { margin-top: auto; }
.callout { margin: 24px 0; padding: 24px 28px; border: 1px solid var(--border); border-left: 4px solid var(--accent-dark); border-radius: var(--r-tile); background: var(--accent-soft); color: var(--ink); }
.callout > :last-child { margin-bottom: 0; }
.callout-warn { background: var(--honey); color: var(--ink); border-left-color: var(--warn); }
.callout-error { background: var(--panel); color: var(--ink); border-left-color: var(--error); }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td, .prose table th, .prose table td { min-width: 7em; padding: 16px 20px; border-bottom: 1px solid var(--border); overflow-wrap: normal; word-break: normal; vertical-align: top; }
.data-table th, .prose table th { background: var(--panel-2); color: var(--ink); font-weight: var(--weight-strong); }
.prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; border-collapse: collapse; }
.dl-fab { position: fixed; right: 24px; bottom: 24px; z-index: var(--z-fab); display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 20px 8px 8px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--panel); color: var(--ink); box-shadow: var(--shadow-float); font-size: var(--text-sm); font-weight: var(--weight-strong); text-decoration: none; transition: transform var(--motion-fast) var(--ease); }
.dl-fab:hover { transform: translateY(-2px); }
.dl-fab-ic { width: 32px; height: 32px; display: grid; place-items: center; flex-shrink: 0; border-radius: var(--r-pill); background: var(--accent); color: var(--ink); }
.dl-fab-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* 设计预览的专用家具，不作用于正式截图。 */
.preview-section { padding-top: 64px; padding-bottom: 64px; }
.preview-section > h2 { margin-top: 0; }
.preview-swatches { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.swatch { border: 1px solid var(--border); border-radius: var(--r-tile); overflow: hidden; background: var(--panel); color: var(--ink); }
.swatch-color { height: 72px; }
.swatch code { display: block; padding: 12px; font-size: 12px; }
.sw-bg { background: var(--bg); color: var(--ink); }
.sw-panel { background: var(--panel); color: var(--ink); }
.sw-panel2 { background: var(--panel-2); color: var(--ink); }
.sw-border { background: var(--border); color: var(--ink); }
.sw-grid { background: var(--grid); color: var(--ink); }
.sw-accent { background: var(--accent); color: var(--ink); }
.sw-hover { background: var(--accent-hover); color: var(--ink); }
.sw-dark { background: var(--accent-dark); color: var(--panel); }
.sw-soft { background: var(--accent-soft); color: var(--ink); }
.sw-pink { background: var(--pink); color: var(--ink); }
.sw-honey { background: var(--honey); color: var(--ink); }
.sw-sky { background: var(--sky); color: var(--ink); }
.sw-ink { background: var(--ink); color: var(--panel); }
.sw-muted { background: var(--muted); color: var(--panel); }
.sw-success { background: var(--success); color: var(--ink); }
.sw-warn { background: var(--warn); color: var(--ink); }
.sw-error { background: var(--error); color: var(--ink); }
.sw-mask { background: var(--mask); color: var(--panel); }
.preview-shot { width: 100%; aspect-ratio: 750 / 1334; display: grid; place-items: center; padding: 24px; text-align: center; border: 1px solid var(--border); border-radius: var(--r-shot); background: var(--panel-2); color: var(--muted); }
.preview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block: 24px; }
.preview-type-title { font-size: var(--text-h1); margin-block: 0 20px; }
@media (max-width: 1279px) { .t-far { display: none; } }
@media (max-width: 1060px) {
  .tiles .t-l4, .tiles .t-l6, .tiles .t-r3, .tiles .t-r5 { display: none; }
}
@media (max-width: 860px) {
  .hero { min-height: 0; padding: 100px 20px 108px; }
  .tile { display: none; }
  .tile.corner { display: flex; width: 56px; height: 56px; gap: 4px; padding: 4px; left: auto; right: auto; top: auto; bottom: auto; }
  .tile.corner.tile-mono { font-size: 8.5px; }
  .tile.corner.tile-sans { font-size: 9.5px; }
  .tile.corner::before { font-size: 11px; }
  .tile.c-tl { left: 16px; top: 20px; }
  .tile.c-tr { right: 16px; top: 20px; }
  .tile.c-bl { left: 16px; bottom: 24px; }
  .tile.c-br { right: 16px; bottom: 24px; }
  .hero-title { font-size: 28px; }
  .hero-lede { font-size: 15px; }
  .next-band, .feature-grid { grid-template-columns: minmax(0,1fr); }
  .ios-group, .canvas-pink .ios-group { left: 20px; right: 20px; width: auto; }
  .rule-snippet, .canvas-pink .rule-snippet { left: auto; right: 20px; width: 280px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 82px; padding-bottom: 92px; }
  .hero-tag { margin-top: 16px; }
  .hero-title { font-size: 28px; }
  .hero-lede { margin-top: 16px; }
  .hero .get-actions { margin-top: 24px; gap: 10px; width: 100%; }
  .hero .btn { padding-inline: 20px; font-size: var(--text-sm); }
  .platforms { margin-top: 24px; gap: 6px; }
  .plat { padding-inline: 9px; font-size: 12px; }
  .price-chip { padding-inline: 12px; font-size: 12px; }
  .fact-row { gap: 6px; }
  .fact { font-size: 11px; padding: 6px 9px; }
  .feature-shelf, .plat-grid, .device-grid { grid-template-columns: minmax(0,1fr); }
  .shelf-cell { padding: 24px; }
  .shelf-cell + .shelf-cell { border-left: 0; border-top: 1px solid var(--border); }
  .feat-copy { padding: 24px 12px; }
  .plat-card { padding: 28px 24px; }
  .plat-actions { flex-wrap: wrap; }
  .plat-actions > * { max-width: 100%; }
  .shot-row { flex-direction: column; align-items: center; }
  .official-shot { max-width: 280px; }
  .rule-snippet { font-size: 11px; }
  .preview-swatches { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dl-fab { right: 16px; bottom: 16px; width: 52px; height: 52px; min-height: 52px; padding: 0; justify-content: center; }
  .dl-fab-ic { width: 36px; height: 36px; }
  .dl-fab-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .wx-open-tip { bottom: 84px; }
  #install table, #install tbody, #install tr, #install td { display: block; width: 100%; }
  #install thead { display: none; }
  #install tr { padding-block: 16px; border-bottom: 1px solid var(--border); }
  #install td { min-width: 0; padding: 8px 16px; border: 0; }
  #install td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-weight: var(--weight-strong); color: var(--accent-dark); }
  #install table code { display: block; max-width: 100%; overflow-x: auto; white-space: pre; overflow-wrap: normal; word-break: normal; }
}
@media (prefers-reduced-motion: reduce) { .dl-fab:hover { transform: none; } }