.get-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; max-width: 100%; }
.get-actions > .btn { flex: 0 1 auto; min-width: 0; }
.get-note { margin: 14px 0 0; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: var(--text-muted); overflow-wrap: anywhere; }
.appstore-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  max-width: 100%;
  padding: 10px 22px;
  border-radius: var(--r-btn);
  background: var(--accent-dark);
  color: var(--on-accent);
  box-shadow: var(--shadow-hair);
  text-decoration: none;
  line-height: 1.3;
  transition: box-shadow var(--duration-fast) var(--ease);
}
.appstore-button svg { width: 25px; height: 30px; flex: 0 0 25px; fill: currentColor; }
.appstore-copy { display: block; min-width: 0; }
.appstore-copy small { display: block; font-size: 11px; }
.appstore-copy strong { display: block; font-size: var(--text-base); }
.appstore-button:hover, .appstore-button.is-hover { background: var(--accent-dark); color: var(--on-accent); box-shadow: var(--shadow-btn); }
.appstore-button.is-focus { outline: 2px solid var(--accent-dark); outline-offset: 4px; }
.fact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0; margin: 20px 0 0; list-style: none; }
.fact-row li { margin: 0; }
.fact-pill, .tag {
  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-muted);
  font-size: var(--text-xs);
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.tag { border: 0; border-radius: var(--r-tag); background: var(--bg-panel-2); color: var(--accent-dark); font-family: var(--font-mono); }
.hero .fact-row { justify-content: center; }
.plat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.plat-card {
  position: relative;
  grid-column: span 2;
  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-hair);
}
.plat-card:nth-last-child(-n+2) { grid-column: span 3; }
.plat-card h3 { margin-top: 18px; margin-bottom: 12px; }
.plat-card p { color: var(--text-muted); font-size: var(--text-sm); }
.plat-symbol { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-dark); }
.plat-symbol svg { width: 28px; height: 28px; flex-shrink: 0; }
.plat-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.plat-actions .btn { flex: 1 1 auto; padding-inline: 14px; font-size: var(--text-sm); }
.plat-card::before { display: none; content: attr(data-mine); position: absolute; top: 16px; right: 16px; padding: 3px 8px; border-radius: var(--r-pill); background: var(--bg-panel-2); color: var(--accent-dark); font-size: var(--text-xs); font-weight: var(--weight-semibold); }
html[data-visitor-os="ios"] .plat-card[data-plat="ios"] { order: -1; border-color: var(--accent); box-shadow: var(--shadow-hair), var(--glow-card); }
html[data-visitor-os="mac"] .plat-card[data-plat="mac"] { order: -1; border-color: var(--accent); box-shadow: var(--shadow-hair), var(--glow-card); }
html[data-visitor-os="windows"] .plat-card[data-plat="windows"] { order: -1; border-color: var(--accent); box-shadow: var(--shadow-hair), var(--glow-card); }
html[data-visitor-os="android"] .plat-card[data-plat="android"] { order: -1; border-color: var(--accent); box-shadow: var(--shadow-hair), var(--glow-card); }
html[data-visitor-os="linux"] .plat-card[data-plat="linux"] { order: -1; border-color: var(--accent); box-shadow: var(--shadow-hair), var(--glow-card); }
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: 70;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(440px, calc(100% - var(--gutter) * 2));
  padding: 18px 22px;
  border: 1px solid var(--accent);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--accent-dark);
  box-shadow: var(--shadow-menu);
  font-size: var(--text-sm);
}
.feature-tabs { display: grid; grid-template-columns: minmax(0, .32fr) minmax(0, .68fr); gap: 48px; padding-bottom: 24px; }
.feature-index { display: flex; flex-direction: column; gap: 8px; align-self: start; }
.feature-tab {
  position: relative;
  display: block;
  width: 100%;
  min-height: 76px;
  padding: 16px 24px;
  border-radius: var(--r-btn);
  background: var(--clear);
  color: var(--text-muted);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  text-align: left;
}
.feature-tab .eyebrow { margin-bottom: 4px; font-size: 11px; }
.feature-tab[aria-selected="true"] { background: var(--bg); color: var(--text); box-shadow: var(--shadow-hair); }
.feature-tab[aria-selected="true"]::before { content: ""; position: absolute; top: 16px; bottom: 16px; left: 0; width: 3px; border-radius: var(--r-line); background: var(--accent); }
.feature-tab:hover { color: var(--accent-dark); }
.feature-panel {
  position: relative;
  min-width: 0;
  min-height: 520px;
  margin-top: 24px;
  padding: 40px 40px 240px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-hair);
}
.feature-panel h3 { font-size: clamp(26px, 3vw, 36px); }
.feature-panel p { font-size: var(--text-base); color: var(--text-muted); }
.feature-art { position: absolute; width: min(440px, 90%); height: 250px; right: 0; bottom: -24px; }
.tab-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab-row [role="tab"] { padding: 10px 16px; min-height: 44px; border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--bg); color: var(--text-muted); }
.tab-row [role="tab"][aria-selected="true"] { background: var(--bg-panel-2); color: var(--accent-dark); border-color: var(--accent); }
[role="tabpanel"]:focus-visible { outline-offset: 6px; }
.toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; overflow-x: visible; padding-block: 12px; }
.toc a { flex-shrink: 0; padding: 8px 14px; min-height: 44px; border: 1px solid var(--border); border-radius: var(--r-pill); background: var(--bg); color: var(--text-muted); font-size: var(--text-sm); text-decoration: none; }
.toc a:hover, .toc a[aria-current] { background: var(--bg-panel); color: var(--accent-dark); border-color: var(--accent); }
.toc-sticky { position: sticky; top: 0; z-index: 10; background: var(--bg); color: var(--text); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-hair); }
.faq-item summary { position: relative; min-height: 56px; padding: 18px 52px 18px 22px; font-weight: var(--weight-semibold); list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 15px; color: var(--accent-dark); font-family: var(--font-mono); font-size: 22px; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 22px 20px; color: var(--text-muted); }
.faq-answer p:last-child { margin-bottom: 0; }
.term-card { border-left: 3px solid var(--accent); }
.term-card dt { font-family: var(--font-mono); font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--accent-dark); }
.term-card dd { margin: 12px 0 0; color: var(--text-muted); }
.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); box-shadow: var(--shadow-hair); }
.official-shot figcaption { padding: 12px 14px; font-size: var(--text-xs); line-height: 1.6; }
.shot-row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.device-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.device-entry { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 20px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-hair); text-decoration: none; }
.device-entry svg { width: 40px; height: 48px; color: var(--accent-dark); }
.device-entry strong { display: block; font-size: var(--text-lg); }
.device-entry small { display: block; margin-top: 4px; color: var(--text-muted); }
.device-entry:hover { border-color: var(--accent); box-shadow: var(--shadow-hair), var(--glow-card); }
.article-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.article-card h3 { margin: 0; font-size: var(--text-h3); line-height: 1.5; }
.article-card h3 a { text-decoration: none; }
.article-card p { margin: 0; color: var(--text-muted); font-size: var(--text-sm); }
.article-card .article-link { margin-top: auto; font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--accent-dark); }
.callout { margin: 28px 0; padding: 22px 24px; border-left: 3px solid var(--accent); border-radius: var(--r-tag); background: var(--bg-panel); color: var(--accent-dark); }
.callout p:last-child { margin-bottom: 0; }
.group-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg); color: var(--text); box-shadow: var(--shadow-hair); }
.group-list li { margin: 0; }
.group-list li + li { border-top: 1px solid var(--border); }
.group-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 22px; text-decoration: none; }
.group-list a::after { content: "›"; flex-shrink: 0; color: var(--accent-dark); font-size: var(--text-h3); }
.table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; 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);
  text-align: left;
  vertical-align: top;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.8;
}
.data-table th, .prose table th { background: var(--bg-panel); color: var(--accent-dark); font-weight: var(--weight-semibold); }
.data-table td, .prose table td { background: var(--bg); color: var(--text); }
.prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; border-collapse: collapse; }
.store-guide { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 32px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--bg-panel); color: var(--text); }
.store-guide h2, .store-guide h3 { margin-bottom: 12px; font-size: var(--text-h3); }
.store-guide p { margin-bottom: 0; color: var(--text-muted); font-size: var(--text-sm); }
.dl-fab {
  position: fixed;
  z-index: 15;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--accent-dark);
  box-shadow: var(--shadow-hair), var(--glow-card);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-decoration: none;
}
.dl-fab svg { width: 22px; height: 22px; flex: 0 0 22px; }
.dl-fab:hover { background: var(--bg-panel); color: var(--accent-dark); border-color: var(--accent); }
.preview-only .layer-a, .preview-only .layer-b { animation: none; }
.preview-section-title { margin-bottom: 40px; }
.preview-stack { display: grid; gap: 28px; }
.preview-swatch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.swatch { border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; background: var(--bg); color: var(--text); }
.swatch-face { height: 64px; background: var(--bg); color: var(--text); }
.swatch code { display: block; padding: 10px 12px; color: var(--text-muted); font-size: 11px; }
.sw-bg { background: var(--bg); color: var(--text); }
.sw-tint { background: var(--bg-tint); color: var(--text); }
.sw-panel { background: var(--bg-panel); color: var(--text); }
.sw-panel-2 { background: var(--bg-panel-2); color: var(--text); }
.sw-border { background: var(--border); color: var(--text); }
.sw-border-strong { background: var(--border-strong); color: var(--text); }
.sw-accent { background: var(--accent); color: var(--ink); }
.sw-accent-dark { background: var(--accent-dark); color: var(--on-accent); }
.sw-accent-tint { background: var(--accent-tint); color: var(--text); }
.sw-accent-wash { background: var(--accent-wash); color: var(--text); }
.sw-text { background: var(--text); color: var(--on-ink); }
.sw-muted { background: var(--text-muted); color: var(--on-ink); }
.sw-success { background: var(--success); color: var(--ink); }
.sw-warn { background: var(--warn); color: var(--ink); }
.sw-error { background: var(--error); color: var(--on-ink); }
.sw-ink { background: var(--ink); color: var(--on-ink); }
.sw-on-ink { background: var(--on-ink); color: var(--text); }
.sw-on-ink-muted { background: var(--ink); color: var(--on-ink-muted); }
.sw-ink-line { background: var(--ink); color: var(--on-ink); box-shadow: inset 0 0 0 12px var(--ink-line); }
.sw-on-accent { background: var(--on-accent); color: var(--text); }
.sw-clear { background: var(--clear); color: var(--text); }
.sw-strip { background: linear-gradient(90deg, var(--accent), var(--strip-amber) 52%, var(--strip-rose)); color: var(--ink); }
.shot-placeholder { display: grid; place-content: center; gap: 12px; aspect-ratio: 750 / 1334; border-radius: var(--r-shot); background: var(--bg-panel); color: var(--accent-dark); font-family: var(--font-mono); font-size: var(--text-xs); text-align: center; }
.preview-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.preview-type-display { font-size: var(--text-h1); font-weight: var(--weight-display); line-height: 1.2; letter-spacing: var(--tracking-title); }
.preview-caption { color: var(--text-muted); font-size: var(--text-sm); }
.preview-fab { position: static; width: fit-content; }
.preview-footer { margin-top: 80px; }
@media (max-width: 960px) {
  .feature-tabs { gap: 24px; }
  .feature-panel { padding: 28px 28px 240px; }
  .plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plat-card, .plat-card:nth-last-child(-n+2) { grid-column: auto; }
  .preview-swatch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .feature-tabs { grid-template-columns: 1fr; }
  .feature-index { flex-direction: row; overflow-x: auto; max-width: 100%; gap: 8px; padding-bottom: 8px; }
  .feature-tab { flex: 0 0 auto; width: auto; min-height: 44px; padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--r-pill); font-size: var(--text-sm); white-space: nowrap; }
  .feature-tab .eyebrow { display: none; }
  .feature-tab[aria-selected="true"] { border-color: var(--accent); color: var(--accent-dark); }
  .feature-tab[aria-selected="true"]::before { display: none; }
  .feature-panel { margin-top: 0; }
  .store-guide { grid-template-columns: 1fr; }
  .store-guide .appstore-button { justify-self: start; }
}
@media (max-width: 640px) {
  .get-actions { width: 100%; }
  .get-actions > .btn { flex: 1 1 100%; }
  .fact-row { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .fact-pill { font-size: 11px; padding: 4px 8px; }
  .plat-grid, .device-grid { grid-template-columns: 1fr; }
  .plat-card { padding: 24px; }
  .feature-panel { min-height: 560px; padding: 26px 22px 240px; }
  .feature-panel h3 { font-size: 26px; }
  .official-shot { margin-inline: auto; }
  .shot-row { flex-direction: column; align-items: center; }
  .device-entry { padding: 20px; gap: 14px; }
  .callout { padding: 20px; }
  .store-guide { padding: 24px; }
  .preview-swatch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-fab { width: 52px; height: 52px; min-height: 52px; padding: 0; justify-content: center; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); border-radius: var(--r-circle); }
  .dl-fab .dl-fab-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  body.has-article-fab { padding-bottom: 88px; }
  #install table, table#install { display: block; width: 100%; overflow-x: auto; }
  #install thead { display: none; }
  #install tbody, #install tr, #install td { display: block; width: 100%; }
  #install tr { margin-bottom: 16px; border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
  #install td { min-width: 0; padding: 14px 16px; }
  #install td:first-child { font-weight: var(--weight-bold); background: var(--bg-panel); color: var(--accent-dark); }
  #install code { display: block; max-width: 100%; overflow-x: auto; overflow-wrap: normal; word-break: normal; white-space: pre; padding-block: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .appstore-button { transition: none; }
}