.get-actions { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px; margin-top:26px; max-width:100% }
.get-actions .btn { flex:0 1 auto }
.get-note { margin:12px 0 0; font:400 12px/1.6 var(--f-mono); color:var(--c-muted); text-align:center; overflow-wrap:anywhere }
.plats { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:10px; margin-top:24px; max-width:100% }
.seg { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:2px; padding:4px; border-radius:var(--r-pill); background:var(--c-seg); color:var(--c-muted); border:1px solid var(--c-border-soft); max-width:100% }
.seg a { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:34px; padding:7px 14px; border-radius:var(--r-pill); font-size:13.5px; font-weight:500 }
.seg a:hover { background:var(--c-seg-hover); color:var(--c-text) }
.seg a.is-host { background:var(--c-panel); color:var(--c-text); font-weight:600; box-shadow:var(--shadow-raise-sm) }
.seg svg { width:15px; height:15px; flex:none }
.price-chip { display:inline-flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px; min-height:42px; max-width:100%; padding:8px 16px; border:1px solid var(--c-border); border-radius:var(--r-pill); background:var(--c-panel); color:var(--c-muted); font-size:13px; text-align:center }
.price-chip b { color:var(--c-text); font-weight:600 }
.price-chip i { font-style:normal; margin-inline:4px }

.facts-row { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px; max-width:100% }
.fact-pill,.badge { display:inline-flex; align-items:center; gap:7px; max-width:100%; padding:6px 12px; border:1px solid var(--c-border); border-radius:var(--r-pill); background:var(--c-panel); color:var(--c-text-2); font-size:12px; line-height:1.5; overflow-wrap:anywhere }
.badge--accent { background:var(--c-accent-ring); color:var(--c-accent-ink); border-color:var(--c-accent-ring) }
.badge--success { background:var(--c-success-ring); color:var(--c-success-ink); border-color:var(--c-success-ring) }

.appstore-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:56px; max-width:100%; padding:10px 22px; border:1px solid var(--c-panel-2); border-radius:var(--r-window); background:var(--c-panel-2); color:var(--c-on-dark); box-shadow:var(--shadow-raise); text-align:left }
.appstore-button svg { flex:none; width:26px; height:30px }
.appstore-button__text { display:block; min-width:0 }
.appstore-button small { display:block; font-size:11px; line-height:1.5 }
.appstore-button strong { display:block; font-size:17px; font-weight:600; line-height:1.4 }
.appstore-button:hover { box-shadow:var(--shadow-window) }
.appstore-button:active { transform:translateY(1px) }
.appstore-button[aria-disabled="true"] { opacity:.55; pointer-events:none }
.article-store-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px; align-items:center; padding:32px; margin-top:48px; border:1px solid var(--c-border); border-radius:var(--r-card); background:var(--c-panel); color:var(--c-text) }
.article-store-card h2 { font-size:24px; margin:0 0 12px }
.article-store-card p { font-size:14px; margin:0; color:var(--c-muted) }

.plat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px }
.plat-card { position:relative; display:flex; flex-direction:column; min-width:0; padding:32px; border:1px solid var(--c-border); border-radius:var(--r-card); background:var(--c-panel); color:var(--c-text); box-shadow:var(--shadow-raise) }
.plat-card h3 { margin:12px 0 }
.plat-card p { color:var(--c-muted); font-size:14px }
.plat-card__icon { width:30px; height:30px; color:var(--c-text) }
.plat-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; padding-top:12px }
.plat-actions .btn { font-size:13px; padding-inline:18px }
.plat-card::before { display:none; content:attr(data-mine); align-self:flex-end; margin-bottom:12px; padding:4px 10px; border-radius:var(--r-pill); background:var(--c-accent-ring); color:var(--c-accent-ink); font-size:12px; font-weight:600 }
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:90; inset:auto 16px max(20px,env(safe-area-inset-bottom)); width:max-content; max-width:calc(100% - 32px); margin-inline:auto; padding:18px 24px; border:1px solid var(--c-border); border-radius:var(--r-window); background:var(--c-panel-2); color:var(--c-on-dark); box-shadow:var(--shadow-window); font-size:14px; text-align:center }
.wx-open-tip button { min-width:44px; min-height:44px; border:0; background:var(--c-panel-2); color:var(--c-on-dark) }

