    :root {
      --brand: #0f766e;
      --brand-soft: rgba(15, 118, 110, 0.1);
      --brand-mid: rgba(15, 118, 110, 0.18);
      --nav-h: 60px;
      --sidebar-w: 268px;
      --toc-w: 220px;
      --c-bg: #ffffff;
      --c-bg-alt: #f7f7f8;
      --c-bg-soft: #f1f2f4;
      --c-bg-code: #f6f8fa;
      --c-border: #e5e7eb;
      --c-text-1: #1a1a1e;
      --c-text-2: #4b5563;
      --c-text-3: #9ca3af;
      --c-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
      --badge-new: #059669;
      --badge-fix: #dc2626;
      --badge-improve: #2563eb;
      --badge-change: #d97706;
      --radius: 12px;
    }
    [data-theme="dark"] {
      --c-bg: #141416;
      --c-bg-alt: #1c1c1f;
      --c-bg-soft: #242428;
      --c-bg-code: #0d0d0f;
      --c-border: #2e2e32;
      --c-text-1: #ececf1;
      --c-text-2: #a1a1aa;
      --c-text-3: #71717a;
      --c-shadow: 0 8px 28px rgba(0,0,0,0.35);
      --brand-soft: rgba(45, 212, 191, 0.12);
      --brand-mid: rgba(45, 212, 191, 0.22);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: "Plus Jakarta Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Segoe UI", sans-serif;
      font-size: 15px;
      line-height: 1.75;
      color: var(--c-text-1);
      background: var(--c-bg);
      transition: background 0.2s, color 0.2s;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    button { font-family: inherit; }

    .read-progress {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: 2px;
      z-index: 120;
      pointer-events: none;
      background: transparent;
    }
    .read-progress-bar {
      height: 100%;
      width: 0%;
      background: linear-gradient(90deg, var(--brand), #2dd4bf);
      transition: width 0.08s linear;
    }

    .vp-nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--nav-h);
      background: rgba(255,255,255,0.82);
      backdrop-filter: blur(14px) saturate(1.5);
      -webkit-backdrop-filter: blur(14px) saturate(1.5);
      border-bottom: 1px solid var(--c-border);
      z-index: 100;
    }
    [data-theme="dark"] .vp-nav { background: rgba(20,20,22,0.86); }
    .vp-nav-inner {
      display: flex;
      align-items: center;
      height: 100%;
      padding: 0 20px;
      gap: 14px;
    }
    .nav-hamburger {
      display: none;
      align-items: center;
      justify-content: center;
      width: 36px; height: 36px;
      border: none;
      background: transparent;
      border-radius: 8px;
      color: var(--c-text-2);
      cursor: pointer;
      flex-shrink: 0;
    }
    .nav-hamburger:hover { background: var(--c-bg-soft); color: var(--c-text-1); }
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 15px;
      font-weight: 650;
      color: var(--c-text-1);
      white-space: nowrap;
      flex-shrink: 0;
    }
    .nav-logo-icon {
      width: 28px;
      height: 28px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .nav-search {
      flex: 1;
      max-width: 420px;
      position: relative;
    }
    .nav-search-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 12px;
      height: 38px;
      background: var(--c-bg-alt);
      border: 1px solid var(--c-border);
      border-radius: 10px;
      cursor: text;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .nav-search-wrap:focus-within {
      border-color: var(--brand);
      box-shadow: 0 0 0 3px var(--brand-soft);
      background: var(--c-bg);
    }
    .nav-search-icon { color: var(--c-text-3); flex-shrink: 0; }
    .nav-search-input {
      flex: 1;
      border: none;
      background: transparent;
      outline: none;
      font-size: 14px;
      color: var(--c-text-1);
      min-width: 0;
    }
    .nav-search-input::placeholder { color: var(--c-text-3); }
    .nav-kbd {
      display: inline-flex;
      align-items: center;
      padding: 1px 6px;
      border: 1px solid var(--c-border);
      border-radius: 5px;
      font-size: 11px;
      color: var(--c-text-3);
      background: var(--c-bg);
      white-space: nowrap;
      flex-shrink: 0;
    }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 4px;
      flex-shrink: 0;
      margin-left: auto;
    }
    .nav-link {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 10px;
      border-radius: 8px;
      font-size: 13.5px;
      color: var(--c-text-2);
      transition: color 0.15s, background 0.15s;
      white-space: nowrap;
    }
    .nav-link:hover { color: var(--c-text-1); background: var(--c-bg-alt); }
    .nav-icon-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 36px; height: 36px;
      border: none;
      background: transparent;
      border-radius: 8px;
      color: var(--c-text-2);
      cursor: pointer;
      transition: color 0.15s, background 0.15s;
    }
    .nav-icon-btn:hover { color: var(--c-text-1); background: var(--c-bg-alt); }

    .search-dropdown {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      left: 0; right: 0;
      background: var(--c-bg);
      border: 1px solid var(--c-border);
      border-radius: 12px;
      box-shadow: var(--c-shadow);
      z-index: 200;
      max-height: 380px;
      overflow-y: auto;
    }
    .search-dropdown.open { display: block; }
    .search-result-item {
      display: block;
      padding: 12px 14px;
      cursor: pointer;
      border-bottom: 1px solid var(--c-border);
      transition: background 0.12s;
    }
    .search-result-item:last-child { border-bottom: none; }
    .search-result-item:hover { background: var(--c-bg-alt); }
    .search-result-top {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 4px;
    }
    .search-result-title { font-size: 14px; font-weight: 560; color: var(--c-text-1); }
    .search-result-cat {
      font-size: 11px;
      padding: 1px 7px;
      border-radius: 999px;
      background: var(--brand-soft);
      color: var(--brand);
      font-weight: 550;
      white-space: nowrap;
    }
    .search-result-excerpt { font-size: 12.5px; color: var(--c-text-3); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5; }
    .search-result-excerpt mark {
      background: rgba(124, 58, 237, 0.18);
      color: inherit;
      border-radius: 2px;
      padding: 0 2px;
    }
    .search-empty { padding: 20px; text-align: center; font-size: 13px; color: var(--c-text-3); }

    .vp-sidebar {
      position: fixed;
      top: var(--nav-h);
      left: 0;
      width: var(--sidebar-w);
      height: calc(100vh - var(--nav-h));
      background: var(--c-bg);
      border-right: 1px solid var(--c-border);
      overflow-y: auto;
      z-index: 50;
      transition: transform 0.25s ease;
    }
    .vp-sidebar::-webkit-scrollbar { width: 4px; }
    .vp-sidebar::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 2px; }
    .sidebar-inner { padding: 12px 0 28px; }
    .sidebar-search-wrap { display: none; padding: 8px 14px 8px; }

    .sidebar-group { margin-bottom: 4px; }
    .sidebar-group-head {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      padding: 10px 16px 6px;
      border: none;
      background: transparent;
      color: var(--c-text-3);
      font-size: 12px;
      font-weight: 650;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      cursor: pointer;
      text-align: left;
    }
    .sidebar-group-head:hover { color: var(--c-text-2); }
    .sidebar-group-ico {
      width: 18px; height: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--brand);
      flex-shrink: 0;
    }
    .sidebar-group-name { flex: 1; min-width: 0; }
    .sidebar-group-chevron {
      width: 14px; height: 14px;
      transition: transform 0.18s;
      opacity: 0.55;
    }
    .sidebar-group.collapsed .sidebar-group-chevron { transform: rotate(-90deg); }
    .sidebar-group.collapsed .sidebar-group-body { display: none; }

    .sidebar-link {
      display: block;
      margin: 1px 10px 1px 12px;
      padding: 7px 12px;
      font-size: 13.5px;
      color: var(--c-text-2);
      border: 0;
      border-radius: 8px;
      transition: color 0.12s, background 0.12s;
      cursor: pointer;
      line-height: 1.45;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .sidebar-link:hover {
      color: var(--c-text-1);
      background: var(--c-bg-soft);
    }
    [data-theme="dark"] .sidebar-link:hover { background: rgba(255,255,255,0.05); }
    .sidebar-link.active {
      color: var(--brand);
      font-weight: 650;
      background: var(--brand-soft);
    }

    .sidebar-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.45);
      z-index: 40;
      backdrop-filter: blur(2px);
    }
    .sidebar-overlay.open { display: block; }

    .vp-toc {
      display: none;
      position: fixed;
      top: var(--nav-h);
      right: 0;
      width: var(--toc-w);
      height: calc(100vh - var(--nav-h));
      overflow-y: auto;
      padding: 28px 16px 28px 12px;
      background: var(--c-bg);
      border-left: 1px solid var(--c-border);
    }
    .vp-toc::-webkit-scrollbar { width: 4px; }
    .vp-toc::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 2px; }
    .toc-heading {
      font-size: 11.5px;
      font-weight: 650;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--c-text-3);
      margin-bottom: 12px;
    }
    .toc-group { margin-bottom: 2px; }
    .toc-row {
      display: flex;
      align-items: center;
      gap: 2px;
      min-width: 0;
    }
    .toc-toggle,
    .toc-toggle-spacer {
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 0;
      padding: 0;
      background: transparent;
      color: var(--c-text-3);
      border-radius: 5px;
      cursor: pointer;
    }
    .toc-toggle:hover { color: var(--c-text-1); background: var(--c-bg-soft); }
    .toc-toggle svg { transition: transform 0.16s ease; }
    .toc-group.is-open > .toc-row .toc-toggle svg { transform: rotate(0deg); }
    .toc-group:not(.is-open) > .toc-row .toc-toggle svg { transform: rotate(-90deg); }
    .toc-toggle-spacer { cursor: default; visibility: hidden; }
    .toc-children {
      display: none;
      flex-direction: column;
      gap: 1px;
      padding: 2px 0 4px 20px;
    }
    .toc-group.is-open > .toc-children { display: flex; }
    .toc-link {
      display: block;
      flex: 1;
      min-width: 0;
      padding: 5px 8px;
      font-size: 12.5px;
      color: var(--c-text-3);
      border: 0;
      border-radius: 6px;
      transition: color 0.15s, background 0.15s;
      cursor: pointer;
      line-height: 1.4;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .toc-link.toc-sub { font-size: 12px; }
    .toc-link:hover { color: var(--c-text-1); background: var(--c-bg-soft); }
    .toc-link.active {
      color: var(--brand);
      font-weight: 650;
      background: var(--brand-soft);
    }

    .vp-main {
      margin-left: var(--sidebar-w);
      margin-right: var(--toc-w);
      padding-top: var(--nav-h);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
    body.is-docs-home .vp-main {
      margin-right: 0;
    }
    body.is-docs-home .vp-toc {
      display: none !important;
    }

    #welcomePage {
      flex: 1;
      width: 100%;
      max-width: none;
      margin: 0;
      padding: 40px clamp(1.25rem, 2.2vw, 2.5rem) 56px;
      box-sizing: border-box;
    }
    .welcome-hero {
      margin-bottom: 28px;
    }
    .welcome-kicker {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 600;
      color: var(--brand);
      background: var(--brand-soft);
      padding: 4px 10px;
      border-radius: 999px;
      margin-bottom: 14px;
    }
    .welcome-title {
      font-size: 32px;
      font-weight: 760;
      letter-spacing: -0.03em;
      line-height: 1.2;
      margin-bottom: 10px;
    }
    .welcome-sub {
      font-size: 15px;
      color: var(--c-text-2);
      max-width: 480px;
      margin-bottom: 18px;
    }
    .welcome-hint {
      font-size: 13px;
      color: var(--c-text-3);
    }
    .welcome-hint kbd {
      display: inline-flex;
      padding: 1px 6px;
      border: 1px solid var(--c-border);
      border-radius: 5px;
      font-size: 11px;
      background: var(--c-bg-alt);
    }
    .welcome-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 14px;
      margin-bottom: 28px;
      width: 100%;
    }
    .cat-card {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 18px 18px 16px;
      border: 1px solid var(--c-border);
      border-radius: 14px;
      background: var(--c-bg);
      cursor: pointer;
      transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
      text-align: left;
      color: inherit;
      font: inherit;
    }
    .cat-card:hover {
      border-color: var(--brand-mid);
      box-shadow: var(--c-shadow);
      transform: translateY(-2px);
    }
    .cat-card-top {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .cat-card-ico {
      width: 36px; height: 36px;
      border-radius: 10px;
      background: var(--brand-soft);
      color: var(--brand);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .cat-card-name {
      font-size: 15px;
      font-weight: 650;
    }
    .cat-card-meta {
      font-size: 12.5px;
      color: var(--c-text-3);
    }
    .cat-card-pages {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .cat-card-chip {
      font-size: 12px;
      padding: 3px 8px;
      border-radius: 6px;
      background: var(--c-bg-alt);
      color: var(--c-text-2);
      border: 1px solid transparent;
    }
    .cat-card-chip:hover {
      border-color: var(--brand-mid);
      color: var(--brand);
      background: var(--brand-soft);
    }
    .welcome-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      width: 100%;
      max-width: 100%;
      background: var(--c-bg);
      border: 1px solid var(--c-border);
      border-radius: 12px;
      overflow: hidden;
    }
    .stat-item {
      text-align: center;
      padding: 14px 16px;
    }
    .stat-item + .stat-item { border-left: 1px solid var(--c-border); }
    .stat-value {
      font-size: 22px;
      font-weight: 720;
      color: var(--brand);
      line-height: 1;
      margin-bottom: 4px;
    }
    .stat-label { font-size: 11.5px; color: var(--c-text-3); font-weight: 500; }

    .content-wrap {
      width: 100%;
      max-width: none;
      padding: 16px 36px 56px 40px;
    }
    .breadcrumb { display: none !important; }

    .doc-header {
      display: flex;
      align-items: center;
      gap: 10px 12px;
      margin-bottom: 14px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--c-border);
      min-height: 32px;
    }
    .doc-title {
      font-size: 22px;
      font-weight: 720;
      line-height: 1.25;
      letter-spacing: -0.02em;
      margin: 0;
      min-width: 0;
      flex-shrink: 0;
    }
    .doc-meta {
      font-size: 12px;
      color: var(--c-text-3);
      white-space: nowrap;
      flex-shrink: 0;
      margin-left: auto;
    }

    .changelog-latest {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin: 0;
      padding: 3px 10px;
      border-radius: 999px;
      background: var(--brand-soft);
      border: 1px solid var(--brand-mid);
      line-height: 1.3;
    }
    .changelog-latest.hidden { display: none !important; }
    .changelog-latest-label {
      font-size: 11px;
      font-weight: 650;
      color: var(--brand);
      letter-spacing: 0.02em;
    }
    .changelog-latest-ver {
      font-size: 12.5px;
      font-weight: 700;
      font-variant-numeric: tabular-nums;
      color: var(--c-text-1);
    }

    .markdown-body { color: var(--c-text-1); line-height: 1.75; }
    .markdown-body > * + * { margin-top: 12px; }
    .markdown-body h1,
    .markdown-body h2,
    .markdown-body h3,
    .markdown-body h4 { color: var(--c-text-1); font-weight: 700; letter-spacing: -0.02em; scroll-margin-top: 88px; }
    .markdown-body h1 {
      font-size: 24px;
      border-bottom: 1px solid var(--c-border);
      padding-bottom: 10px;
      margin-top: 36px; margin-bottom: 14px;
    }
    .markdown-body h1:first-child { margin-top: 0; }
    .markdown-body h2 {
      font-size: 19px;
      border-bottom: 1px solid var(--c-border);
      padding-bottom: 6px;
      margin-top: 32px; margin-bottom: 12px;
    }
    .markdown-body h3 { font-size: 16px; margin-top: 22px; margin-bottom: 8px; }
    .markdown-body h4 { font-size: 14.5px; margin-top: 16px; margin-bottom: 6px; }
    .markdown-body ul, .markdown-body ol { padding-left: 1.35em; }
    .markdown-body li { margin-bottom: 6px; }
    .markdown-body li:has(> .doc-badge) {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .markdown-body li > ul, .markdown-body li > ol { margin-top: 6px; }
    .markdown-body strong { font-weight: 650; }
    .markdown-body code {
      font-family: "JetBrains Mono", "Fira Code", "SF Mono", Consolas, monospace;
      font-size: 0.88em;
      background: var(--c-bg-soft);
      border: 1px solid var(--c-border);
      border-radius: 5px;
      padding: 1px 6px;
      color: #0f766e;
    }
    [data-theme="dark"] .markdown-body code { color: #5eead4; background: #12201e; }
    .markdown-body pre {
      background: var(--c-bg-code) !important;
      border-radius: 12px;
      padding: 18px 20px;
      overflow-x: auto;
      position: relative;
      border: 1px solid var(--c-border);
    }
    [data-theme="dark"] .markdown-body pre { border-color: rgba(255,255,255,0.08); }
    .markdown-body pre code {
      background: transparent !important;
      border: none !important;
      padding: 0 !important;
      color: #24292e !important;
      font-size: 13.5px;
    }
    [data-theme="dark"] .markdown-body pre code { color: #e6edf3 !important; }
    .code-copy-btn {
      position: absolute;
      top: 10px; right: 12px;
      display: flex;
      align-items: center;
      gap: 5px;
      padding: 4px 10px;
      font-size: 12px;
      font-family: inherit;
      color: rgba(0,0,0,0.35);
      background: rgba(0,0,0,0.04);
      border: 1px solid rgba(0,0,0,0.1);
      border-radius: 6px;
      cursor: pointer;
      transition: color 0.15s, background 0.15s, border-color 0.15s;
      user-select: none;
    }
    .code-copy-btn:hover {
      color: rgba(0,0,0,0.75);
      background: rgba(0,0,0,0.08);
      border-color: rgba(0,0,0,0.18);
    }
    .code-copy-btn.copied {
      color: #4ade80;
      border-color: rgba(74,222,128,0.35);
      background: rgba(74,222,128,0.1);
    }
    [data-theme="dark"] .code-copy-btn {
      color: rgba(255,255,255,0.4);
      background: rgba(255,255,255,0.07);
      border-color: rgba(255,255,255,0.1);
    }
    [data-theme="dark"] .code-copy-btn:hover {
      color: rgba(255,255,255,0.8);
      background: rgba(255,255,255,0.13);
    }

    .markdown-body blockquote {
      margin: 16px 0;
      padding: 12px 14px;
      border: 1px solid color-mix(in srgb, var(--brand) 20%, var(--c-border));
      border-radius: 12px;
      background: var(--brand-soft);
      color: var(--c-text-2);
    }
    .markdown-body blockquote p { margin: 0; }
    .markdown-body img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      box-shadow: 0 4px 24px rgba(0,0,0,0.08);
      display: block;
      margin: 1.25em auto;
      border: 1px solid var(--c-border);
    }
    .doc-table-scroll {
      width: 100%;
      max-width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      overscroll-behavior-x: contain;
      border: 1px solid var(--c-border);
      border-radius: 12px;
      background: var(--c-bg);
      margin: 12px 0;
      scrollbar-width: thin;
      scrollbar-color: #b7c2cb transparent;
    }
    .doc-table-scroll::-webkit-scrollbar { height: 8px; }
    .doc-table-scroll::-webkit-scrollbar-thumb {
      background: #b7c2cb;
      border-radius: 999px;
      border: 2px solid transparent;
      background-clip: padding-box;
    }
    .markdown-body table {
      width: max-content;
      min-width: 100%;
      border-collapse: collapse;
      font-size: 14px;
      display: table;
      border: 0;
      margin: 0;
    }
    .markdown-body th {
      background: var(--c-bg-alt);
      font-weight: 620;
      padding: 10px 14px;
      border-bottom: 1px solid var(--c-border);
      text-align: left;
      white-space: nowrap;
    }
    .markdown-body td {
      padding: 10px 14px;
      border-bottom: 1px solid var(--c-border);
      vertical-align: top;
      word-break: break-word;
    }
    .markdown-body td code {
      white-space: nowrap;
    }
    .markdown-body tr:last-child td { border-bottom: none; }
    .markdown-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
    .markdown-body a:hover { opacity: 0.85; }
    .markdown-body hr { border: none; border-top: 1px solid var(--c-border); margin: 24px 0; }

    .markdown-body .heading-anchor {
      opacity: 0;
      margin-left: 8px;
      font-size: 0.85em;
      color: var(--c-text-3);
      text-decoration: none;
      transition: opacity 0.15s;
      font-weight: 400;
    }
    .markdown-body h1:hover .heading-anchor,
    .markdown-body h2:hover .heading-anchor,
    .markdown-body h3:hover .heading-anchor,
    .markdown-body h4:hover .heading-anchor { opacity: 1; }

    .doc-callout {
      display: flex;
      gap: 12px;
      padding: 13px 14px;
      border-radius: 12px;
      border: 1px solid var(--c-border);
      margin: 16px 0 !important;
      background: var(--c-bg-alt);
    }
    .doc-callout-icon {
      flex-shrink: 0;
      width: 28px;
      height: 28px;
      margin-top: 1px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0;
      line-height: 0;
      color: inherit;
      background: color-mix(in srgb, currentColor 14%, transparent);
    }
    .doc-callout-icon::before {
      content: "";
      width: 15px;
      height: 15px;
      background-color: currentColor;
      -webkit-mask: center / contain no-repeat;
      mask: center / contain no-repeat;
    }
    .doc-callout.note .doc-callout-icon::before {
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Ccircle cx='12' cy='8' r='0.9' fill='black' stroke='none'/%3E%3C/svg%3E");
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Ccircle cx='12' cy='8' r='0.9' fill='black' stroke='none'/%3E%3C/svg%3E");
    }
    .doc-callout.tip .doc-callout-icon::before {
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2.2 2.2L16 9.5'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2.2 2.2L16 9.5'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
    }
    .doc-callout.warning .doc-callout-icon::before {
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.8L21 19.5H3L12 3.8z'/%3E%3Cpath d='M12 10v4'/%3E%3Ccircle cx='12' cy='16.4' r='0.9' fill='black' stroke='none'/%3E%3C/svg%3E");
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.8L21 19.5H3L12 3.8z'/%3E%3Cpath d='M12 10v4'/%3E%3Ccircle cx='12' cy='16.4' r='0.9' fill='black' stroke='none'/%3E%3C/svg%3E");
    }
    .doc-callout.important .doc-callout-icon::before {
      -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5'/%3E%3Ccircle cx='12' cy='16.2' r='0.9' fill='black' stroke='none'/%3E%3C/svg%3E");
      mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5'/%3E%3Ccircle cx='12' cy='16.2' r='0.9' fill='black' stroke='none'/%3E%3C/svg%3E");
    }
    .doc-callout-body { flex: 1; min-width: 0; font-size: 14px; color: var(--c-text-2); }
    .doc-callout-body > :first-child { margin-top: 0; }
    .doc-callout-body > :last-child { margin-bottom: 0; }
    .doc-callout-title {
      font-size: 12.5px;
      font-weight: 720;
      letter-spacing: 0.02em;
      margin-bottom: 4px;
      color: var(--c-text-1);
    }
    .doc-callout.note { border-color: color-mix(in srgb, var(--brand) 28%, var(--c-border)); background: var(--brand-soft); }
    .doc-callout.note .doc-callout-icon,
    .doc-callout.note .doc-callout-title { color: var(--brand); }
    .doc-callout.tip { border-color: rgba(5,150,105,0.3); background: rgba(5,150,105,0.08); }
    .doc-callout.tip .doc-callout-icon,
    .doc-callout.tip .doc-callout-title { color: var(--badge-new); }
    .doc-callout.warning { border-color: rgba(217,119,6,0.35); background: rgba(217,119,6,0.1); }
    .doc-callout.warning .doc-callout-icon,
    .doc-callout.warning .doc-callout-title { color: var(--badge-change); }
    .doc-callout.important { border-color: rgba(220,38,38,0.3); background: rgba(220,38,38,0.08); }
    .doc-callout.important .doc-callout-icon,
    .doc-callout.important .doc-callout-title { color: var(--badge-fix); }

    .doc-badge {
      display: inline-flex;
      align-items: center;
      flex-shrink: 0;
      padding: 2px 7px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.02em;
      line-height: 1.25;
      color: #fff;
    }
    .doc-badge.new { background: var(--badge-new); }
    .doc-badge.fix { background: var(--badge-fix); }
    .doc-badge.improve { background: var(--badge-improve); }
    .doc-badge.change { background: var(--badge-change); }

    .changelog-body .cl-entry {
      position: relative;
      padding: 0 0 8px 22px;
      margin: 0 0 8px;
    }
    .changelog-body .cl-entry::before {
      content: "";
      position: absolute;
      left: 5px;
      top: 10px;
      bottom: -8px;
      width: 2px;
      background: var(--c-border);
    }
    .changelog-body .cl-entry:last-child::before { display: none; }
    .changelog-body .cl-entry::after {
      content: "";
      position: absolute;
      left: 0;
      top: 12px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--c-bg);
      border: 2px solid var(--brand);
      box-shadow: 0 0 0 3px var(--brand-soft);
    }
    .changelog-body .cl-card {
      border: 1px solid var(--c-border);
      border-radius: 14px;
      padding: 16px 18px 14px;
      background: var(--c-bg);
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .changelog-body .cl-card:hover {
      border-color: var(--brand-mid);
      box-shadow: 0 6px 20px rgba(15, 118, 110, 0.08);
    }
    .changelog-body .cl-card > h2 {
      margin: 0 0 10px !important;
      padding: 0 !important;
      border: none !important;
      font-size: 17px !important;
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 8px;
    }
    .changelog-body .cl-ver-chip {
      display: inline-flex;
      align-items: center;
      padding: 2px 10px;
      border-radius: 8px;
      background: var(--brand-soft);
      color: var(--brand);
      font-size: 13px;
      font-weight: 700;
      font-variant-numeric: tabular-nums;
    }
    .changelog-body .cl-card > h3 {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      width: fit-content;
      max-width: 100%;
      margin: 14px 0 8px !important;
      padding: 4px 9px !important;
      border: 0 !important;
      border-radius: 7px;
      font-size: 12px !important;
      font-weight: 720;
      letter-spacing: 0.04em;
      line-height: 1.2 !important;
      background: var(--c-bg-soft);
      color: var(--c-text-2);
    }
    .changelog-body .cl-card > h2 + h3 {
      margin-top: 2px !important;
    }
    .changelog-body .cl-card > h3::before {
      content: "";
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: currentColor;
      flex-shrink: 0;
    }
    .changelog-body .cl-card > h3 .heading-anchor {
      opacity: 0;
      color: inherit;
      font-weight: 600;
      margin-left: 2px;
    }
    .changelog-body .cl-card > h3:hover .heading-anchor { opacity: 0.45; }
    .changelog-body .cl-card > h3.sec-new {
      color: var(--badge-new);
      background: color-mix(in srgb, var(--badge-new) 10%, var(--c-bg));
    }
    .changelog-body .cl-card > h3.sec-fix {
      color: var(--badge-fix);
      background: color-mix(in srgb, var(--badge-fix) 10%, var(--c-bg));
    }
    .changelog-body .cl-card > h3.sec-improve {
      color: var(--badge-improve);
      background: color-mix(in srgb, var(--badge-improve) 10%, var(--c-bg));
    }
    .changelog-body .cl-card > h3.sec-change {
      color: var(--badge-change);
      background: color-mix(in srgb, var(--badge-change) 10%, var(--c-bg));
    }
    .changelog-body .cl-prologue { margin-bottom: 20px; }

    .doc-pagination {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding-top: 28px;
      margin-top: 36px;
      border-top: 1px solid var(--c-border);
    }
    .doc-pagination-btn {
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding: 14px 16px;
      border-radius: 12px;
      border: 1px solid var(--c-border);
      background: var(--c-bg);
      cursor: pointer;
      transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
      text-decoration: none;
      color: var(--c-text-1);
      min-width: 0;
      flex: 1;
      max-width: 48%;
    }
    .doc-pagination-btn:hover {
      border-color: var(--brand);
      background: var(--brand-soft);
      box-shadow: 0 4px 16px rgba(124,58,237,0.08);
    }
    .doc-pagination-btn.next { text-align: right; }
    .doc-pagination-label {
      font-size: 12px;
      color: var(--c-text-3);
      font-weight: 500;
    }
    .doc-pagination-title {
      font-size: 14px;
      font-weight: 620;
      color: var(--brand);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    @media (max-width: 1280px) {
      .vp-main { margin-right: 0; }
      .vp-toc { display: none !important; }
      #welcomePage { width: 100%; max-width: none; }
    }
    @media (max-width: 960px) {
      .vp-main { margin-left: 0; }
      .vp-sidebar { transform: translateX(-100%); }
      .vp-sidebar.open { transform: translateX(0); box-shadow: var(--c-shadow); }
      .nav-hamburger { display: flex; }
      .sidebar-search-wrap { display: block; }
      .nav-search { display: none; }
      #welcomePage { padding: 28px 20px 40px; }
      .content-wrap { padding: 14px 20px 48px; }
      .welcome-stats { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 640px) {
      .nav-link span { display: none; }
      .welcome-title { font-size: 26px; }
      .doc-title { font-size: 20px; }
      .doc-header { flex-wrap: wrap; }
      .doc-pagination { flex-direction: column; }
      .doc-pagination-btn { max-width: 100%; }
      .doc-pagination-btn.next { text-align: left; }
      .stat-item { padding: 12px 18px; }
    }

    .hidden { display: none !important; }


.vp-nav-inner { padding: 0 clamp(1rem, 2.5vw, 2.5rem); }
.layout-body { width: 100%; }
.content-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px clamp(1.25rem, 2.2vw, 2.5rem) 56px;
}
.markdown-body { font-size: 15.5px; line-height: 1.8; }
.markdown-body h1 { font-size: 1.85rem; letter-spacing: -0.03em; }
.markdown-body h2 { font-size: 1.3rem; margin-top: 2rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--c-border); }
.markdown-body pre { border-radius: 12px; padding: 14px 16px; }
.markdown-body code { border: 1px solid var(--c-border); background: var(--c-bg-soft); color: #0f766e; }
[data-theme="dark"] .markdown-body code { color: #5eead4; background: #12201e; border-color: rgba(45,212,191,0.2); }
.markdown-body pre code { border: 0; background: transparent; color: inherit; }
.home-cat-grid { gap: 0.85rem; }
.home-cat-card { border-radius: 14px; padding: 1rem 1.05rem; }

@media (max-width: 640px) {
  :root { --nav-h: 54px; }
  .vp-nav-inner {
    padding: 0 12px;
    gap: 8px;
  }
  .nav-logo span { max-width: 6.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-links { gap: 2px; }
  .nav-icon-btn,
  .nav-hamburger {
    width: 40px;
    height: 40px;
  }
  .content-wrap {
    padding: 12px 16px 40px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .doc-header {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
  .doc-title {
    font-size: 1.2rem;
    flex: 1 1 auto;
  }
  .doc-meta {
    margin-left: 0;
    width: 100%;
  }
  .markdown-body {
    font-size: 15px;
    line-height: 1.75;
    min-width: 0;
    max-width: 100%;
  }
  .markdown-body.doc-loaded > h1:first-of-type {
    display: none;
  }
  .markdown-body .heading-anchor {
    display: none;
  }
  .markdown-body h1 {
    font-size: 1.35rem;
    margin-top: 1.4rem;
    margin-bottom: 0.7rem;
    padding-bottom: 0.4rem;
  }
  .markdown-body h2 {
    font-size: 1.12rem;
    margin-top: 1.35rem;
    margin-bottom: 0.55rem;
  }
  .markdown-body h3 {
    font-size: 1rem;
    margin-top: 1.1rem;
  }
  .markdown-body pre {
    max-width: 100%;
    box-sizing: border-box;
    padding: 36px 12px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .markdown-body pre code {
    display: block;
    font-size: 12.5px !important;
    white-space: pre-wrap !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .code-copy-btn {
    top: 8px;
    right: 8px;
    padding: 5px 8px;
    font-size: 11px;
    z-index: 2;
  }
  .doc-callout {
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
  }
  .doc-callout-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }
  .doc-callout-icon::before {
    width: 13px;
    height: 13px;
  }
  .doc-table-scroll {
    overflow: visible;
    border: 0;
    background: transparent;
    border-radius: 0;
    margin: 8px 0 14px;
  }
  .markdown-body table,
  .markdown-body thead,
  .markdown-body tbody,
  .markdown-body th,
  .markdown-body td,
  .markdown-body tr {
    display: block;
    width: 100%;
  }
  .markdown-body thead {
    display: none !important;
  }
  .markdown-body tbody tr {
    border: 1px solid var(--c-border);
    border-radius: 12px;
    background: var(--c-bg);
    padding: 6px 12px;
    margin: 0 0 8px;
    box-sizing: border-box;
  }
  .markdown-body td {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 6px 10px;
    align-items: start;
    padding: 5px 0;
    border-bottom: 1px solid var(--c-border);
    word-break: break-word;
  }
  .markdown-body td:last-child {
    border-bottom: 0;
  }
  .markdown-body td::before {
    content: attr(data-label);
    font-size: 12px;
    font-weight: 650;
    color: var(--c-text-3);
    line-height: 1.45;
    padding-top: 1px;
  }
  .markdown-body td code {
    white-space: normal;
    word-break: break-all;
  }
  #welcomePage {
    padding: 16px 14px 28px;
  }
  .welcome-hero {
    margin-bottom: 14px;
  }
  .welcome-kicker {
    margin-bottom: 8px;
    padding: 3px 8px;
    font-size: 11px;
  }
  .welcome-title {
    font-size: 22px;
    margin-bottom: 6px;
  }
  .welcome-sub {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 8px;
  }
  .welcome-hint {
    font-size: 0;
  }
  .welcome-hint kbd {
    display: none;
  }
  .welcome-hint::after {
    content: "打开菜单可搜索，或从下方分类进入";
    font-size: 12px;
    color: var(--c-text-3);
  }
  .welcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
  }
  .cat-card {
    gap: 8px;
    padding: 12px 11px 10px;
    border-radius: 12px;
  }
  .cat-card:hover {
    transform: none;
  }
  .cat-card-top {
    gap: 8px;
    align-items: flex-start;
  }
  .cat-card-ico {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  .cat-card-ico svg {
    width: 14px;
    height: 14px;
  }
  .cat-card-name {
    font-size: 13.5px;
    line-height: 1.25;
  }
  .cat-card-meta {
    font-size: 11px;
    margin-top: 1px;
  }
  .cat-card-pages {
    gap: 4px;
  }
  .cat-card-chip {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 5px;
  }
  .welcome-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .stat-item {
    padding: 10px 6px;
  }
  .stat-item + .stat-item {
    border-left: 1px solid var(--c-border);
    border-top: 0;
  }
  .stat-value {
    font-size: 18px;
  }
  .stat-label {
    font-size: 11px;
  }
  .doc-pagination {
    flex-direction: column;
  }
  .doc-pagination-btn {
    max-width: 100%;
  }
  .doc-pagination-btn.next {
    text-align: left;
  }
}
