
:root, :root[data-theme=light] {
  --accent: #17644f; --accent-line: #2d8168; --accent-soft: #e1efdf;
  --bg: #f7f2e8; --surface: #fffaf0; --surface-2: #f0eadc;
  --text: #24342b; --text-muted: #465e52; --text-faint: #50665a;
  --border: #c5cfc1; --border-strong: #8ba396; --hairline: #d5ded0;
  --r-panel: 5px; --r-chip: 4px;
}
:root[data-theme=dark] {
  --accent: #9ddeb7; --accent-line: #75c7a2; --accent-soft: #243c31;
  --bg: #162521; --surface: #21332b; --surface-2: #283d32;
  --text: #f5f1de; --text-muted: #c1d4c6; --text-faint: #afc4b7;
  --border: #4e695b; --border-strong: #739180; --hairline: #3d5147;
  --r-panel: 5px; --r-chip: 4px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --accent: #9ddeb7; --accent-line: #75c7a2; --accent-soft: #243c31;
    --bg: #162521; --surface: #21332b; --surface-2: #283d32;
    --text: #f5f1de; --text-muted: #c1d4c6; --text-faint: #afc4b7;
    --border: #4e695b; --border-strong: #739180; --hairline: #3d5147;
    --r-panel: 5px; --r-chip: 4px;
  }
}
body { background: var(--bg); color: var(--text); }
.site-head { border-top: 4px solid var(--accent-line); }
.hero h1, .post-head h1 { font-family: Georgia, "Songti SC", SimSun, serif; letter-spacing: normal; }
.notch { clip-path: none !important; }
.brandmark img { display: block; flex: none; }
.hero .hero-topo { object-fit: cover; width: 100%; height: 100%; }
.local-search { display: grid; gap: 1rem; }
.local-search input { box-sizing: border-box; width: 100%; padding: .7rem; background: var(--surface);
  color: var(--text); border: 1px solid var(--border-strong); border-radius: 4px; }
.local-search li { margin-block: .65rem; }
.local-search p { margin: .2rem 0; }
@media (max-width: 640px) {
  *, *::before, *::after { box-sizing: border-box; }
  header, main, nav, section, article, aside, footer, .wrap, .panel, .panel-in, .prose {
    min-inline-size: 0; max-inline-size: 100%; overflow-wrap: anywhere;
  }
  .feat-grid, .dir-grid, .signup-pair { grid-template-columns: minmax(0, 1fr) !important; }
  img, video, canvas, iframe { max-inline-size: 100%; }
  pre { white-space: pre-wrap !important; overflow-wrap: anywhere; max-inline-size: 100%; }
  pre code, td code { white-space: inherit; }
  table[data-stack], table[data-stack] tbody, table[data-stack] tr {
    display: block !important; width: 100% !important; min-width: 0 !important; max-width: 100%;
  }
  table[data-stack] thead {
    position: absolute !important; inline-size: 1px !important; block-size: 1px !important;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  table[data-stack] tbody tr { margin-block: .8rem; border: 1px solid var(--border); }
  table[data-stack] tbody :is(td, th) {
    display: block !important; inline-size: 100% !important; min-inline-size: 0 !important;
    white-space: normal !important; overflow-wrap: anywhere; text-align: start;
  }
  table[data-stack] td[data-stack-label]::before {
    display: block; content: attr(data-stack-label); font-weight: 700; color: var(--text-muted);
  }
  table[data-stack] :is(td, th) :is(a, span, code) { white-space: normal !important; }
}

.vs-head{display:flex;flex-wrap:wrap;gap:8px 24px}
table[data-brand-kind="pair"] caption{display:block;width:100%;text-align:left;writing-mode:horizontal-tb}