.feature-tabs { display:grid; grid-template-columns:260px minmax(0,1fr); gap:48px; align-items:start }
.feature-tabs [role="tablist"] { display:flex; flex-direction:column; gap:8px; min-width:0 }
[role="tab"] { display:flex; align-items:center; gap:12px; min-height:48px; padding:12px 20px; border:1px solid var(--c-glow-0); border-radius:var(--r-pill); background:var(--c-glow-0); color:var(--c-muted); font:500 15px/1.5 var(--f-body); text-align:left }
[role="tab"]::before { content:""; width:6px; height:6px; flex:none; border-radius:var(--r-circle); background:var(--c-accent) }
[role="tab"][aria-selected="true"] { background:var(--c-panel); color:var(--c-text); border-color:var(--c-border-soft); box-shadow:var(--shadow-raise) }
[role="tabpanel"] { min-width:0 }
.feature-panel { min-height:330px; padding:40px; border:1px solid var(--c-border); border-radius:var(--r-card); background:var(--c-panel); color:var(--c-text); box-shadow:var(--shadow-window) }
.feature-panel__label { display:block; margin-bottom:22px; font:500 12px/1.6 var(--f-mono); color:var(--c-muted) }
.feature-panel p { line-height:1.9 }
.feature-panel pre { margin-bottom:0 }
.tabs--horizontal [role="tablist"] { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px }

.jump-nav,.toc { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:32px; padding:12px; border:1px solid var(--c-border); border-radius:var(--r-window); background:var(--c-panel); color:var(--c-text-2) }
.jump-nav a,.toc a { display:block; padding:10px 14px; min-height:44px; border-radius:var(--r-sm); font-size:13px }
.jump-nav a:hover,.toc a:hover { background:var(--c-sidebar); color:var(--c-text) }
.toc--sticky { position:sticky; top:16px; z-index:10 }
.toc ul { display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none }
.doc-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:48px; align-items:start }
.doc-layout > .toc { display:block; margin:0; max-height:calc(100dvh - 32px); overflow-y:auto }
.doc-layout > .toc ul { display:block }

.faq-list { border:1px solid var(--c-border); border-radius:var(--r-card); background:var(--c-panel); color:var(--c-text); overflow:clip }
.faq-item { border-bottom:1px solid var(--c-border); padding:0 28px }
.faq-item:last-child { border-bottom:0 }
.faq-item summary { display:block; position:relative; padding:22px 32px 22px 0; cursor:pointer; list-style:none; font-weight:600 }
.faq-item summary::-webkit-details-marker { display:none }
.faq-item summary::after { content:"+"; position:absolute; right:0; top:20px; color:var(--c-muted); font:400 24px/1.2 var(--f-mono) }
.faq-item[open] summary::after { content:"−" }
.faq-item__body { padding-bottom:20px; color:var(--c-muted); font-size:15px }
.faq-item__body p:last-child { margin-bottom:0 }

.term-card { padding:28px; border:1px solid var(--c-border); border-radius:var(--r-card); background:var(--c-panel); color:var(--c-text); box-shadow:var(--shadow-raise-sm) }
.term-card h3 { margin:0 0 12px; font-family:var(--f-mono); font-size:19px }
.term-card p { margin:0; color:var(--c-muted); font-size:14px }
.term-card__category { display:block; margin-bottom:12px; font-size:12px; color:var(--c-muted) }
.device-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px }
.device-card { display:flex; align-items:center; gap:20px; padding:28px; border:1px solid var(--c-border); border-radius:var(--r-card); background:var(--c-panel); color:var(--c-text); box-shadow:var(--shadow-raise-sm) }
.device-card svg { width:44px; height:56px; flex:none; color:var(--c-muted) }
.device-card h3 { font-size:19px; margin:0 0 6px }
.device-card p { margin:0; font-size:13px; color:var(--c-muted) }

