.device { position:relative; max-width:1080px; margin:52px auto 0; display:grid; grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr); align-items:stretch; text-align:left }
.device-col { display:flex; flex-direction:column; min-width:0 }
.dcard { position:relative; min-width:0; flex:1; display:flex; flex-direction:column; background:var(--bg-panel); color:var(--text); border:1px solid var(--border); border-radius:var(--r-card); box-shadow:var(--shadow-card) }
.dcard-icon { position:absolute; top:-20px; left:50%; width:40px; height:40px; margin-left:-20px; display:flex; align-items:center; justify-content:center; border-radius:var(--r-card); background:var(--bg-panel); color:var(--accent); border:1px solid var(--border); box-shadow:var(--shadow-icon); z-index:2 }
.dcard-icon svg { width:22px; height:22px }
.dcard-bar { min-height:38px; flex-shrink:0; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 16px; background:var(--gray-100); color:var(--text-muted); border-bottom:1px solid var(--border); border-radius:var(--r-card) var(--r-card) 0 0; font-size:12.5px }
.dcard-bar code { font-family:var(--font-mono); font-size:11.5px; color:var(--text-muted) }
.conf { list-style:none; margin:0; padding:16px 0 18px; max-width:100%; overflow-x:auto; font-family:var(--font-mono); font-size:13px; line-height:24px; color:var(--text) }
.conf li { position:relative; display:flex; justify-content:space-between; align-items:center; width:max-content; min-width:100%; padding-inline:24px 20px; white-space:nowrap }
.conf .sec { font-weight:var(--weight-bold) }
.conf .sec-gap { margin-top:8px }
.conf .k,.conf .t { color:var(--text-muted) }
.conf .eq,.conf .c { color:var(--gray-700) }
.conf .p { font-weight:var(--weight-medium) }
.conf li.hit { background:linear-gradient(90deg,var(--accent-tint),var(--clear) 75%); color:var(--text) }
.conf li.hit::before { content:""; position:absolute; left:0; top:3px; bottom:3px; width:3px; border-radius:0 var(--r-detail) var(--r-detail) 0; background:var(--accent) }
.flow { flex:1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) }
.flow-col { min-width:0; display:flex; flex-direction:column; gap:12px; padding:16px 12px 14px; border-right:1px solid var(--border); background:linear-gradient(180deg,var(--gray-50),var(--bg-panel) 60%); color:var(--text) }
.flow-col:last-child { border-right:0 }
.flow-head { display:flex; align-items:center; gap:8px; padding:0 2px 11px; border-bottom:1px solid var(--border); font-family:var(--font-mono); font-size:12px; font-weight:var(--weight-bold); letter-spacing:.06em }
.flow-head::before { content:""; width:8px; height:8px; flex-shrink:0; border-radius:var(--r-detail); background:var(--gray-700) }
.is-direct .flow-head::before { background:var(--gray-400) }
.is-reject .flow-head::before { background:var(--clear); border:1.5px solid var(--gray-400) }
.route { display:flex; flex-direction:column; align-items:flex-start; gap:4px; min-width:0 }
.chip { display:inline-flex; align-items:center; gap:6px; max-width:100%; min-height:26px; padding:3px 10px; border-radius:var(--r-pill); background:var(--gray-150); color:var(--text); border:1px solid var(--border); font-family:var(--font-mono); font-size:11.5px; letter-spacing:-.01em; overflow-wrap:anywhere }
.is-reject .chip { background:var(--bg-panel); color:var(--text-muted); border-style:dashed; border-color:var(--gray-300) }
.chip-dot { width:7px; height:7px; flex-shrink:0; border-radius:var(--r-round); background:var(--accent); box-shadow:0 0 0 3px var(--accent-ring) }
.route-rule { padding-left:4px; font-family:var(--font-mono); font-size:10.5px; color:var(--text-muted) }
.flow-foot { flex-shrink:0; display:flex; align-items:center; gap:10px; margin-inline:16px; padding-top:12px; padding-bottom:14px; border-top:1px dashed var(--gray-300); font-size:12.5px; color:var(--text-muted) }
.flow-foot code { font-size:11.5px; font-weight:var(--weight-medium); color:var(--text); padding:2px 8px; border-radius:var(--r-pill); border:1px dashed var(--gray-300) }
.device-arrow { display:flex; align-items:center; justify-content:center; padding-bottom:38px; color:var(--gray-400) }
.device-arrow svg { width:30px; height:16px }
.device-cap { margin:16px 0 0; text-align:center; font-size:14.5px; color:var(--text-muted) }
.quick { background:var(--bg-panel-2); color:var(--on-dark); padding:120px var(--gutter) 140px; position:relative; overflow-x:clip }
.quick-in { max-width:1080px; margin-inline:auto }
.quick h2 { margin:0; text-align:center; font-size:32px }
.quick-sub { margin:12px auto 0; max-width:620px; text-align:center; color:var(--on-dark-muted); font-size:15.5px }
.steps { list-style:none; margin:56px 0 0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px }
.steps > li { min-width:0 }
.step-fig { position:relative; background:var(--dark-tile); color:var(--on-dark); border:1px solid var(--dark-line); border-radius:var(--r-card); box-shadow:var(--shadow-dark) }
.step-fig svg { width:100%; height:auto }
.step-fig .g1 { fill:var(--dark-g1) }
.step-fig .g2 { fill:var(--dark-g2) }
.step-fig .g3 { fill:var(--dark-g3) }
.step-fig .gl { fill:none; stroke:var(--dark-g3); stroke-width:1.5; stroke-dasharray:4 4 }
.step-ico { position:absolute; left:-12px; bottom:-20px; width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:var(--r-card); background:var(--bg-panel-2); color:var(--accent); border:1px solid var(--dark-line) }
.step-ico svg { width:22px; height:22px }
.step-no { margin:40px 0 0; font-size:13.5px; color:var(--on-dark-muted) }
.steps h3 { margin:6px 0 0; font-size:21px }
.steps p { margin:10px 0 0; font-size:15px; line-height:1.7; color:var(--on-dark-muted) }
.steps code { color:var(--on-dark); font-size:13px }
.quick-more { margin:48px 0 0; text-align:center }
.quick-more a { color:var(--on-dark); text-decoration:none; font-weight:var(--weight-medium); border-bottom:1px solid var(--dark-g3); padding-bottom:2px }
.tabs { display:grid; grid-template-columns:260px minmax(0,1fr); background:var(--bg-panel); color:var(--text); border:1px solid var(--border); border-radius:var(--r-card); box-shadow:var(--shadow-card); min-width:0 }
.tabs [role="tablist"] { display:flex; flex-direction:column; padding:20px 0; border-right:1px solid var(--border); min-width:0 }
.tabs [role="tab"] { position:relative; width:100%; padding:16px 28px; border:0; background:var(--bg-panel); color:var(--text-muted); text-align:left; font-family:var(--font-mono); font-size:14px; min-height:60px }
.tabs [role="tab"] small { display:block; margin-top:4px; font-family:var(--font-body); font-size:12px }
.tabs [role="tab"][aria-selected="true"] { color:var(--text); font-weight:var(--weight-bold) }
.tabs [role="tab"][aria-selected="true"]::before { content:""; position:absolute; inset:12px auto 12px 0; width:3px; background:var(--accent) }
.tab-panels { padding:40px; min-width:0 }
.tab-panels h3 { margin-top:0 }
.tab-panels p { color:var(--text-muted); line-height:1.85 }
.tab-diagram { padding:24px; border:1px solid var(--border); border-radius:var(--r-btn); background:var(--gray-100); color:var(--text) }
.toc { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:18px; background:var(--bg-panel); color:var(--text); border:1px solid var(--border); border-radius:var(--r-card); margin-bottom:40px }
.toc a { padding:8px 12px; min-height:44px; text-decoration:none; font-size:14px }
.toc a:hover { text-decoration:underline; text-decoration-color:var(--accent-dark) }
.toc-sticky { position:sticky; top:16px; z-index:5 }
.faq-item { border-bottom:1px solid var(--border); background:var(--bg-panel); color:var(--text); padding:0 24px }
.faq-item:first-child { border-radius:var(--r-card) var(--r-card) 0 0 }
.faq-item:last-child { border-radius:0 0 var(--r-card) var(--r-card) }
.faq-item summary { cursor:pointer; min-height:64px; padding:20px 28px 20px 0; font-weight:var(--weight-medium); position:relative; list-style:none }
.faq-item summary::-webkit-details-marker { display:none }
.faq-item summary::after { content:"+"; position:absolute; right:0; top:18px; color:var(--text-muted); font-size:20px }
.faq-item[open] summary::after { content:"−" }
.faq-answer { padding-bottom:24px; color:var(--text-muted) }
.faq-answer p { margin-top:0 }
.term-card { padding:28px; border-left:3px solid var(--gray-300) }
.term-card dt { font-family:var(--font-mono); font-size:18px; font-weight:var(--weight-bold) }
.term-card dd { margin:12px 0 0; color:var(--text-muted) }
.appstore-btn { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:56px; padding:10px 20px; background:var(--accent); color:var(--text); border:1px solid var(--clear); border-radius:var(--r-btn); text-decoration:none; box-shadow:var(--shadow-btn) }
.appstore-btn svg { width:25px; height:28px }
.appstore-btn small { display:block; font-size:11px; line-height:1.3 }
.appstore-btn strong { display:block; font-size:17px; line-height:1.4; font-weight:var(--weight-medium) }
.appstore-btn:hover { box-shadow:var(--shadow-icon) }
.get-actions { justify-content:flex-start }
.hero .get-actions { justify-content:center }
.get-actions .btn { max-width:100% }
.plat-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px }
.plat-card { position:relative; min-width:0; padding:32px; background:var(--bg-panel); color:var(--text); border:1px solid var(--border); border-radius:var(--r-card); box-shadow:var(--shadow-soft) }
.plat-card h3 { margin-top:8px; margin-bottom:12px }
.plat-card p { color:var(--text-muted) }
.plat-card > svg { width:28px; height:28px; margin-bottom:20px }
.plat-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:24px }
.plat-actions > * { max-width:100% }
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 { content:attr(data-mine); display:inline-block; margin-bottom:12px; padding:3px 10px; border-radius:var(--r-pill); background:var(--gray-100); color:var(--text); border:1px solid var(--border); font-size:12px }
.wx-open-tip { position:fixed; z-index:80; left:50%; bottom:24px; transform:translateX(-50%); width:calc(100% - 36px); max-width:520px; padding:20px 24px; border:1px solid var(--border); border-radius:var(--r-card); background:var(--bg-panel); color:var(--text); box-shadow:var(--shadow-card); font-size:14px }
.wx-open-tip button { min-height:44px; border:0; background:var(--bg-panel); color:var(--text); text-decoration:underline }
.fact-row { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:8px 10px; margin-top:24px; padding:0; list-style:none }
.fact-pill,.badge { display:inline-flex; align-items:center; gap:7px; max-width:100%; padding:4px 12px; border-radius:var(--r-pill); border:1px solid var(--border); background:var(--bg-panel); color:var(--text-muted); font-size:12px; line-height:1.6; overflow-wrap:anywhere; text-decoration:none }
.badge-dot::before { content:""; width:6px; height:6px; border-radius:var(--r-round); background:var(--accent); flex-shrink:0 }
.fact-pill code { font-size:inherit }
.shot-row { display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:center; gap:40px }
.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 { border-radius:var(--r-shot) }
.official-shot img { outline:1px solid var(--border); outline-offset:-1px }
.official-shot figcaption { padding-top:14px; text-align:center; color:var(--text-muted); font-size:13px }
.device-entry { display:flex; align-items:flex-start; gap:24px; padding:28px; text-decoration:none }
.device-entry > svg { width:38px; height:48px; color:var(--gray-700) }
.device-entry h3 { margin:0 0 10px }
.device-entry p { margin:0; color:var(--text-muted); font-size:14px }
.article-card { display:flex; flex-direction:column; padding:28px }
.article-card h3 { margin:20px 0 12px; line-height:1.5 }
.article-card h3 a { text-decoration:none }
.article-card h3 a:hover { text-decoration:underline }
.article-card p { margin:0 0 24px; color:var(--text-muted); font-size:14px }
.article-card .article-link { margin-top:auto; font-size:14px; font-weight:var(--weight-medium) }
.callout { padding:24px 28px; margin:28px 0; border:1px solid var(--border); border-left:3px solid var(--accent); border-radius:var(--r-btn); background:var(--gray-50); color:var(--text) }
.callout p:last-child { margin-bottom:0 }
.store-guide-card { padding:32px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px; background:var(--bg-panel); color:var(--text); border:1px solid var(--border); border-radius:var(--r-card); box-shadow:var(--shadow-soft) }
.store-guide-card > div { min-width:0; flex:1 1 300px }
.store-guide-card h3 { margin-top:0 }
.store-guide-card p { color:var(--text-muted) }
.table-scroll { max-width:100%; min-width:0; overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--border); border-radius:var(--r-card) }
.data-table { width:100%; border-collapse:collapse; background:var(--bg-panel); color:var(--text); font-size:14px }
.data-table th,.data-table td,.prose th,.prose td,.article-body th,.article-body td { min-width:7em; padding:16px 20px; text-align:left; vertical-align:top; border-bottom:1px solid var(--border); overflow-wrap:normal; word-break:normal }
.data-table th,.prose th,.article-body th { background:var(--gray-100); color:var(--text); font-weight:var(--weight-medium) }
.prose table,.article-body table { display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; max-width:100%; min-width:0; border-collapse:collapse; background:var(--bg-panel); color:var(--text) }
.data-table tr:last-child td { border-bottom:0 }
.dl-fab { position:fixed; right:24px; bottom:24px; z-index:12; display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:12px 20px; border:1px solid var(--border); border-radius:var(--r-btn); background:var(--accent); color:var(--text); box-shadow:var(--shadow-icon); text-decoration:none; font-size:14px; font-weight:var(--weight-medium) }
.dl-fab svg { width:22px; height:22px }
.has-dl-fab { padding-bottom:88px }
.preview-section { padding-top:120px; padding-bottom:120px }
.preview-section h2 { margin-top:0 }
.preview-stack { display:grid; gap:32px }
.preview-row { display:flex; flex-wrap:wrap; align-items:center; gap:18px }
.preview-shot { aspect-ratio:750/1334; border-radius:var(--r-shot); border:1px solid var(--border); background:linear-gradient(145deg,var(--gray-50),var(--band-lo)); color:var(--text-muted); display:grid; place-items:center; text-align:center; font-family:var(--font-mono); font-size:13px }
.swatches { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:16px }
.swatch { min-width:0; border:1px solid var(--border); border-radius:var(--r-card); background:var(--bg-panel); color:var(--text); overflow:hidden }
.swatch-sample { height:64px; border-bottom:1px solid var(--border) }
.swatch code { display:block; padding:12px; font-size:12px }
.sw-bg { background:var(--bg) }
.sw-panel { background:var(--bg-panel) }
.sw-dark { background:var(--bg-panel-2) }
.sw-border { background:var(--border) }
.sw-accent { background:var(--accent) }
.sw-accent-dark { background:var(--accent-dark) }
.sw-text { background:var(--text) }
.sw-muted { background:var(--text-muted) }
.sw-success { background:var(--success) }
.sw-warn { background:var(--warn) }
.sw-error { background:var(--error) }
.sw-hi { background:var(--band-hi) }
.sw-lo { background:var(--band-lo) }
.sw-50 { background:var(--gray-50) }
.sw-100 { background:var(--gray-100) }
.sw-150 { background:var(--gray-150) }
.sw-300 { background:var(--gray-300) }
.sw-400 { background:var(--gray-400) }
.sw-500 { background:var(--gray-500) }
.sw-700 { background:var(--gray-700) }
.sw-sub { background:var(--h1-sub) }
.sw-on-dark { background:var(--on-dark) }
.sw-on-muted { background:var(--on-dark-muted) }
.sw-dark-line { background:var(--dark-line) }
.sw-dark-tile { background:var(--dark-tile) }
.sw-g1 { background:var(--dark-g1) }
.sw-g2 { background:var(--dark-g2) }
.sw-g3 { background:var(--dark-g3) }
.sw-tint { background:var(--accent-tint) }
.sw-ring { background:var(--accent-ring) }
.sw-header { background:var(--header-bg) }
.sw-veil { background:var(--veil) }
.sw-clear { background:var(--clear) }
@media (max-width:1100px) and (min-width:901px) {
  .flow-col { padding-inline:8px }
  .chip { font-size:10px; padding-inline:6px }
}
@media (max-width:900px) {
  .device { grid-template-columns:minmax(0,1fr); max-width:560px }
  .device-arrow { padding:12px 0 30px }
  .device-arrow svg { transform:rotate(90deg) }
  .steps { grid-template-columns:minmax(0,1fr); gap:56px }
  .step-fig { max-width:480px }
  .tabs { grid-template-columns:minmax(0,1fr) }
  .tabs [role="tablist"] { flex-direction:row; gap:8px; padding:16px; overflow-x:auto; border-right:0; border-bottom:1px solid var(--border) }
  .tabs [role="tab"] { flex:0 0 auto; width:auto; padding:10px 18px; border:1px solid var(--border); border-radius:var(--r-pill); min-height:44px; white-space:nowrap }
  .tabs [role="tab"] small { display:none }
  .tabs [role="tab"][aria-selected="true"]::before { display:none }
  .tabs [role="tab"][aria-selected="true"] { border-color:var(--gray-700) }
  .tab-panels { padding:28px }
}
@media (max-width:640px) {
  .conf { font-size:12px }
  .conf li { padding-inline:18px 14px }
  .flow { grid-template-columns:minmax(0,1fr) }
  .flow-col { border-right:0; border-bottom:1px solid var(--border) }
  .quick { padding-top:96px; padding-bottom:110px }
  .quick h2 { font-size:24px }
  .plat-grid { grid-template-columns:minmax(0,1fr) }
  .plat-card { padding:24px }
  .get-actions { align-items:stretch }
  .get-actions .btn { flex:1 1 220px }
  .hero .get-actions .btn { flex:0 1 auto }
  .fact-row { flex-direction:row; gap:6px; flex-wrap:wrap }
  .fact-pill { font-size:11px; padding:4px 9px }
  .shot-row { flex-direction:column; align-items:center }
  .official-shot { max-width:280px }
  .device-entry { gap:18px; padding:24px }
  .tab-panels { padding:24px 18px }
  .tab-diagram { padding:16px }
  .callout { padding:20px }
  .dl-fab { right:16px; bottom:16px; width:52px; height:52px; min-height:52px; padding:0; border-radius:var(--r-round) }
  .dl-fab span { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap }
  #install table,#install .data-table { display:block; min-width:0; width:100% }
  #install thead { display:none }
  #install tbody,#install tr,#install td { display:block; width:100%; min-width:0 }
  #install tr { padding:12px; border-bottom:1px solid var(--border) }
  #install td { border:0; padding:8px; overflow-x:auto }
  #install code { overflow-wrap:normal; word-break:normal; white-space:pre }
}