

    /* =========================================================
       API PAGE
       页面独立命名空间
    ========================================================= */

    html,
    body {
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
    }

    .api-page,
    .api-page * {
      box-sizing: border-box;
    }

    .api-page {
      --api-primary: #1769ff;
      --api-primary-2: #35b9ff;
      --api-dark: #071426;
      --api-text: #172033;
      --api-muted: #697386;
      --api-border: #e7edf6;
      --api-bg: #f7faff;
      --api-card: #ffffff;

      width: 100%;
      min-height: 100vh;

      margin: 0;
      padding: 0;

      background:
        radial-gradient(
          circle at 10% 10%,
          rgba(23,105,255,.08),
          transparent 30%
        ),
        radial-gradient(
          circle at 90% 15%,
          rgba(53,185,255,.09),
          transparent 28%
        ),
        #f7faff;

      color: var(--api-text);

      font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Microsoft YaHei",
        Arial,
        sans-serif;

      overflow-x: hidden;
    }

    .api-page a {
      color: inherit;
      text-decoration: none;
    }

    .api-page button,
    .api-page input {
      font: inherit;
    }

    .api-container {
      width: min(1180px, calc(100% - 40px));
      margin: 0 auto;
    }

    .api-page h1,
    .api-page h2,
    .api-page h3,
    .api-page h4,
    .api-page p {
      margin-top: 0;
    }

    .api-page [id] {
      scroll-margin-top: 90px;
    }


    /* =========================================================
       HEADER
       与首页母版统一
    ========================================================= */

    .api-header {
      position: fixed;

      top: 0;
      left: 0;
      right: 0;

      z-index: 9999;

      height: 76px;

      background: rgba(255,255,255,.88);

      border-bottom:
        1px solid rgba(231,237,246,.75);

      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);

      transition:
        background .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
    }

    .api-header.scrolled {
      background: rgba(255,255,255,.96);

      border-bottom-color:
        rgba(220,228,239,.9);

      box-shadow:
        0 8px 30px rgba(18,35,61,.06);
    }

    .api-header-inner {
      width: min(1240px, calc(100% - 40px));

      height: 76px;

      margin: 0 auto;

      display: flex;
      align-items: center;

      gap: 26px;
    }


    /* =========================================================
       MASTER LOGO
    ========================================================= */

    .api-page .logo {
      display: flex;
      align-items: center;

      flex-shrink: 0;

      gap: 11px;
    }

    .api-page .logo-icon {
      display: flex;
      align-items: center;
      justify-content: center;

      flex-shrink: 0;
    }

    .api-page .logo-icon img {
      width: auto;
      height: auto;

      max-height: 44px;

      display: block;
    }


    /* =========================================================
       NAV
    ========================================================= */

    .api-nav {
      display: flex;
      align-items: center;

      gap: 25px;

      margin-left: auto;
    }

    .api-nav a {
      position: relative;

      color: #536075;

      font-size: 14px;
      font-weight: 600;

      padding: 8px 0;

      white-space: nowrap;

      transition:
        color .2s ease;
    }

    .api-nav a::after {
      content: "";

      position: absolute;

      left: 0;
      right: 0;
      bottom: 0;

      height: 2px;

      border-radius: 999px;

      background:
        linear-gradient(
          90deg,
          var(--api-primary),
          var(--api-primary-2)
        );

      transform: scaleX(0);

      transform-origin: center;

      transition:
        transform .2s ease;
    }

    .api-nav a:hover,
    .api-nav a.active {
      color: var(--api-primary);
    }

    .api-nav a:hover::after,
    .api-nav a.active::after {
      transform: scaleX(1);
    }


    /* =========================================================
       HEADER ACTIONS
    ========================================================= */

    .api-header-actions {
      display: flex;
      align-items: center;

      gap: 11px;

      flex-shrink: 0;

      margin-left: auto;
    }

    .api-help {
      display: inline-flex;
      align-items: center;
      justify-content: center;

      min-height: 40px;

      padding: 0 12px;

      color: #536075;

      font-size: 14px;
      font-weight: 600;

      white-space: nowrap;

      transition:
        color .2s ease;
    }

    .api-help:hover {
      color: var(--api-primary);
    }

    .api-header-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;

      min-height: 40px;

      padding: 0 17px;

      border-radius: 12px;

      color: #fff !important;

      font-size: 14px;
      font-weight: 700;

      white-space: nowrap;

      background:
        linear-gradient(
          135deg,
          var(--api-primary),
          var(--api-primary-2)
        );

      box-shadow:
        0 8px 22px rgba(23,105,255,.18);

      transition:
        transform .2s ease,
        box-shadow .2s ease;
    }

    .api-header-btn:hover {
      transform: translateY(-2px);

      box-shadow:
        0 12px 28px rgba(23,105,255,.24);
    }


    /* =========================================================
       MOBILE MENU
    ========================================================= */

    .api-menu {
      display: none;

      width: 42px;
      height: 42px;

      margin-left: auto;

      border: 1px solid var(--api-border);

      border-radius: 12px;

      background: #fff;

      cursor: pointer;

      position: relative;
    }

    .api-menu span {
      position: absolute;

      left: 11px;
      right: 11px;

      height: 2px;

      border-radius: 5px;

      background: #182234;

      transition: .2s ease;
    }

    .api-menu span:nth-child(1) {
      top: 13px;
    }

    .api-menu span:nth-child(2) {
      top: 20px;
    }

    .api-menu span:nth-child(3) {
      top: 27px;
    }

    .api-mobile-nav {
      display: none;
    }


    /* =========================================================
       HERO
    ========================================================= */

    .api-hero {
      position: relative;

      min-height: 690px;

      padding-top: 76px;

      display: flex;
      align-items: center;

      overflow: hidden;
    }

    .api-hero::before {
      content: "";

      position: absolute;

      width: 620px;
      height: 620px;

      top: -260px;
      right: -180px;

      border-radius: 50%;

      background:
        radial-gradient(
          circle,
          rgba(53,185,255,.15),
          transparent 68%
        );

      pointer-events: none;
    }

    .api-hero::after {
      content: "";

      position: absolute;

      width: 520px;
      height: 520px;

      bottom: -250px;
      left: -180px;

      border-radius: 50%;

      background:
        radial-gradient(
          circle,
          rgba(23,105,255,.10),
          transparent 70%
        );

      pointer-events: none;
    }

    .api-hero-grid {
      position: relative;

      z-index: 2;

      width: 100%;

      display: grid;

      grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, .9fr);

      align-items: center;

      gap: 70px;

      padding-top: 48px;
      padding-bottom: 64px;
    }

    .api-hero-content {
      max-width: 650px;
    }

    .api-eyebrow {
      display: inline-flex;
      align-items: center;

      gap: 9px;

      padding: 8px 13px;

      border: 1px solid rgba(23,105,255,.13);

      border-radius: 999px;

      background: rgba(255,255,255,.78);

      color: var(--api-primary);

      font-size: 13px;
      font-weight: 700;

      box-shadow:
        0 8px 25px rgba(23,105,255,.06);
    }

    .api-eyebrow-dot {
      width: 7px;
      height: 7px;

      border-radius: 50%;

      background: var(--api-primary);

      box-shadow:
        0 0 0 5px rgba(23,105,255,.10);
    }

    .api-hero h1 {
      margin: 22px 0 20px;

      color: #101828;

      font-size: clamp(42px, 5vw, 68px);

      line-height: 1.08;

      letter-spacing: -2.8px;

      font-weight: 850;
    }

    .api-hero h1 span {
      display: block;

      background:
        linear-gradient(
          90deg,
          #1769ff 0%,
          #35a8ff 55%,
          #35b9ff 100%
        );

      -webkit-background-clip: text;
      background-clip: text;

      color: transparent;
    }

    .api-hero-desc {
      max-width: 610px;

      margin: 0;

      color: #657187;

      font-size: 18px;

      line-height: 1.85;
    }

    .api-hero-actions {
      display: flex;
      align-items: center;

      gap: 14px;

      margin-top: 30px;
    }

    .api-primary-btn,
    .api-secondary-btn {
      min-height: 50px;

      display: inline-flex;
      align-items: center;
      justify-content: center;

      padding: 0 22px;

      border-radius: 14px;

      font-size: 15px;
      font-weight: 700;

      transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
    }

    .api-primary-btn {
      color: #fff;

      background:
        linear-gradient(
          135deg,
          var(--api-primary),
          var(--api-primary-2)
        );

      box-shadow:
        0 12px 28px rgba(23,105,255,.20);
    }

    .api-primary-btn:hover {
      transform: translateY(-2px);

      box-shadow:
        0 16px 34px rgba(23,105,255,.25);
    }

    .api-secondary-btn {
      color: #344054;

      background: #fff;

      border: 1px solid #dfe7f2;
    }

    .api-secondary-btn:hover {
      transform: translateY(-2px);

      border-color: #b9d2ff;
    }


    /* =========================================================
       HERO CODE WINDOW
    ========================================================= */

    .api-code-window {
      position: relative;

      width: 100%;

      padding: 1px;

      border-radius: 24px;

      background:
        linear-gradient(
          135deg,
          rgba(23,105,255,.42),
          rgba(53,185,255,.18),
          rgba(255,255,255,.75)
        );

      box-shadow:
        0 30px 80px rgba(22,67,125,.14);

      transition:
        transform .18s ease;
    }

    .api-code-window-inner {
      overflow: hidden;

      border-radius: 23px;

      background:
        linear-gradient(
          145deg,
          #0a172c,
          #0d203c
        );
    }

    .api-code-top {
      height: 54px;

      display: flex;
      align-items: center;
      justify-content: space-between;

      padding: 0 20px;

      border-bottom:
        1px solid rgba(255,255,255,.08);
    }

    .api-window-dots {
      display: flex;
      gap: 7px;
    }

    .api-window-dots i {
      display: block;

      width: 9px;
      height: 9px;

      border-radius: 50%;

      background: rgba(255,255,255,.35);
    }

    .api-code-title {
      color: rgba(255,255,255,.65);

      font-size: 12px;
      font-weight: 600;
    }

    .api-code-body {
      padding: 28px 25px 30px;

      min-height: 360px;

      font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

      font-size: 13px;

      line-height: 1.9;

      color: #c8d8ee;
    }

    .api-code-line {
      white-space: nowrap;
    }

    .api-code-muted {
      color: #7186a6;
    }

    .api-code-blue {
      color: #67b6ff;
    }

    .api-code-green {
      color: #76d6b0;
    }

    .api-code-yellow {
      color: #f4c76c;
    }

    .api-code-purple {
      color: #bba3ff;
    }

    .api-code-badge {
      position: absolute;

      right: -18px;
      bottom: -18px;

      display: flex;
      align-items: center;

      gap: 10px;

      padding: 14px 17px;

      border: 1px solid rgba(23,105,255,.12);

      border-radius: 16px;

      background: rgba(255,255,255,.94);

      box-shadow:
        0 18px 40px rgba(23,68,125,.13);
    }

    .api-code-badge-icon {
      width: 36px;
      height: 36px;

      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 11px;

      color: #1769ff;

      background: #edf5ff;

      font-weight: 800;
    }

    .api-code-badge strong {
      display: block;

      color: #172033;

      font-size: 13px;
    }

    .api-code-badge small {
      display: block;

      margin-top: 2px;

      color: #8792a5;

      font-size: 11px;
    }


    /* =========================================================
       COMMON SECTION
    ========================================================= */

    .api-section {
      position: relative;

      padding: 110px 0;
    }

    .api-section-white {
      background: #fff;
    }

    .api-section-head {
      max-width: 720px;

      margin: 0 auto 58px;

      text-align: center;
    }

    .api-section-label {
      display: inline-block;

      margin-bottom: 12px;

      color: var(--api-primary);

      font-size: 13px;

      font-weight: 800;

      letter-spacing: .8px;
    }

    .api-section h2 {
      margin: 0 0 16px;

      color: #111827;

      font-size: clamp(30px, 4vw, 44px);

      line-height: 1.2;

      letter-spacing: -1.5px;
    }

    .api-section-head p {
      margin: 0;

      color: #738096;

      font-size: 16px;

      line-height: 1.8;
    }


    /* =========================================================
       API OVERVIEW
    ========================================================= */

    .api-overview-grid {
      display: grid;

      grid-template-columns:
        repeat(3, minmax(0, 1fr));

      gap: 22px;
    }

    .api-overview-card {
      position: relative;

      padding: 32px;

      border: 1px solid var(--api-border);

      border-radius: 22px;

      background: #fff;

      box-shadow:
        0 12px 40px rgba(28,70,120,.05);

      transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
    }

    .api-overview-card:hover {
      transform: translateY(-6px);

      border-color: #cfe0ff;

      box-shadow:
        0 20px 50px rgba(28,70,120,.09);
    }

    .api-card-icon {
      width: 48px;
      height: 48px;

      display: flex;
      align-items: center;
      justify-content: center;

      margin-bottom: 22px;

      border-radius: 15px;

      color: #1769ff;

      background:
        linear-gradient(
          135deg,
          #edf5ff,
          #f4fbff
        );

      font-size: 20px;

      font-weight: 800;
    }

    .api-overview-card h3 {
      margin: 0 0 10px;

      color: #182234;

      font-size: 20px;
    }

    .api-overview-card p {
      margin: 0;

      color: #758095;

      font-size: 14px;

      line-height: 1.8;
    }


    /* =========================================================
       FLOW
    ========================================================= */

    .api-flow {
      display: grid;

      grid-template-columns:
        repeat(5, minmax(0, 1fr));

      gap: 18px;
    }

    .api-flow-item {
      position: relative;

      padding: 26px 18px;

      text-align: center;

      border: 1px solid var(--api-border);

      border-radius: 20px;

      background: #fff;
    }

    .api-flow-item:not(:last-child)::after {
      content: "→";

      position: absolute;

      top: 50%;
      right: -20px;

      transform: translateY(-50%);

      color: #9eb5d8;

      font-size: 20px;

      font-weight: 800;

      z-index: 2;
    }

    .api-flow-num {
      width: 36px;
      height: 36px;

      margin: 0 auto 15px;

      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 50%;

      color: #fff;

      background:
        linear-gradient(
          135deg,
          #1769ff,
          #35b9ff
        );

      font-size: 13px;

      font-weight: 800;
    }

    .api-flow-item h3 {
      margin: 0 0 7px;

      color: #182234;

      font-size: 15px;
    }

    .api-flow-item p {
      margin: 0;

      color: #8792a5;

      font-size: 12px;

      line-height: 1.7;
    }


    /* =========================================================
       API DEMO
    ========================================================= */

    .api-demo-wrap {
      display: grid;

      grid-template-columns:
        260px minmax(0, 1fr);

      gap: 22px;

      padding: 22px;

      border: 1px solid var(--api-border);

      border-radius: 24px;

      background: #fff;

      box-shadow:
        0 18px 55px rgba(25,67,120,.07);
    }

    .api-demo-sidebar {
      padding: 8px;
    }

    .api-demo-sidebar-title {
      padding: 10px 12px 16px;

      color: #8a94a6;

      font-size: 12px;

      font-weight: 700;
    }

    .api-endpoint-btn {
      width: 100%;

      display: flex;
      align-items: center;

      gap: 10px;

      padding: 12px 13px;

      margin-bottom: 7px;

      border: 0;

      border-radius: 11px;

      color: #647086;

      background: transparent;

      text-align: left;

      cursor: pointer;

      transition:
        background .2s ease,
        color .2s ease;
    }

    .api-endpoint-btn:hover {
      background: #f5f8fd;

      color: #1769ff;
    }

    .api-endpoint-btn.active {
      color: #1769ff;

      background: #edf5ff;

      font-weight: 700;
    }

    .api-method {
      min-width: 42px;

      padding: 4px 7px;

      border-radius: 7px;

      background: #eaf8f1;

      color: #15945f;

      font-size: 10px;

      font-weight: 800;

      text-align: center;
    }

    .api-demo-main {
      min-width: 0;

      overflow: hidden;

      border-radius: 18px;

      background: #0a172c;
    }

    .api-demo-header {
      min-height: 58px;

      display: flex;
      align-items: center;
      justify-content: space-between;

      gap: 15px;

      padding: 0 18px;

      border-bottom:
        1px solid rgba(255,255,255,.07);
    }

    .api-demo-path {
      min-width: 0;

      overflow: hidden;

      color: #dce8f8;

      font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

      font-size: 13px;

      text-overflow: ellipsis;

      white-space: nowrap;
    }

    .api-copy-btn {
      flex-shrink: 0;

      padding: 7px 11px;

      border: 1px solid rgba(255,255,255,.12);

      border-radius: 8px;

      background: rgba(255,255,255,.05);

      color: #b9c8dc;

      font-size: 11px;

      cursor: pointer;
    }

    .api-copy-btn:hover {
      background: rgba(255,255,255,.09);

      color: #fff;
    }

    .api-demo-code {
      min-height: 290px;

      padding: 24px;

      color: #bdd0e9;

      font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

      font-size: 12px;

      line-height: 1.9;

      white-space: pre-wrap;

      overflow-x: auto;
    }


    /* =========================================================
       INTEGRATION
    ========================================================= */

    .api-integration-grid {
      display: grid;

      grid-template-columns:
        repeat(2, minmax(0, 1fr));

      gap: 22px;
    }

    .api-integration-card {
      padding: 32px;

      border: 1px solid var(--api-border);

      border-radius: 22px;

      background: #fff;
    }

    .api-integration-card h3 {
      margin: 0 0 11px;

      font-size: 20px;

      color: #182234;
    }

    .api-integration-card p {
      margin: 0 0 18px;

      color: #748096;

      font-size: 14px;

      line-height: 1.8;
    }

    .api-tags {
      display: flex;
      flex-wrap: wrap;

      gap: 8px;
    }

    .api-tag {
      padding: 7px 10px;

      border-radius: 9px;

      color: #52627a;

      background: #f3f7fc;

      font-size: 12px;
    }


    /* =========================================================
       DEVELOPMENT NOTES
    ========================================================= */

    .api-notes {
      display: grid;

      grid-template-columns:
        1.1fr .9fr;

      gap: 26px;

      align-items: stretch;
    }

    .api-note-main,
    .api-note-side {
      padding: 34px;

      border-radius: 24px;

      border: 1px solid var(--api-border);

      background: #fff;
    }

    .api-note-main h3,
    .api-note-side h3 {
      margin: 0 0 15px;

      font-size: 21px;

      color: #182234;
    }

    .api-note-main p,
    .api-note-side p {
      margin-bottom: 0;

      color: #748096;

      font-size: 14px;

      line-height: 1.85;
    }

    .api-check-list {
      margin: 22px 0 0;

      padding: 0;

      list-style: none;
    }

    .api-check-list li {
      position: relative;

      padding-left: 29px;

      margin-bottom: 14px;

      color: #5e6b80;

      font-size: 14px;

      line-height: 1.7;
    }

    .api-check-list li::before {
      content: "✓";

      position: absolute;

      left: 0;
      top: 1px;

      width: 19px;
      height: 19px;

      display: flex;
      align-items: center;
      justify-content: center;

      border-radius: 50%;

      color: #1769ff;

      background: #edf5ff;

      font-size: 11px;

      font-weight: 800;
    }

    .api-warning {
      margin-top: 20px;

      padding: 15px 17px;

      border-radius: 13px;

      background: #f6f9fd;

      color: #6f7b8e;

      font-size: 12px;

      line-height: 1.7;
    }


    /* =========================================================
       CTA
    ========================================================= */

    .api-cta {
      padding: 105px 0;

      background:
        linear-gradient(
          135deg,
          #071426 0%,
          #0b2341 55%,
          #0d3157 100%
        );

      color: #fff;

      overflow: hidden;

      position: relative;
    }

    .api-cta::before {
      content: "";

      position: absolute;

      width: 550px;
      height: 550px;

      right: -220px;
      top: -280px;

      border-radius: 50%;

      background:
        radial-gradient(
          circle,
          rgba(53,185,255,.22),
          transparent 70%
        );
    }

    .api-cta-inner {
      position: relative;

      z-index: 2;

      text-align: center;
    }

    .api-cta h2 {
      margin: 0 0 16px;

      color: #fff;

      font-size: clamp(30px, 4vw, 46px);

      letter-spacing: -1.5px;
    }

    .api-cta p {
      max-width: 680px;

      margin: 0 auto 30px;

      color: rgba(255,255,255,.68);

      font-size: 16px;

      line-height: 1.8;
    }

    .api-cta-actions {
      display: flex;

      justify-content: center;

      gap: 13px;
    }

    .api-cta .api-primary-btn {
      background: #fff;

      color: #1769ff;

      box-shadow: none;
    }

    .api-cta .api-secondary-btn {
      color: #fff;

      background: rgba(255,255,255,.07);

      border-color: rgba(255,255,255,.18);
    }


    /* =========================================================
       MASTER FOOTER
    ========================================================= */

    .api-page .footer {
      padding: 65px 0 25px;

      background: #091629;

      color: #fff;
    }

    .api-page .footer-grid {
      display: grid;

      grid-template-columns:
        1.5fr 1fr 1fr 1fr 1fr;

      gap: 45px;

      padding-bottom: 48px;

      border-bottom:
        1px solid rgba(255,255,255,.08);
    }

    .api-page .footer-brand p {
      max-width: 330px;

      margin: 16px 0 0;

      color: #8190a7;

      font-size: 13px;

      line-height: 1.9;
    }

    .api-page .footer-title {
      margin-bottom: 15px;

      font-size: 14px;

      font-weight: 700;
    }

    .api-page .footer-links {
      display: grid;

      gap: 9px;
    }

    .api-page .footer-links a {
      color: #8190a7;

      font-size: 13px;

      transition:
        color .2s ease;
    }

    .api-page .footer-links a:hover {
      color: #fff;
    }

    .api-page .footer-bottom {
      display: flex;

      justify-content: space-between;

      gap: 20px;

      padding-top: 23px;

      color: #65748b;

      font-size: 12px;
    }


    /* =========================================================
       REVEAL
    ========================================================= */

    .api-page.api-js-ready .api-reveal {
      opacity: 0;

      transform: translateY(28px);

      transition:
        opacity .7s ease,
        transform .7s ease;
    }

    .api-page.api-js-ready .api-reveal.show {
      opacity: 1;

      transform: translateY(0);
    }


    /* =========================================================
       RESPONSIVE
    ========================================================= */

    @media (max-width: 1180px) {

      .api-nav {
        gap: 18px;
      }

      .api-nav a {
        font-size: 13px;
      }

      .api-header-inner {
        gap: 18px;
      }

    }


    @media (max-width: 1050px) {

      .api-nav {
        gap: 14px;
      }

      .api-header-actions {
        gap: 6px;
      }

      .api-help {
        padding: 0 6px;
      }

      .api-hero-grid {
        grid-template-columns:
          minmax(0, 1fr)
          minmax(360px, .85fr);

        gap: 40px;
      }

      .api-page .footer-grid {
        grid-template-columns:
          repeat(3, 1fr);
      }

      .api-page .footer-brand {
        grid-column: 1 / -1;
      }

    }


    @media (max-width: 900px) {

      .api-header {
        height: 76px;
      }

      .api-header-inner {
        height: 76px;
      }

      .api-nav,
      .api-header-actions {
        display: none;
      }

      .api-menu {
        display: block;
      }

      .api-mobile-nav {
        position: absolute;

        top: 76px;

        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;

        gap: 0;

        padding: 10px;

        border: 1px solid var(--api-border);

        border-radius: 18px;

        background: rgba(255,255,255,.98);

        box-shadow:
          0 20px 50px rgba(20,55,100,.13);
      }

      .api-mobile-nav.mobile-open {
        display: flex;
      }

      .api-mobile-nav a {
        padding: 13px 12px;

        color: #536075;

        font-size: 14px;

        font-weight: 600;

        border-radius: 10px;
      }

      .api-mobile-nav a:hover,
      .api-mobile-nav a.active {
        color: var(--api-primary);

        background: #f4f8ff;
      }

      .api-mobile-nav .mobile-cta {
        margin-top: 5px;

        text-align: center;

        color: #fff !important;

        background:
          linear-gradient(
            135deg,
            var(--api-primary),
            var(--api-primary-2)
          );
      }

      .api-menu.open span:nth-child(1) {
        top: 20px;

        transform: rotate(45deg);
      }

      .api-menu.open span:nth-child(2) {
        opacity: 0;
      }

      .api-menu.open span:nth-child(3) {
        top: 20px;

        transform: rotate(-45deg);
      }

      .api-hero {
        min-height: auto;

        padding-top: 76px;
      }

      .api-hero-grid {
        grid-template-columns: 1fr;

        padding-top: 70px;
        padding-bottom: 80px;
      }

      .api-hero-content {
        max-width: 760px;
      }

      .api-hero h1 {
        font-size: clamp(40px, 9vw, 58px);
      }

      .api-code-window {
        max-width: 680px;
      }

      .api-overview-grid {
        grid-template-columns:
          repeat(2, minmax(0, 1fr));
      }

      .api-flow {
        grid-template-columns:
          repeat(2, minmax(0, 1fr));
      }

      .api-flow-item:not(:last-child)::after {
        display: none;
      }

      .api-demo-wrap {
        grid-template-columns: 1fr;
      }

      .api-demo-sidebar {
        display: grid;

        grid-template-columns:
          repeat(2, minmax(0, 1fr));

        gap: 6px;
      }

      .api-demo-sidebar-title {
        grid-column: 1 / -1;
      }

      .api-notes {
        grid-template-columns: 1fr;
      }

    }


    @media (max-width: 620px) {

      .api-container {
        width: min(calc(100% - 28px), 1180px);
      }

      .api-header-inner {
        width: min(calc(100% - 28px), 1240px);
      }

      .api-page .logo-icon img {
        max-height: 40px;
      }

      .api-hero-grid {
        padding-top: 55px;
        padding-bottom: 65px;
      }

      .api-eyebrow {
        font-size: 12px;
      }

      .api-hero h1 {
        margin-top: 18px;

        font-size: 39px;

        letter-spacing: -1.8px;
      }

      .api-hero-desc {
        font-size: 15px;

        line-height: 1.8;
      }

      .api-hero-actions {
        flex-direction: column;

        align-items: stretch;
      }

      .api-primary-btn,
      .api-secondary-btn {
        width: 100%;
      }

      .api-code-window {
        border-radius: 19px;
      }

      .api-code-window-inner {
        border-radius: 18px;
      }

      .api-code-body {
        min-height: 300px;

        padding: 20px 16px;

        font-size: 10px;

        overflow-x: auto;
      }

      .api-code-badge {
        right: 10px;

        bottom: -20px;
      }

      .api-section {
        padding: 75px 0;
      }

      .api-section-head {
        margin-bottom: 38px;
      }

      .api-section h2 {
        font-size: 31px;
      }

      .api-overview-grid,
      .api-integration-grid {
        grid-template-columns: 1fr;
      }

      .api-flow {
        grid-template-columns: 1fr;
      }

      .api-demo-wrap {
        padding: 10px;
      }

      .api-demo-sidebar {
        display: block;
      }

      .api-demo-sidebar-title {
        padding-bottom: 10px;
      }

      .api-demo-main {
        border-radius: 14px;
      }

      .api-demo-header {
        min-height: 54px;

        padding: 0 12px;
      }

      .api-demo-path {
        font-size: 10px;
      }

      .api-copy-btn {
        padding: 6px 8px;
      }

      .api-demo-code {
        min-height: 300px;

        padding: 18px 14px;

        font-size: 10px;
      }

      .api-notes {
        gap: 15px;
      }

      .api-note-main,
      .api-note-side {
        padding: 25px 20px;
      }

      .api-cta {
        padding: 75px 0;
      }

      .api-cta-actions {
        flex-direction: column;

        align-items: stretch;
      }

      .api-cta-actions a {
        width: 100%;
      }

      .api-page .footer {
        padding-top: 55px;
      }

      .api-page .footer-grid {
        grid-template-columns:
          1fr 1fr;

        gap: 30px 20px;
      }

      .api-page .footer-brand {
        grid-column: 1 / -1;
      }

      .api-page .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
      }

    }


    @media (max-width: 560px) {

      .api-header,
      .api-header-inner {
        height: 68px;
      }

      .api-mobile-nav {
        top: 68px;
      }

      .api-hero {
        padding-top: 68px;
      }

      .api-menu {
        width: 40px;
        height: 40px;
      }

    }


    @media (prefers-reduced-motion: reduce) {

      html {
        scroll-behavior: auto;
      }

      .api-page *,
      .api-page *::before,
      .api-page *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
      }

      .api-page.api-js-ready .api-reveal {
        opacity: 1;
        transform: none;
      }

    }

  
    /* ==========================================================
    全站统一 Header / Footer 样式（统一顶部与底部布局）
    追加于页面原有样式之后，保证所有页面渲染一致
    ========================================================== */

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .site-header, .site-header{
      position:fixed;
      z-index:1000;
      top:0;
      left:0;
      right:0;
      height:76px;
      display:flex;
      align-items:center;
      background:rgba(255,255,255,.92);
      backdrop-filter:blur(18px);
      -webkit-backdrop-filter:blur(18px);
      border-bottom:1px solid #e8eef7;
      transition:background .3s ease,border-color .3s ease,box-shadow .3s ease;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .site-header.scrolled, .site-header.scrolled{
      background:rgba(255,255,255,.98);
      border-color:#e2e9f3;
      box-shadow:0 8px 30px rgba(20,48,90,.08);
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .header-inner, .header-inner{
      width:min(1240px,calc(100% - 40px));
      height:100%;
      margin:auto;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:28px;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .logo, .logo{
      display:flex;
      align-items:center;
      gap:11px;
      flex-shrink:0;
      text-decoration:none;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .logo-icon, .logo-icon{
      display:flex;
      align-items:center;
      justify-content:center;
      width:auto;
      height:auto;
      border-radius:0;
      box-shadow:none;
      overflow:visible;
      background:transparent;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .logo-icon img, .logo-icon img{
      width:auto;
      height:auto;
      display:block;
      max-height:44px;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .nav, .nav{
      display:flex;
      align-items:center;
      gap:5px;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .nav a, .nav a{
      padding:9px 13px;
      border-radius:10px;
      color:#50617d;
      font-size:14px;
      font-weight:600;
      text-decoration:none;
      transition:.25s ease;
      display:inline-block;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .nav a:hover, .nav a.active, .nav a:hover, .nav a.active{
      color:#1769ff;
      background:#edf4ff;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .header-actions, .header-actions{
      display:flex;
      align-items:center;
      gap:10px;
      flex-shrink:0;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .header-help, .header-help{
      padding:9px 12px;
      color:#52637e;
      font-size:14px;
      font-weight:600;
      text-decoration:none;
      transition:.25s ease;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .header-help:hover, .header-help:hover{
      color:#1769ff;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .header-btn, .header-btn{
      padding:11px 18px;
      border-radius:11px;
      color:#fff;
      background:#1769ff;
      font-size:14px;
      font-weight:700;
      text-decoration:none;
      box-shadow:0 8px 22px rgba(23,105,255,.22);
      transition:.25s ease;
      white-space:nowrap;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .header-btn:hover, .header-btn:hover{
      background:#0f5ae0;
      transform:translateY(-2px);
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .menu-btn, .menu-btn{
      display:none;
      width:42px;
      height:42px;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      border:1px solid #dde5ef;
      border-radius:11px;
      background:#fff;
      cursor:pointer;
      flex-shrink:0;
      padding:0;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .menu-btn span, .menu-btn span{
      width:18px;
      height:2px;
      border-radius:3px;
      background:#31415d;
      display:block;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .mobile-nav, .mobile-nav{
      display:none;
      position:fixed;
      top:76px;
      left:0;
      right:0;
      z-index:999;
      background:#fff;
      border-bottom:1px solid #e2e9f3;
      box-shadow:0 18px 40px rgba(16,24,40,.10);
      padding:12px 20px 20px;
      flex-direction:column;
      gap:4px;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .mobile-nav.open, .mobile-nav.open{
      display:flex;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .mobile-nav a, .mobile-nav a{
      padding:12px 14px;
      border-radius:10px;
      color:#3c4c63;
      font-size:15px;
      font-weight:600;
      text-decoration:none;
      transition:.2s ease;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .mobile-nav a:hover, .mobile-nav a.active, .mobile-nav a:hover, .mobile-nav a.active{
      color:#1769ff;
      background:#edf4ff;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .mobile-nav .mobile-menu-primary, .mobile-nav .mobile-menu-primary{
      margin-top:8px;
      color:#fff;
      background:#1769ff;
      text-align:center;
      border-radius:10px;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .mobile-nav .mobile-menu-primary:hover, .mobile-nav .mobile-menu-primary:hover{
      color:#fff;
      background:#0f5ae0;
    }

    /* 屏蔽旧版移动端下拉菜单样式，统一由 .mobile-nav 承担 */
    .mq-home .site-header.mobile-open .nav,
    .products-page .site-header.mobile-open .nav,
    .mq-solutions-page .site-header.mobile-open .nav,
    .mq-features-page .site-header.mobile-open .main-nav,
    .mq-features-page .site-header.mobile-open .header-actions{
      display:none !important;
    }

    /* ---------- 统一底部 ---------- */

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .site-footer, .site-footer{
      background:#091629;
      color:#fff;
      padding:65px 0 25px;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-inner, .footer-inner{
      width:min(1240px,calc(100% - 40px));
      margin:auto;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-top, .footer-top{
      display:grid;
      grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;
      gap:45px;
      padding-bottom:48px;
      border-bottom:1px solid rgba(255,255,255,.08);
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-brand, .footer-brand{
      max-width:330px;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-brand .logo-icon img, .footer-brand .logo-icon img{
      max-height:44px;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-brand p, .footer-brand p{
      margin:16px 0 0;
      color:#8190a7;
      font-size:13px;
      line-height:1.9;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-col h4, .footer-col h4{
      margin:0 0 15px;
      color:#fff;
      font-size:14px;
      font-weight:700;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-links, .footer-links{
      display:grid;
      gap:9px;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-links a, .footer-links a{
      color:#8190a7;
      font-size:13px;
      text-decoration:none;
      transition:.2s ease;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-links a:hover, .footer-links a:hover{
      color:#fff;
    }

    :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-bottom, .footer-bottom{
      display:flex;
      justify-content:space-between;
      gap:20px;
      padding-top:23px;
      color:#65748b;
      font-size:12px;
    }

    /* ---------- 统一响应式 ---------- */

    @media(max-width:1080px){
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .nav, .nav{ gap:0; }
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .nav a, .nav a{ padding:8px 9px; font-size:13px; }
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .header-help, .header-help{ display:none; }
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-top, .footer-top{ grid-template-columns:repeat(3,1fr); }
    }

    @media(max-width:900px){
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .nav, .nav{ display:none; }
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .header-actions, .header-actions{ display:none; }
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .menu-btn, .menu-btn{ display:flex; }
    }

    @media(max-width:820px){
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .site-header, .site-header{ height:68px; }
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .header-inner, .header-inner{ width:calc(100% - 28px); gap:12px; }
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .mobile-nav, .mobile-nav{ top:68px; }
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-top, .footer-top{ grid-template-columns:repeat(2,1fr); gap:28px; }
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-bottom, .footer-bottom{ flex-direction:column; }
    }

    @media(max-width:480px){
      :is(.mq-home,.mq-features-page,.products-page,.mq-solutions-page,.faq-page,.blog-page,.api-page,.terms-page,.mq-download-page,.mq-404-page,.download-guide-page,.install-guide-page,.pc-guide-page,.guide-page,.blog-online-page) .footer-top, .footer-top{ grid-template-columns:1fr; }
    }

  