.official-shots { display:flex; flex-wrap:wrap; justify-content:center; align-items:flex-start; gap:32px }
.official-shot { width:100%; max-width:280px; min-width:0; margin:0 auto; flex-shrink:0 }
.official-shot img { display:block; width:100%; height:auto; border-radius:10px }
.official-shot { border:1px solid var(--c-border); border-radius:var(--r-shot); background:var(--c-panel); color:var(--c-muted) }
.official-shot figcaption { padding:12px 14px; font-size:12px; line-height:1.6 }
.shot-placeholder { display:grid; place-items:center; width:100%; aspect-ratio:750/1334; border-radius:var(--r-shot); background:linear-gradient(160deg,var(--c-placeholder-from),var(--c-placeholder-to)); color:var(--c-muted); font:400 13px/1.8 var(--f-mono); text-align:center }

.article-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px }
.article-card { display:flex; flex-direction:column; padding:32px; border:1px solid var(--c-border); border-radius:var(--r-card); background:var(--c-panel); color:var(--c-text); box-shadow:var(--shadow-raise-sm) }
.article-card__meta { font-size:12px; color:var(--c-muted); margin-bottom:20px }
.article-card h3 { margin:0 0 14px; font-size:20px; line-height:1.5 }
.article-card p { font-size:14px; color:var(--c-muted) }
.article-card__link { margin-top:auto; padding-top:16px; font-size:13px; font-weight:600 }
.article-card a:hover { text-decoration:underline; text-underline-offset:4px }

.callout { margin:28px 0; padding:24px 28px; border:1px solid var(--c-border); border-left:4px solid var(--c-accent); border-radius:var(--r-window); background:var(--c-sidebar); color:var(--c-text-2) }
.callout p:last-child { margin-bottom:0 }
.callout__title { display:block; margin-bottom:8px; color:var(--c-text); font-weight:700 }

.table-scroll { overflow-x:auto; max-width:100%; min-width:0; border:1px solid var(--c-border); border-radius:var(--r-window); background:var(--c-panel); color:var(--c-text); -webkit-overflow-scrolling:touch }
.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 { min-width:7em; padding:16px 20px; border-bottom:1px solid var(--c-border); vertical-align:top; overflow-wrap:normal; word-break:normal }
.data-table th,.prose table th { background:var(--c-sidebar); color:var(--c-text); font-weight:600 }
.data-table td,.prose table td { background:var(--c-panel); color:var(--c-text-2) }
.data-table tr:last-child td { border-bottom:0 }
.prose table { display:block; overflow-x:auto; -webkit-overflow-scrolling:touch; max-width:100%; min-width:0; border-collapse:collapse; text-align:left; font-size:14px }
.prose table code,.data-table code { overflow-wrap:anywhere; word-break:normal }
#install table code { overflow-wrap:normal; word-break:normal; white-space:pre; display:inline-block; max-width:100%; overflow-x:auto; vertical-align:top }
#install td { max-width:36em }

.dl-fab { position:fixed; z-index:25; right:24px; bottom:max(24px,env(safe-area-inset-bottom)); display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:12px 22px; border:1px solid var(--c-btn-to); border-radius:var(--r-pill); background:linear-gradient(180deg,var(--c-btn-from),var(--c-btn-to)); color:var(--c-text); box-shadow:var(--shadow-btn); font-size:14px; font-weight:700 }
.dl-fab svg { width:21px; height:21px; flex:none }
body.has-dl-fab { padding-bottom:88px }

.preview-section { padding-top:80px; padding-bottom:80px }
.preview-section + .preview-section { border-top:1px solid var(--c-border) }
.preview-section h2:first-child { margin-top:0 }
.preview-swatch-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px }
.preview-swatch { min-width:0; border:1px solid var(--c-border); border-radius:var(--r-window); overflow:clip; background:var(--c-panel); color:var(--c-text) }
.preview-swatch__color { height:68px; border-bottom:1px solid var(--c-border) }
.preview-swatch code { display:block; padding:12px; font-size:11px }
.sw-bg { background:var(--c-bg) }
.sw-panel { background:var(--c-panel) }
.sw-panel-2 { background:var(--c-panel-2) }
.sw-border { background:var(--c-border) }
.sw-border-soft { background:var(--c-border-soft) }
.sw-accent { background:var(--c-accent) }
.sw-accent-dark { background:var(--c-accent-dark) }
.sw-accent-ink { background:var(--c-accent-ink) }
.sw-accent-ring { background:var(--c-accent-ring) }
.sw-text { background:var(--c-text) }
.sw-text-2 { background:var(--c-text-2) }
.sw-muted { background:var(--c-muted) }
.sw-faint { background:var(--c-faint) }
.sw-success { background:var(--c-success) }
.sw-success-ink { background:var(--c-success-ink) }
.sw-success-ring { background:var(--c-success-ring) }
.sw-warn { background:var(--c-warn) }
.sw-error { background:var(--c-error) }
.sw-error-ink { background:var(--c-error-ink) }
.sw-sidebar { background:var(--c-sidebar) }
.sw-chrome { background:var(--c-chrome) }
.sw-seg { background:var(--c-seg) }
.sw-seg-hover { background:var(--c-seg-hover) }
.sw-active-line { background:var(--c-active-line) }
.sw-on-dark { background:var(--c-on-dark) }
.sw-dark-muted { background:var(--c-dark-muted) }
.sw-btn-from { background:var(--c-btn-from) }
.sw-btn-to { background:var(--c-btn-to) }
.sw-glow { background:var(--c-glow) }
.sw-glow-mid { background:var(--c-glow-mid) }
.sw-glow-0 { background:var(--c-glow-0) }
.sw-red { background:var(--c-mac-red) }
.sw-yellow { background:var(--c-mac-yellow) }
.sw-green { background:var(--c-mac-green) }
.sw-placeholder-from { background:var(--c-placeholder-from) }
.sw-placeholder-to { background:var(--c-placeholder-to) }
.sw-veil { background:var(--c-veil) }
.preview-type { margin-bottom:28px }
.preview-type--display { font:800 var(--fs-h1)/1.2 var(--f-display); letter-spacing:var(--tracking-display) }
.preview-type--h2 { font:800 var(--fs-h2)/1.2 var(--f-display) }
.preview-type--h3 { font:700 var(--fs-h3)/1.4 var(--f-display) }
.preview-type--mono { font:400 13px/1.8 var(--f-mono) }
.preview-hero .code li { animation:none; opacity:1; transform:none }
.preview-hero .caret { animation:none }

@media (max-width:960px) {
  .plat-grid,.article-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
  .feature-tabs { grid-template-columns:210px minmax(0,1fr); gap:24px }
  .feature-panel { padding:28px }
  .doc-layout { grid-template-columns:minmax(0,1fr) }
  .doc-layout > .toc { position:static }
}
@media (max-width:768px) {
  .feature-tabs { grid-template-columns:minmax(0,1fr) }
  .feature-tabs [role="tablist"] { flex-direction:row; overflow-x:auto; padding:4px 4px 14px; gap:8px; max-width:100% }
  .feature-tabs [role="tab"] { flex-shrink:0; white-space:nowrap }
}
@media (max-width:640px) {
  .get-actions { width:100%; gap:10px }
  .get-actions .btn { flex:1 1 230px; max-width:340px }
  .plats,.facts-row { flex-direction:row; flex-wrap:wrap; justify-content:center }
  .seg { border-radius:var(--r-window) }
  .seg a { padding-inline:10px; font-size:12px }
  .price-chip { font-size:11px; min-height:34px }
  .plat-grid,.article-grid,.device-grid { grid-template-columns:minmax(0,1fr) }
  .plat-card,.article-card { padding:26px }
  .device-card { padding:22px }
  .article-store-card { grid-template-columns:minmax(0,1fr); padding:24px }
  .article-store-card .appstore-button { justify-self:start }
  .official-shots { flex-direction:column; align-items:center }
  .official-shot { max-width:280px }
  .faq-item { padding-inline:20px }
  .callout { padding:20px }
  .preview-swatch-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }
  #install table,#install tbody,#install tr,#install td { display:block; width:100%; min-width:0; max-width:100% }
  #install thead { display:none }
  #install tr { border-bottom:1px solid var(--c-border) }
  #install td { border-bottom:0; padding:12px 16px }
  #install td::before { content:attr(data-label); display:block; font-weight:700; margin-bottom:6px; color:var(--c-text) }
  #install td code { word-break:normal; overflow-wrap:normal; white-space:pre; max-width:100%; overflow-x:auto }
  .dl-fab { right:16px; width:52px; height:52px; min-height:52px; padding:0; border-radius:var(--r-circle) }
  .dl-fab__text { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap }
}
@media (prefers-reduced-motion:reduce) {
  .appstore-button:active { transform:none }
}