

* { margin:0; padding:0; box-sizing:border-box; }
    html { scroll-behavior:smooth; overflow-x:hidden; }
    body {
      font-family:"Inter",sans-serif;
      background:#0b0f17;
      color:#f0f2f5;
      overflow-x:hidden;
      width:100%;
      min-height:100vh;
    }

    /* ----- HEADER (fixed) ----- */
    .docs-header {
      height:72px;
      position:fixed;
      top:0; left:0; right:0;
      z-index:1000;
      display:flex;
      align-items:center;
      background:linear-gradient(90deg,#10161f 0%,#0f1a1a 55%,#111d1d 100%);
      border-bottom:1px solid rgba(255,255,255,0.05);
      width:100%;
      padding:0 20px;
    }
    .header-logo {
      display:flex;
      align-items:center;
      gap:10px;
      flex-shrink:0;
    }
    .logo-mark {
      width:32px; height:32px;
      background:#2dcd6b;
      clip-path:polygon(0 0,100% 0,80% 100%,0% 100%);
      transform:rotate(4deg);
      flex-shrink:0;
      display:block;
    }
    .logo-text {
      font-size:20px;
      font-weight:800;
      letter-spacing:-0.5px;
      white-space:nowrap;
      display:block;
    }
    .logo-text span { color:#2dcd6b; }
    .header-center {
      flex:1;
      display:flex;
      align-items:center;
      justify-content:center;
      padding:0 16px;
      min-width:0;
    }
    .search-box {
      width:100%;
      max-width:480px;
      height:44px;
      border:1px solid #2a3f36;
      border-radius:40px;
      display:flex;
      align-items:center;
      background:#141b1f;
      transition:0.2s;
      padding:0 16px;
    }
    .search-box:focus-within { border-color:#2dcd6b; }
    .search-box i { color:#7f8a8e; margin-right:10px; font-size:16px; }
    .search-box input {
      flex:1;
      height:100%;
      background:transparent;
      border:none;
      outline:none;
      color:#eef2f5;
      font-size:14px;
      min-width:0;
    }
    .search-box input::placeholder { color:#6e7a7f; }
    .header-right {
      display:flex;
      align-items:center;
      gap:16px;
      flex-shrink:0;
    }
    .dapp-btn {
      border:0;
      background:#2dcd6b;
      color:#0d1c14;
      font-weight:700;
      font-size:14px;
      padding:10px 20px;
      border-radius:40px;
      cursor:pointer;
      transition:0.2s;
      box-shadow:0 0 18px rgba(45,205,107,0.15);
      white-space:nowrap;
    }
    .dapp-btn:hover { background:#3de081; transform:translateY(-1px); }
    .language {
      display:flex;
      align-items:center;
      gap:6px;
      color:#bcc4c9;
      font-size:14px;
      font-weight:500;
      cursor:pointer;
      white-space:nowrap;
    }
    .mobile-menu-btn {
      display:none;
      width:42px; height:42px;
      border:1px solid #2f4048;
      border-radius:12px;
      background:#101a20;
      color:#dce3e8;
      font-size:20px;
      cursor:pointer;
      align-items:center;
      justify-content:center;
      flex-shrink:0;
    }

    /* ----- SIDEBAR (desktop) ----- */
    .sidebar-desktop {
      position:fixed;
      top:72px;
      left:0;
      width:280px;
      height:calc(100vh - 72px);
      background:#0f1a1f;
      border-right:1px solid #1e2d32;
      padding:24px 16px;
      overflow-y:auto;
      z-index:900;
      display:flex;
      flex-direction:column;
      transition:transform 0.25s ease;
    }
    .sidebar-desktop .sidebar-head {
      display:flex;
      align-items:center;
      gap:10px;
      padding-bottom:16px;
      border-bottom:1px solid #1e2d32;
      margin-bottom:18px;
    }
    .sidebar-desktop .sidebar-head i { color:#2dcd6b; font-size:20px; }
    .sidebar-desktop .sidebar-head h3 {
      font-size:18px;
      font-weight:700;
      color:#fff;
    }
    .sidebar-desktop .sidebar-head h3 span { color:#2dcd6b; }
    .sidebar-desktop .menu-item {
      display:flex;
      justify-content:space-between;
      align-items:center;
      padding:12px 14px;
      margin-bottom:2px;
      border-radius:10px;
      color:#d4dfe3;
      text-decoration:none;
      transition:0.2s;
      font-size:13px;
      font-weight:500;
      border:1px solid transparent;
      cursor:pointer;
    }
    .sidebar-desktop .menu-item:hover {
      background:rgba(45,205,107,0.08);
      border-color:#2dcd6b;
      color:#fff;
    }
    .sidebar-desktop .menu-item i {
      color:#2dcd6b;
      font-size:13px;
      transition:0.2s;
      flex-shrink:0;
    }
    .sidebar-desktop .menu-item:hover i { transform:translateX(4px); }
    .sidebar-desktop .menu-item .menu-text {
      display:flex;
      align-items:center;
      gap:10px;
    }
    .sidebar-desktop .footer-note {
      margin-top:auto;
      padding-top:16px;
      border-top:1px solid #1e2d32;
      font-size:11px;
      color:#5a7a84;
    }
    .sidebar-desktop::-webkit-scrollbar { width:4px; }
    .sidebar-desktop::-webkit-scrollbar-track { background:transparent; }
    .sidebar-desktop::-webkit-scrollbar-thumb { background:#2dcd6b; border-radius:4px; }

    /* ----- MAIN ----- */
    .main {
      margin-left:280px;
      padding-top:72px;
      min-height:100vh;
      background:radial-gradient(circle at 80% 10%, rgba(45,205,107,0.06), transparent 40%), #0b0f17;
      width:auto;
    }
    .content-wrapper {
      max-width:960px;
      width:100%;
      margin:0 auto;
      padding:40px 24px 100px;
    }
    .content-top {
      display:flex;
      align-items:center;
      justify-content:space-between;
      margin-bottom:24px;
      flex-wrap:wrap;
      gap:12px;
    }
    .breadcrumb {
      color:#2dcd6b;
      font-size:13px;
      font-weight:500;
      letter-spacing:0.3px;
    }
    .copy-btn {
      height:32px;
      padding:0 14px;
      border:1px solid #29363e;
      border-radius:30px;
      background:#131c22;
      color:#dce3e8;
      display:flex;
      align-items:center;
      gap:8px;
      cursor:pointer;
      font-size:13px;
      font-weight:500;
      flex-shrink:0;
    }
    .copy-btn:hover { background:#1c2a32; border-color:#2dcd6b; }
    h1 {
      font-size:38px;
      line-height:1.12;
      letter-spacing:-1.5px;
      font-weight:800;
      margin-bottom:20px;
      word-break:break-word;
    }
    h1 .highlight { color:#2dcd6b; }
    h2 {
      font-size:22px;
      font-weight:700;
      margin:44px 0 18px;
      line-height:1.3;
      letter-spacing:-0.3px;
    }
    p {
      color:#d3dbdf;
      font-size:16px;
      line-height:1.8;
      margin-bottom:20px;
    }
    .definition-box {
      background:#132028;
      border-left:4px solid #2dcd6b;
      border-radius:8px;
      padding:18px 20px;
      margin:24px 0 30px;
      display:flex;
      gap:16px;
      width:100%;
    }
    .definition-icon {
      width:28px; height:28px;
      flex-shrink:0;
      background:#2dcd6b;
      border-radius:50%;
      display:flex;
      align-items:center;
      justify-content:center;
      color:#0b1a12;
      font-weight:800;
      font-size:14px;
    }
    .definition-content { flex:1; min-width:0; }
    .definition-title {
      font-weight:700;
      font-size:15px;
      margin-bottom:6px;
      color:#e7edf1;
    }
    .definition-text {
      font-size:14px;
      line-height:1.7;
      color:#c5d1d7;
      margin:0;
      word-break:break-word;
    }
    .table-wrapper {
      overflow-x:auto;
      margin:20px 0 30px;
      border-radius:12px;
      border:1px solid #1e2d32;
      -webkit-overflow-scrolling:touch;
      width:100%;
    }
    .backing-table {
      width:100%;
      border-collapse:collapse;
      font-size:14px;
      min-width:600px;
    }
    .backing-table th {
      text-align:left;
      padding:14px 16px;
      background:#101b21;
      color:#b6c9d0;
      font-weight:700;
      border-bottom:1px solid #293e45;
      letter-spacing:0.3px;
    }
    .backing-table td {
      padding:14px 16px;
      border-bottom:1px solid #1f3038;
      color:#d4dfe3;
      vertical-align:top;
    }
    .backing-table tr:last-child td { border-bottom:0; }
    .stat-highlight { color:#2dcd6b; font-weight:700; }
    .pill {
      display:inline-block;
      background:#1a2e2e;
      padding:2px 14px;
      border-radius:40px;
      font-size:12px;
      font-weight:600;
      color:#2dcd6b;
      margin-right:6px;
    }
    .doc-footer {
      margin-top:50px;
      padding-top:28px;
      border-top:1px solid #1d2d33;
      display:flex;
      justify-content:space-between;
      font-size:13px;
      color:#7b939d;
      flex-wrap:wrap;
      gap:8px;
    }
    .doc-footer span { color:#2dcd6b; }
    .mono-box {
      background:#101b21;
      border:1px solid #1e2d32;
      border-radius:14px;
      padding:18px 16px;
      margin:12px 0 24px;
      font-size:14px;
      line-height:1.7;
      color:#c5d1d7;
      white-space:pre-wrap;
      font-family:monospace;
      letter-spacing:0.2px;
      overflow-x:auto;
      width:100%;
      word-break:break-word;
    }

    /* Mobile drawer */
    .docs-overlay { display:none; }
    .docs-sidebar-mobile { display:none; }

    /* ===== RESPONSIVE ===== */
    @media (max-width:1024px) {
      .sidebar-desktop { display:none; }
      .main { margin-left:0; }
      .header-logo { gap:6px; }
      .logo-text { font-size:17px; }
      .content-wrapper { padding:30px 20px 80px; }
      .dapp-btn { font-size:13px; padding:8px 16px; }

      .docs-overlay {
        display:none;
        position:fixed;
        inset:0;
        background:rgba(0,0,0,0.6);
        z-index:999;
        backdrop-filter:blur(4px);
        -webkit-backdrop-filter:blur(4px);
      }
      .docs-overlay.active { display:block; }
      .docs-sidebar-mobile {
        display:flex;
        position:fixed;
        top:0;
        right:-420px;
        width:400px;
        max-width:90vw;
        height:100%;
        background:#0f1a1f;
        border-left:1px solid #1e2d32;
        z-index:1000;
        transition:right 0.3s cubic-bezier(0.4,0,0.2,1);
        padding:20px 16px;
        overflow-y:auto;
        flex-direction:column;
      }
      .docs-sidebar-mobile.active { right:0; }
      .docs-sidebar-mobile .sidebar-head {
        display:flex;
        justify-content:space-between;
        align-items:center;
        padding-bottom:14px;
        border-bottom:1px solid #1e2d32;
        margin-bottom:16px;
      }
      .docs-sidebar-mobile .sidebar-head h3 {
        font-size:17px;
        font-weight:700;
        color:#fff;
      }
      .docs-sidebar-mobile .sidebar-head h3 span { color:#2dcd6b; }
      .docs-sidebar-mobile .close-btn {
        background:transparent;
        border:none;
        color:#8aa4ae;
        font-size:22px;
        cursor:pointer;
        padding:4px 8px;
      }
      .docs-sidebar-mobile .close-btn:hover { color:#fff; }
      .docs-sidebar-mobile .menu-item {
        display:flex;
        justify-content:space-between;
        align-items:center;
        padding:12px 14px;
        margin-bottom:2px;
        border-radius:10px;
        color:#d4dfe3;
        text-decoration:none;
        transition:0.2s;
        font-size:13px;
        font-weight:500;
        border:1px solid transparent;
        cursor:pointer;
      }
      .docs-sidebar-mobile .menu-item:hover {
        background:rgba(45,205,107,0.08);
        border-color:#2dcd6b;
        color:#fff;
      }
      .docs-sidebar-mobile .menu-item i {
        color:#2dcd6b;
        font-size:13px;
        transition:0.2s;
        flex-shrink:0;
      }
      .docs-sidebar-mobile .menu-item:hover i { transform:translateX(4px); }
      .docs-sidebar-mobile .menu-item .menu-text {
        display:flex;
        align-items:center;
        gap:10px;
      }
      .docs-sidebar-mobile .footer-note {
        margin-top:auto;
        padding-top:16px;
        border-top:1px solid #1e2d32;
        font-size:11px;
        color:#5a7a84;
      }
      .docs-sidebar-mobile::-webkit-scrollbar { width:4px; }
      .docs-sidebar-mobile::-webkit-scrollbar-track { background:transparent; }
      .docs-sidebar-mobile::-webkit-scrollbar-thumb { background:#2dcd6b; border-radius:4px; }
      .mobile-menu-btn { display:flex; }
    }

    @media (max-width:768px) {
      .docs-header { height:64px; padding:0 12px; }
      .header-logo { gap:6px; }
      .logo-mark { width:24px; height:24px; }
      .logo-text { display:block; font-size:15px; font-weight:700; }
      .header-center { padding:0 6px; }
      .search-box { max-width:100%; height:38px; border-radius:30px; padding:0 12px; }
      .search-box i { font-size:14px; margin-right:6px; }
      .search-box input { font-size:13px; }
      .header-right { gap:8px; }
      .dapp-btn { display:none; }
      .language { display:none; }
      .main { padding-top:64px; }
      .content-wrapper { padding:20px 14px 60px; }
      h1 { font-size:30px; }
      h2 { font-size:19px; margin:32px 0 14px; }
      p { font-size:15px; }
      .backing-table { min-width:480px; font-size:13px; }
      .backing-table th, .backing-table td { padding:10px 12px; }
      .doc-footer { flex-direction:column; gap:4px; text-align:center; }
      .definition-box { flex-direction:column; gap:8px; }
      .definition-icon { align-self:flex-start; }
      .mono-box { font-size:12px; padding:14px 12px; }
      .content-top { flex-direction:row; }
      .breadcrumb { font-size:11px; }
      .copy-btn { font-size:12px; padding:0 12px; height:30px; }
      .docs-sidebar-mobile { width:340px; }
    }

    @media (max-width:480px) {
      .content-wrapper { padding:16px 12px 50px; }
      h1 { font-size:24px; letter-spacing:-1px; }
      h2 { font-size:17px; }
      p { font-size:14px; }
      .backing-table { min-width:360px; font-size:12px; }
      .backing-table th, .backing-table td { padding:8px 10px; }
      .search-box input { font-size:12px; }
      .definition-box { padding:14px 16px; }
      .definition-text { font-size:13px; }
      .mono-box { font-size:11px; padding:12px 10px; }
      .docs-sidebar-mobile { width:300px; }
      .logo-text { font-size:13px; }
      .logo-mark { width:20px; height:20px; }
    }@media (max-width:768px) {
  .docs-header {
    height:64px;
    padding:0 14px;
    display:flex;
    align-items:center;
    justify-content:space-between; /* Logo left, toggle right */
    background:linear-gradient(90deg,#10161f 0%,#0f1a1a 55%,#111d1d 100%);
    border-bottom:1px solid rgba(255,255,255,0.05);
  }
  .header-logo {
    display:flex;
    align-items:center;
    gap:8px;
    flex-shrink:0;
  }
  .logo-text {
    display:block;
    font-size:16px;
    font-weight:800;
    letter-spacing:-0.3px;
    white-space:nowrap;
  }
  .logo-text span { color:#2dcd6b; }
  .header-center { display:none; } /* Search box hide */
  .header-right {
    display:flex;
    align-items:center;
    gap:8px;
    margin-left:auto; /* Push to right */
  }
  .mobile-menu-btn {
    display:flex;
    width:42px;
    height:42px;
    border:1px solid #2f4048;
    border-radius:12px;
    background:#101a20;
    color:#dce3e8;
    font-size:20px;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    flex-shrink:0;
  }
  .dapp-btn { display:none; }
  .language { display:none; }
  .main { padding-top:64px; }
  /* ... baaki existing rules same rakhein ... */
}
  /* Desktop header (default) */
  .docs-header {
    height:72px;
    position:fixed;
    top:0; left:0; right:0;
    z-index:1000;
    display:flex;
    align-items:center;
    background:linear-gradient(90deg,#10161f 0%,#0f1a1a 55%,#111d1d 100%);
    border-bottom:1px solid rgba(255,255,255,0.05);
    width:100%;
    padding:0 20px;
  }
  .header-logo {
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
  }
  .logo-text {
    font-size:20px;
    font-weight:800;
    letter-spacing:-0.5px;
    white-space:nowrap;
    display:block;
  }
  .logo-text span { color:#2dcd6b; }

  .header-center {
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 16px;
    min-width:0;
  }
  .search-box {
    width:100%;
    max-width:480px;
    height:44px;
    border:1px solid #2a3f36;
    border-radius:40px;
    display:flex;
    align-items:center;
    background:#141b1f;
    transition:0.2s;
    padding:0 16px;
  }
  .search-box:focus-within { border-color:#2dcd6b; }
  .search-box i { color:#7f8a8e; margin-right:10px; font-size:16px; }
  .search-box input {
    flex:1;
    height:100%;
    background:transparent;
    border:none;
    outline:none;
    color:#eef2f5;
    font-size:14px;
    min-width:0;
  }
  .search-box input::placeholder { color:#6e7a7f; }

  .header-right {
    display:flex;
    align-items:center;
    gap:16px;
    flex-shrink:0;
  }
  .dapp-btn {
    border:0;
    background:#2dcd6b;
    color:#0d1c14;
    font-weight:700;
    font-size:14px;
    padding:10px 20px;
    border-radius:40px;
    cursor:pointer;
    transition:0.2s;
    box-shadow:0 0 18px rgba(45,205,107,0.15);
    white-space:nowrap;
  }
  .dapp-btn:hover { background:#3de081; transform:translateY(-1px); }
  .language {
    display:flex;
    align-items:center;
    gap:6px;
    color:#bcc4c9;
    font-size:14px;
    font-weight:500;
    cursor:pointer;
    white-space:nowrap;
  }
  .mobile-menu-btn {
    display:none;
    width:42px; height:42px;
    border:1px solid #2f4048;
    border-radius:12px;
    background:#101a20;
    color:#dce3e8;
    font-size:20px;
    cursor:pointer;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
  }

  /* Mobile (<=768px) */
  @media (max-width:768px) {
    .docs-header {
      height:64px;
      padding:0 14px;
      display:flex;
      align-items:center;
      justify-content:space-between;
    }
    .header-logo { display:flex; align-items:center; gap:8px; flex-shrink:0; }
    .logo-text { display:block; font-size:16px; font-weight:800; letter-spacing:-0.3px; }
    .logo-text span { color:#2dcd6b; }
    .header-center { display:none; }
    .header-right { display:flex; align-items:center; gap:8px; margin-left:auto; }
    .mobile-menu-btn {
      display:flex;
      width:42px; height:42px;
      border:1px solid #2f4048;
      border-radius:12px;
      background:#101a20;
      color:#dce3e8;
      font-size:20px;
      align-items:center;
      justify-content:center;
      cursor:pointer;
      flex-shrink:0;
    }
    .dapp-btn { display:none; }
    .language { display:none; }
    .main { padding-top:64px; }
  }* { margin:0; padding:0; box-sizing:border-box; }
        html { scroll-behavior:smooth; overflow-x:hidden; }
        body {
            font-family:"Inter",sans-serif;
            background:#0b0f17;
            color:#f0f2f5;
            overflow-x:hidden;
            width:100%;
            min-height:100vh;
        }

        /* ----- HEADER (fixed) ----- */
        .docs-header {
            height:72px;
            position:fixed;
            top:0; left:0; right:0;
            z-index:1000;
            display:flex;
            align-items:center;
            background:linear-gradient(90deg,#10161f 0%,#0f1a1a 55%,#111d1d 100%);
            border-bottom:1px solid rgba(255,255,255,0.05);
            width:100%;
            padding:0 20px;
        }
        .header-logo {
            display:flex;
            align-items:center;
            gap:10px;
            flex-shrink:0;
        }
        .logo-mark {
            width:32px; height:32px;
            background:#2dcd6b;
            clip-path:polygon(0 0,100% 0,80% 100%,0% 100%);
            transform:rotate(4deg);
            flex-shrink:0;
            display:block;
        }
        .logo-text {
            font-size:20px;
            font-weight:800;
            letter-spacing:-0.5px;
            white-space:nowrap;
            display:block;
        }
        .logo-text span { color:#2dcd6b; }
        .header-center {
            flex:1;
            display:flex;
            align-items:center;
            justify-content:center;
            padding:0 16px;
            min-width:0;
        }
        .search-box {
            width:100%;
            max-width:480px;
            height:44px;
            border:1px solid #2a3f36;
            border-radius:40px;
            display:flex;
            align-items:center;
            background:#141b1f;
            transition:0.2s;
            padding:0 16px;
        }
        .search-box:focus-within { border-color:#2dcd6b; }
        .search-box i { color:#7f8a8e; margin-right:10px; font-size:16px; }
        .search-box input {
            flex:1;
            height:100%;
            background:transparent;
            border:none;
            outline:none;
            color:#eef2f5;
            font-size:14px;
            min-width:0;
        }
        .search-box input::placeholder { color:#6e7a7f; }
        .header-right {
            display:flex;
            align-items:center;
            gap:16px;
            flex-shrink:0;
        }
        .dapp-btn {
            border:0;
            background:#2dcd6b;
            color:#0d1c14;
            font-weight:700;
            font-size:14px;
            padding:10px 20px;
            border-radius:40px;
            cursor:pointer;
            transition:0.2s;
            box-shadow:0 0 18px rgba(45,205,107,0.15);
            white-space:nowrap;
        }
        .dapp-btn:hover { background:#3de081; transform:translateY(-1px); }
        .language {
            display:flex;
            align-items:center;
            gap:6px;
            color:#bcc4c9;
            font-size:14px;
            font-weight:500;
            cursor:pointer;
            white-space:nowrap;
        }
        .mobile-menu-btn {
            display:none;
            width:42px; height:42px;
            border:1px solid #2f4048;
            border-radius:12px;
            background:#101a20;
            color:#dce3e8;
            font-size:20px;
            cursor:pointer;
            align-items:center;
            justify-content:center;
            flex-shrink:0;
        }

        /* ----- SIDEBAR (desktop) ----- */
        .sidebar-desktop {
            position:fixed;
            top:72px;
            left:0;
            width:280px;
            height:calc(100vh - 72px);
            background:#0f1a1f;
            border-right:1px solid #1e2d32;
            padding:24px 16px;
            overflow-y:auto;
            z-index:900;
            display:flex;
            flex-direction:column;
            transition:transform 0.25s ease;
        }
        .sidebar-desktop .sidebar-head {
            display:flex;
            align-items:center;
            gap:10px;
            padding-bottom:16px;
            border-bottom:1px solid #1e2d32;
            margin-bottom:18px;
        }
        .sidebar-desktop .sidebar-head i { color:#2dcd6b; font-size:20px; }
        .sidebar-desktop .sidebar-head h3 {
            font-size:18px;
            font-weight:700;
            color:#fff;
        }
        .sidebar-desktop .sidebar-head h3 span { color:#2dcd6b; }
        .sidebar-desktop .menu-item {
            display:flex;
            justify-content:space-between;
            align-items:center;
            padding:12px 14px;
            margin-bottom:2px;
            border-radius:10px;
            color:#d4dfe3;
            text-decoration:none;
            transition:0.2s;
            font-size:13px;
            font-weight:500;
            border:1px solid transparent;
            cursor:pointer;
        }
        .sidebar-desktop .menu-item:hover {
            background:rgba(45,205,107,0.08);
            border-color:#2dcd6b;
            color:#fff;
        }
        .sidebar-desktop .menu-item i {
            color:#2dcd6b;
            font-size:13px;
            transition:0.2s;
            flex-shrink:0;
        }
        .sidebar-desktop .menu-item:hover i { transform:translateX(4px); }
        .sidebar-desktop .menu-item .menu-text {
            display:flex;
            align-items:center;
            gap:10px;
        }
        .sidebar-desktop .footer-note {
            margin-top:auto;
            padding-top:16px;
            border-top:1px solid #1e2d32;
            font-size:11px;
            color:#5a7a84;
        }
        .sidebar-desktop::-webkit-scrollbar { width:4px; }
        .sidebar-desktop::-webkit-scrollbar-track { background:transparent; }
        .sidebar-desktop::-webkit-scrollbar-thumb { background:#2dcd6b; border-radius:4px; }

        /* ----- MAIN ----- */
        .main {
            margin-left:280px;
            padding-top:72px;
            min-height:100vh;
            background:radial-gradient(circle at 80% 10%, rgba(45,205,107,0.06), transparent 40%), #0b0f17;
            width:auto;
        }
        .content-wrapper {
            max-width:960px;
            width:100%;
            margin:0 auto;
            padding:40px 24px 100px;
        }
        .content-top {
            display:flex;
            align-items:center;
            justify-content:space-between;
            margin-bottom:24px;
            flex-wrap:wrap;
            gap:12px;
        }
        .breadcrumb {
            color:#2dcd6b;
            font-size:13px;
            font-weight:500;
            letter-spacing:0.3px;
        }
        .copy-btn {
            height:32px;
            padding:0 14px;
            border:1px solid #29363e;
            border-radius:30px;
            background:#131c22;
            color:#dce3e8;
            display:flex;
            align-items:center;
            gap:8px;
            cursor:pointer;
            font-size:13px;
            font-weight:500;
            flex-shrink:0;
        }
        .copy-btn:hover { background:#1c2a32; border-color:#2dcd6b; }
        h1 {
            font-size:38px;
            line-height:1.12;
            letter-spacing:-1.5px;
            font-weight:800;
            margin-bottom:20px;
            word-break:break-word;
        }
        h1 .highlight { color:#2dcd6b; }
        h2 {
            font-size:22px;
            font-weight:700;
            margin:44px 0 18px;
            line-height:1.3;
            letter-spacing:-0.3px;
        }
        h3 {
            font-size:18px;
            font-weight:600;
            margin:28px 0 12px;
            color:#d3e4eb;
        }
        p {
            color:#d3dbdf;
            font-size:16px;
            line-height:1.8;
            margin-bottom:20px;
        }
        .definition-box {
            background:#132028;
            border-left:4px solid #2dcd6b;
            border-radius:8px;
            padding:18px 20px;
            margin:24px 0 30px;
            display:flex;
            gap:16px;
            width:100%;
        }
        .definition-icon {
            width:28px; height:28px;
            flex-shrink:0;
            background:#2dcd6b;
            border-radius:50%;
            display:flex;
            align-items:center;
            justify-content:center;
            color:#0b1a12;
            font-weight:800;
            font-size:14px;
        }
        .definition-content { flex:1; min-width:0; }
        .definition-title {
            font-weight:700;
            font-size:15px;
            margin-bottom:6px;
            color:#e7edf1;
        }
        .definition-text {
            font-size:14px;
            line-height:1.7;
            color:#c5d1d7;
            margin:0;
            word-break:break-word;
        }
        .table-wrapper {
            overflow-x:auto;
            margin:20px 0 30px;
            border-radius:12px;
            border:1px solid #1e2d32;
            -webkit-overflow-scrolling:touch;
            width:100%;
        }
        .backing-table {
            width:100%;
            border-collapse:collapse;
            font-size:14px;
            min-width:600px;
        }
        .backing-table th {
            text-align:left;
            padding:14px 16px;
            background:#101b21;
            color:#b6c9d0;
            font-weight:700;
            border-bottom:1px solid #293e45;
            letter-spacing:0.3px;
        }
        .backing-table td {
            padding:14px 16px;
            border-bottom:1px solid #1f3038;
            color:#d4dfe3;
            vertical-align:top;
        }
        .backing-table tr:last-child td { border-bottom:0; }
        .stat-highlight { color:#2dcd6b; font-weight:700; }
        .pill {
            display:inline-block;
            background:#1a2e2e;
            padding:2px 14px;
            border-radius:40px;
            font-size:12px;
            font-weight:600;
            color:#2dcd6b;
            margin-right:6px;
        }
        .doc-footer {
            margin-top:50px;
            padding-top:28px;
            border-top:1px solid #1d2d33;
            display:flex;
            justify-content:space-between;
            font-size:13px;
            color:#7b939d;
            flex-wrap:wrap;
            gap:8px;
        }
        .doc-footer span { color:#2dcd6b; }
        .mono-box {
            background:#101b21;
            border:1px solid #1e2d32;
            border-radius:14px;
            padding:18px 16px;
            margin:12px 0 24px;
            font-size:14px;
            line-height:1.7;
            color:#c5d1d7;
            white-space:pre-wrap;
            font-family:monospace;
            letter-spacing:0.2px;
            overflow-x:auto;
            width:100%;
            word-break:break-word;
        }
        .toc-grid {
            display:grid;
            grid-template-columns:1fr 1fr;
            gap:6px 30px;
            background:#111d22;
            padding:16px 20px;
            border-radius:12px;
            border:1px solid #1e2d32;
            font-size:14px;
            color:#c5d1d7;
            width:100%;
        }
        .toc-grid a {
            color:#2dcd6b;
            text-decoration:none;
            transition:0.2s;
        }
        .toc-grid a:hover {
            color:#3de081;
            text-decoration:underline;
        }
        .chain-id-highlight { color:#f0b90b; font-weight:800; font-size:1.1em; }
        .status-badge { display:inline-block; background:#1a3a2a; color:#2dcd6b; padding:2px 14px; border-radius:40px; font-size:12px; font-weight:600; }

        /* Mobile drawer */
        .docs-overlay { display:none; }
        .docs-sidebar-mobile { display:none; }

        /* ===== RESPONSIVE ===== */
        @media (max-width:1024px) {
            .sidebar-desktop { display:none; }
            .main { margin-left:0; }
            .header-logo { gap:6px; }
            .logo-text { font-size:17px; }
            .content-wrapper { padding:30px 20px 80px; }
            .dapp-btn { font-size:13px; padding:8px 16px; }

            .docs-overlay {
                display:none;
                position:fixed;
                inset:0;
                background:rgba(0,0,0,0.6);
                z-index:999;
                backdrop-filter:blur(4px);
                -webkit-backdrop-filter:blur(4px);
            }
            .docs-overlay.active { display:block; }
            .docs-sidebar-mobile {
                display:flex;
                position:fixed;
                top:0;
                right:-420px;
                width:400px;
                max-width:90vw;
                height:100%;
                background:#0f1a1f;
                border-left:1px solid #1e2d32;
                z-index:1000;
                transition:right 0.3s cubic-bezier(0.4,0,0.2,1);
                padding:20px 16px;
                overflow-y:auto;
                flex-direction:column;
            }
            .docs-sidebar-mobile.active { right:0; }
            .docs-sidebar-mobile .sidebar-head {
                display:flex;
                justify-content:space-between;
                align-items:center;
                padding-bottom:14px;
                border-bottom:1px solid #1e2d32;
                margin-bottom:16px;
            }
            .docs-sidebar-mobile .sidebar-head h3 {
                font-size:17px;
                font-weight:700;
                color:#fff;
            }
            .docs-sidebar-mobile .sidebar-head h3 span { color:#2dcd6b; }
            .docs-sidebar-mobile .close-btn {
                background:transparent;
                border:none;
                color:#8aa4ae;
                font-size:22px;
                cursor:pointer;
                padding:4px 8px;
            }
            .docs-sidebar-mobile .close-btn:hover { color:#fff; }
            .docs-sidebar-mobile .menu-item {
                display:flex;
                justify-content:space-between;
                align-items:center;
                padding:12px 14px;
                margin-bottom:2px;
                border-radius:10px;
                color:#d4dfe3;
                text-decoration:none;
                transition:0.2s;
                font-size:13px;
                font-weight:500;
                border:1px solid transparent;
                cursor:pointer;
            }
            .docs-sidebar-mobile .menu-item:hover {
                background:rgba(45,205,107,0.08);
                border-color:#2dcd6b;
                color:#fff;
            }
            .docs-sidebar-mobile .menu-item i {
                color:#2dcd6b;
                font-size:13px;
                transition:0.2s;
                flex-shrink:0;
            }
            .docs-sidebar-mobile .menu-item:hover i { transform:translateX(4px); }
            .docs-sidebar-mobile .menu-item .menu-text {
                display:flex;
                align-items:center;
                gap:10px;
            }
            .docs-sidebar-mobile .footer-note {
                margin-top:auto;
                padding-top:16px;
                border-top:1px solid #1e2d32;
                font-size:11px;
                color:#5a7a84;
            }
            .docs-sidebar-mobile::-webkit-scrollbar { width:4px; }
            .docs-sidebar-mobile::-webkit-scrollbar-track { background:transparent; }
            .docs-sidebar-mobile::-webkit-scrollbar-thumb { background:#2dcd6b; border-radius:4px; }
            .mobile-menu-btn { display:flex; }
        }

        @media (max-width:768px) {
            .docs-header { height:64px; padding:0 12px; }
            .header-logo { gap:6px; }
            .logo-mark { width:24px; height:24px; }
            .logo-text { display:block; font-size:15px; font-weight:700; }
            .header-center { padding:0 6px; }
            .search-box { max-width:100%; height:38px; border-radius:30px; padding:0 12px; }
            .search-box i { font-size:14px; margin-right:6px; }
            .search-box input { font-size:13px; }
            .header-right { gap:8px; }
            .dapp-btn { display:none; }
            .language { display:none; }
            .main { padding-top:64px; }
            .content-wrapper { padding:20px 14px 60px; }
            h1 { font-size:30px; }
            h2 { font-size:19px; margin:32px 0 14px; }
            h3 { font-size:16px; }
            p { font-size:15px; }
            .backing-table { min-width:480px; font-size:13px; }
            .backing-table th, .backing-table td { padding:10px 12px; }
            .doc-footer { flex-direction:column; gap:4px; text-align:center; }
            .definition-box { flex-direction:column; gap:8px; }
            .definition-icon { align-self:flex-start; }
            .mono-box { font-size:12px; padding:14px 12px; }
            .content-top { flex-direction:row; }
            .breadcrumb { font-size:11px; }
            .copy-btn { font-size:12px; padding:0 12px; height:30px; }
            .docs-sidebar-mobile { width:340px; }
            .toc-grid { grid-template-columns:1fr; gap:4px; font-size:13px; padding:14px 16px; }
        }

        @media (max-width:480px) {
            .content-wrapper { padding:16px 12px 50px; }
            h1 { font-size:24px; letter-spacing:-1px; }
            h2 { font-size:17px; }
            h3 { font-size:15px; }
            p { font-size:14px; }
            .backing-table { min-width:360px; font-size:12px; }
            .backing-table th, .backing-table td { padding:8px 10px; }
            .search-box input { font-size:12px; }
            .definition-box { padding:14px 16px; }
            .definition-text { font-size:13px; }
            .mono-box { font-size:11px; padding:12px 10px; }
            .docs-sidebar-mobile { width:300px; }
            .logo-text { font-size:13px; }
            .logo-mark { width:20px; height:20px; }
            .toc-grid { font-size:12px; padding:12px 14px; }
        }@media (max-width:768px) {
  .docs-header { 
    height:64px; 
    padding:0 12px; 
    display:flex; 
    justify-content:space-between; /* Logo left, toggle right */
  }
  .header-logo { 
    display:flex; 
    align-items:center; 
    gap:8px; 
    flex-shrink:0; 
  }
  .logo-mark { 
    width:24px; 
    height:24px; 
    display:block; 
  }
  .logo-text { 
    display:block; 
    font-size:15px; 
    font-weight:700; 
    white-space:nowrap;
  }
  .header-center { 
    display:none; /* Search box hide karo mobile par */
  }
  .header-right { 
    display:flex; 
    align-items:center; 
    gap:8px; 
    margin-left:auto; /* Right side push */
  }
  .mobile-menu-btn { 
    display:flex; 
    width:40px; 
    height:40px; 
    border:1px solid #2f4048; 
    border-radius:10px; 
    background:#101a20; 
    color:#dce3e8; 
    font-size:18px; 
    align-items:center; 
    justify-content:center; 
    cursor:pointer; 
  }
  .dapp-btn { display:none; }
  .language { display:none; }
  /* ... baaki existing rules same rakhein ... */
}
        * { margin:0; padding:0; box-sizing:border-box; }
        html { scroll-behavior:smooth; overflow-x:hidden; }
        body {
            font-family:"Inter",sans-serif;
            background:#0b0f17;
            color:#f0f2f5;
            overflow-x:hidden;
            width:100%;
            min-height:100vh;
        }

        /* ----- HEADER (fixed) ----- */
        .docs-header {
            height:72px;
            position:fixed;
            top:0; left:0; right:0;
            z-index:1000;
            display:flex;
            align-items:center;
            background:linear-gradient(90deg,#10161f 0%,#0f1a1a 55%,#111d1d 100%);
            border-bottom:1px solid rgba(255,255,255,0.05);
            width:100%;
            padding:0 20px;
        }
        .header-logo {
            display:flex;
            align-items:center;
            gap:10px;
            flex-shrink:0;
        }
        .logo-mark {
            width:32px; height:32px;
            background:#2dcd6b;
            clip-path:polygon(0 0,100% 0,80% 100%,0% 100%);
            transform:rotate(4deg);
            flex-shrink:0;
            display:block;
        }
        .logo-text {
            font-size:20px;
            font-weight:800;
            letter-spacing:-0.5px;
            white-space:nowrap;
            display:block;
        }
        .logo-text span { color:#2dcd6b; }
        .header-center {
            flex:1;
            display:flex;
            align-items:center;
            justify-content:center;
            padding:0 16px;
            min-width:0;
        }
        .search-box {
            width:100%;
            max-width:480px;
            height:44px;
            border:1px solid #2a3f36;
            border-radius:40px;
            display:flex;
            align-items:center;
            background:#141b1f;
            transition:0.2s;
            padding:0 16px;
        }
        .search-box:focus-within { border-color:#2dcd6b; }
        .search-box i { color:#7f8a8e; margin-right:10px; font-size:16px; }
        .search-box input {
            flex:1;
            height:100%;
            background:transparent;
            border:none;
            outline:none;
            color:#eef2f5;
            font-size:14px;
            min-width:0;
        }
        .search-box input::placeholder { color:#6e7a7f; }
        .header-right {
            display:flex;
            align-items:center;
            gap:16px;
            flex-shrink:0;
        }
        .dapp-btn {
            border:0;
            background:#2dcd6b;
            color:#0d1c14;
            font-weight:700;
            font-size:14px;
            padding:10px 20px;
            border-radius:40px;
            cursor:pointer;
            transition:0.2s;
            box-shadow:0 0 18px rgba(45,205,107,0.15);
            white-space:nowrap;
        }
        .dapp-btn:hover { background:#3de081; transform:translateY(-1px); }
        .language {
            display:flex;
            align-items:center;
            gap:6px;
            color:#bcc4c9;
            font-size:14px;
            font-weight:500;
            cursor:pointer;
            white-space:nowrap;
        }
        .mobile-menu-btn {
            display:none;
            width:42px; height:42px;
            border:1px solid #2f4048;
            border-radius:12px;
            background:#101a20;
            color:#dce3e8;
            font-size:20px;
            cursor:pointer;
            align-items:center;
            justify-content:center;
            flex-shrink:0;
        }

        /* ----- SIDEBAR (desktop) ----- */
        .sidebar-desktop {
            position:fixed;
            top:72px;
            left:0;
            width:280px;
            height:calc(100vh - 72px);
            background:#0f1a1f;
            border-right:1px solid #1e2d32;
            padding:24px 16px;
            overflow-y:auto;
            z-index:900;
            display:flex;
            flex-direction:column;
            transition:transform 0.25s ease;
        }
        .sidebar-desktop .sidebar-head {
            display:flex;
            align-items:center;
            gap:10px;
            padding-bottom:16px;
            border-bottom:1px solid #1e2d32;
            margin-bottom:18px;
        }
        .sidebar-desktop .sidebar-head i { color:#2dcd6b; font-size:20px; }
        .sidebar-desktop .sidebar-head h3 {
            font-size:18px;
            font-weight:700;
            color:#fff;
        }
        .sidebar-desktop .sidebar-head h3 span { color:#2dcd6b; }
        .sidebar-desktop .menu-item {
            display:flex;
            justify-content:space-between;
            align-items:center;
            padding:12px 14px;
            margin-bottom:2px;
            border-radius:10px;
            color:#d4dfe3;
            text-decoration:none;
            transition:0.2s;
            font-size:13px;
            font-weight:500;
            border:1px solid transparent;
            cursor:pointer;
        }
        .sidebar-desktop .menu-item:hover {
            background:rgba(45,205,107,0.08);
            border-color:#2dcd6b;
            color:#fff;
        }
        .sidebar-desktop .menu-item i {
            color:#2dcd6b;
            font-size:13px;
            transition:0.2s;
            flex-shrink:0;
        }
        .sidebar-desktop .menu-item:hover i { transform:translateX(4px); }
        .sidebar-desktop .menu-item .menu-text {
            display:flex;
            align-items:center;
            gap:10px;
        }
        .sidebar-desktop .footer-note {
            margin-top:auto;
            padding-top:16px;
            border-top:1px solid #1e2d32;
            font-size:11px;
            color:#5a7a84;
        }
        .sidebar-desktop::-webkit-scrollbar { width:4px; }
        .sidebar-desktop::-webkit-scrollbar-track { background:transparent; }
        .sidebar-desktop::-webkit-scrollbar-thumb { background:#2dcd6b; border-radius:4px; }

        /* ----- MAIN ----- */
        .main {
            margin-left:280px;
            padding-top:72px;
            min-height:100vh;
            background:radial-gradient(circle at 80% 10%, rgba(45,205,107,0.06), transparent 40%), #0b0f17;
            width:auto;
        }
        .content-wrapper {
            max-width:960px;
            width:100%;
            margin:0 auto;
            padding:40px 24px 100px;
        }
        .content-top {
            display:flex;
            align-items:center;
            justify-content:space-between;
            margin-bottom:24px;
            flex-wrap:wrap;
            gap:12px;
        }
        .breadcrumb {
            color:#2dcd6b;
            font-size:13px;
            font-weight:500;
            letter-spacing:0.3px;
        }
        .copy-btn {
            height:32px;
            padding:0 14px;
            border:1px solid #29363e;
            border-radius:30px;
            background:#131c22;
            color:#dce3e8;
            display:flex;
            align-items:center;
            gap:8px;
            cursor:pointer;
            font-size:13px;
            font-weight:500;
            flex-shrink:0;
        }
        .copy-btn:hover { background:#1c2a32; border-color:#2dcd6b; }
        h1 {
            font-size:38px;
            line-height:1.12;
            letter-spacing:-1.5px;
            font-weight:800;
            margin-bottom:20px;
            word-break:break-word;
        }
        h1 .highlight { color:#2dcd6b; }
        h2 {
            font-size:22px;
            font-weight:700;
            margin:44px 0 18px;
            line-height:1.3;
            letter-spacing:-0.3px;
        }
        p {
            color:#d3dbdf;
            font-size:16px;
            line-height:1.8;
            margin-bottom:20px;
        }
        .definition-box {
            background:#132028;
            border-left:4px solid #2dcd6b;
            border-radius:8px;
            padding:18px 20px;
            margin:24px 0 30px;
            display:flex;
            gap:16px;
            width:100%;
        }
        .definition-icon {
            width:28px; height:28px;
            flex-shrink:0;
            background:#2dcd6b;
            border-radius:50%;
            display:flex;
            align-items:center;
            justify-content:center;
            color:#0b1a12;
            font-weight:800;
            font-size:14px;
        }
        .definition-content { flex:1; min-width:0; }
        .definition-title {
            font-weight:700;
            font-size:15px;
            margin-bottom:6px;
            color:#e7edf1;
        }
        .definition-text {
            font-size:14px;
            line-height:1.7;
            color:#c5d1d7;
            margin:0;
            word-break:break-word;
        }
        .table-wrapper {
            overflow-x:auto;
            margin:20px 0 30px;
            border-radius:12px;
            border:1px solid #1e2d32;
            -webkit-overflow-scrolling:touch;
            width:100%;
        }
        .backing-table {
            width:100%;
            border-collapse:collapse;
            font-size:14px;
            min-width:600px;
        }
        .backing-table th {
            text-align:left;
            padding:14px 16px;
            background:#101b21;
            color:#b6c9d0;
            font-weight:700;
            border-bottom:1px solid #293e45;
            letter-spacing:0.3px;
        }
        .backing-table td {
            padding:14px 16px;
            border-bottom:1px solid #1f3038;
            color:#d4dfe3;
            vertical-align:top;
        }
        .backing-table tr:last-child td { border-bottom:0; }
        .stat-highlight { color:#2dcd6b; font-weight:700; }
        .pill {
            display:inline-block;
            background:#1a2e2e;
            padding:2px 14px;
            border-radius:40px;
            font-size:12px;
            font-weight:600;
            color:#2dcd6b;
            margin-right:6px;
        }
        .doc-footer {
            margin-top:50px;
            padding-top:28px;
            border-top:1px solid #1d2d33;
            display:flex;
            justify-content:space-between;
            font-size:13px;
            color:#7b939d;
            flex-wrap:wrap;
            gap:8px;
        }
        .doc-footer span { color:#2dcd6b; }
        .mono-box {
            background:#101b21;
            border:1px solid #1e2d32;
            border-radius:14px;
            padding:18px 16px;
            margin:12px 0 24px;
            font-size:14px;
            line-height:1.7;
            color:#c5d1d7;
            white-space:pre-wrap;
            font-family:monospace;
            letter-spacing:0.2px;
            overflow-x:auto;
            width:100%;
            word-break:break-word;
        }

        /* Mobile drawer */
        .docs-overlay { display:none; }
        .docs-sidebar-mobile { display:none; }

        /* ===== RESPONSIVE ===== */
        @media (max-width:1024px) {
            .sidebar-desktop { display:none; }
            .main { margin-left:0; }
            .header-logo { gap:6px; }
            .logo-text { font-size:17px; }
            .content-wrapper { padding:30px 20px 80px; }
            .dapp-btn { font-size:13px; padding:8px 16px; }

            .docs-overlay {
                display:none;
                position:fixed;
                inset:0;
                background:rgba(0,0,0,0.6);
                z-index:999;
                backdrop-filter:blur(4px);
                -webkit-backdrop-filter:blur(4px);
            }
            .docs-overlay.active { display:block; }
            .docs-sidebar-mobile {
                display:flex;
                position:fixed;
                top:0;
                right:-420px;
                width:400px;
                max-width:90vw;
                height:100%;
                background:#0f1a1f;
                border-left:1px solid #1e2d32;
                z-index:1000;
                transition:right 0.3s cubic-bezier(0.4,0,0.2,1);
                padding:20px 16px;
                overflow-y:auto;
                flex-direction:column;
            }
            .docs-sidebar-mobile.active { right:0; }
            .docs-sidebar-mobile .sidebar-head {
                display:flex;
                justify-content:space-between;
                align-items:center;
                padding-bottom:14px;
                border-bottom:1px solid #1e2d32;
                margin-bottom:16px;
            }
            .docs-sidebar-mobile .sidebar-head h3 {
                font-size:17px;
                font-weight:700;
                color:#fff;
            }
            .docs-sidebar-mobile .sidebar-head h3 span { color:#2dcd6b; }
            .docs-sidebar-mobile .close-btn {
                background:transparent;
                border:none;
                color:#8aa4ae;
                font-size:22px;
                cursor:pointer;
                padding:4px 8px;
            }
            .docs-sidebar-mobile .close-btn:hover { color:#fff; }
            .docs-sidebar-mobile .menu-item {
                display:flex;
                justify-content:space-between;
                align-items:center;
                padding:12px 14px;
                margin-bottom:2px;
                border-radius:10px;
                color:#d4dfe3;
                text-decoration:none;
                transition:0.2s;
                font-size:13px;
                font-weight:500;
                border:1px solid transparent;
                cursor:pointer;
            }
            .docs-sidebar-mobile .menu-item:hover {
                background:rgba(45,205,107,0.08);
                border-color:#2dcd6b;
                color:#fff;
            }
            .docs-sidebar-mobile .menu-item i {
                color:#2dcd6b;
                font-size:13px;
                transition:0.2s;
                flex-shrink:0;
            }
            .docs-sidebar-mobile .menu-item:hover i { transform:translateX(4px); }
            .docs-sidebar-mobile .menu-item .menu-text {
                display:flex;
                align-items:center;
                gap:10px;
            }
            .docs-sidebar-mobile .footer-note {
                margin-top:auto;
                padding-top:16px;
                border-top:1px solid #1e2d32;
                font-size:11px;
                color:#5a7a84;
            }
            .docs-sidebar-mobile::-webkit-scrollbar { width:4px; }
            .docs-sidebar-mobile::-webkit-scrollbar-track { background:transparent; }
            .docs-sidebar-mobile::-webkit-scrollbar-thumb { background:#2dcd6b; border-radius:4px; }
            .mobile-menu-btn { display:flex; }
        }

        @media (max-width:768px) {
            .docs-header { height:64px; padding:0 12px; }
            .header-logo { gap:6px; }
            .logo-mark { width:24px; height:24px; }
            .logo-text { display:block; font-size:15px; font-weight:700; }
            .header-center { padding:0 6px; }
            .search-box { max-width:100%; height:38px; border-radius:30px; padding:0 12px; }
            .search-box i { font-size:14px; margin-right:6px; }
            .search-box input { font-size:13px; }
            .header-right { gap:8px; }
            .dapp-btn { display:none; }
            .language { display:none; }
            .main { padding-top:64px; }
            .content-wrapper { padding:20px 14px 60px; }
            h1 { font-size:30px; }
            h2 { font-size:19px; margin:32px 0 14px; }
            p { font-size:15px; }
            .backing-table { min-width:480px; font-size:13px; }
            .backing-table th, .backing-table td { padding:10px 12px; }
            .doc-footer { flex-direction:column; gap:4px; text-align:center; }
            .definition-box { flex-direction:column; gap:8px; }
            .definition-icon { align-self:flex-start; }
            .mono-box { font-size:12px; padding:14px 12px; }
            .content-top { flex-direction:row; }
            .breadcrumb { font-size:11px; }
            .copy-btn { font-size:12px; padding:0 12px; height:30px; }
            .docs-sidebar-mobile { width:340px; }
        }

        @media (max-width:480px) {
            .content-wrapper { padding:16px 12px 50px; }
            h1 { font-size:24px; letter-spacing:-1px; }
            h2 { font-size:17px; }
            p { font-size:14px; }
            .backing-table { min-width:360px; font-size:12px; }
            .backing-table th, .backing-table td { padding:8px 10px; }
            .search-box input { font-size:12px; }
            .definition-box { padding:14px 16px; }
            .definition-text { font-size:13px; }
            .mono-box { font-size:11px; padding:12px 10px; }
            .docs-sidebar-mobile { width:300px; }
            .logo-text { font-size:13px; }
            .logo-mark { width:20px; height:20px; }
        }@media (max-width:768px) {
  .docs-header {
    height:64px;
    padding:0 14px;
    display:flex;
    align-items:center;
    justify-content:space-between; /* Logo left, toggle right */
    background:linear-gradient(90deg,#10161f 0%,#0f1a1a 55%,#111d1d 100%);
    border-bottom:1px solid rgba(255,255,255,0.05);
  }
  .header-logo {
    display:flex;
    align-items:center;
    gap:8px;
    flex-shrink:0;
  }
  .logo-text {
    display:block;
    font-size:16px;
    font-weight:800;
    letter-spacing:-0.3px;
    white-space:nowrap;
  }
  .logo-text span { color:#2dcd6b; }
  .header-center { display:none; } /* Search box hide */
  .header-right {
    display:flex;
    align-items:center;
    gap:8px;
    margin-left:auto; /* Push to right */
  }
  .mobile-menu-btn {
    display:flex;
    width:42px;
    height:42px;
    border:1px solid #2f4048;
    border-radius:12px;
    background:#101a20;
    color:#dce3e8;
    font-size:20px;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    flex-shrink:0;
  }
  .dapp-btn { display:none; }
  .language { display:none; }
  .main { padding-top:64px; }
  /* ... baaki existing rules same rakhein ... */
}
* { margin:0; padding:0; box-sizing:border-box; }
        html { scroll-behavior:smooth; overflow-x:hidden; }
        body {
            font-family:"Inter",sans-serif;
            background:#0b0f17;
            color:#f0f2f5;
            overflow-x:hidden;
            width:100%;
            min-height:100vh;
        }

        /* ----- HEADER (fixed) ----- */
        .docs-header {
            height:72px;
            position:fixed;
            top:0; left:0; right:0;
            z-index:1000;
            display:flex;
            align-items:center;
            background:linear-gradient(90deg,#10161f 0%,#0f1a1a 55%,#111d1d 100%);
            border-bottom:1px solid rgba(255,255,255,0.05);
            width:100%;
            padding:0 20px;
        }
        .header-logo {
            display:flex;
            align-items:center;
            gap:10px;
            flex-shrink:0;
        }
        .logo-mark {
            width:32px; height:32px;
            background:#2dcd6b;
            clip-path:polygon(0 0,100% 0,80% 100%,0% 100%);
            transform:rotate(4deg);
            flex-shrink:0;
            display:block;
        }
        .logo-text {
            font-size:20px;
            font-weight:800;
            letter-spacing:-0.5px;
            white-space:nowrap;
            display:block;
        }
        .logo-text span { color:#2dcd6b; }
        .header-center {
            flex:1;
            display:flex;
            align-items:center;
            justify-content:center;
            padding:0 16px;
            min-width:0;
        }
        .search-box {
            width:100%;
            max-width:480px;
            height:44px;
            border:1px solid #2a3f36;
            border-radius:40px;
            display:flex;
            align-items:center;
            background:#141b1f;
            transition:0.2s;
            padding:0 16px;
        }
        .search-box:focus-within { border-color:#2dcd6b; }
        .search-box i { color:#7f8a8e; margin-right:10px; font-size:16px; }
        .search-box input {
            flex:1;
            height:100%;
            background:transparent;
            border:none;
            outline:none;
            color:#eef2f5;
            font-size:14px;
            min-width:0;
        }
        .search-box input::placeholder { color:#6e7a7f; }
        .header-right {
            display:flex;
            align-items:center;
            gap:16px;
            flex-shrink:0;
        }
        .dapp-btn {
            border:0;
            background:#2dcd6b;
            color:#0d1c14;
            font-weight:700;
            font-size:14px;
            padding:10px 20px;
            border-radius:40px;
            cursor:pointer;
            transition:0.2s;
            box-shadow:0 0 18px rgba(45,205,107,0.15);
            white-space:nowrap;
        }
        .dapp-btn:hover { background:#3de081; transform:translateY(-1px); }
        .language {
            display:flex;
            align-items:center;
            gap:6px;
            color:#bcc4c9;
            font-size:14px;
            font-weight:500;
            cursor:pointer;
            white-space:nowrap;
        }
        .mobile-menu-btn {
            display:none;
            width:42px; height:42px;
            border:1px solid #2f4048;
            border-radius:12px;
            background:#101a20;
            color:#dce3e8;
            font-size:20px;
            cursor:pointer;
            align-items:center;
            justify-content:center;
            flex-shrink:0;
        }

        /* ----- SIDEBAR (desktop) ----- */
        .sidebar-desktop {
            position:fixed;
            top:72px;
            left:0;
            width:280px;
            height:calc(100vh - 72px);
            background:#0f1a1f;
            border-right:1px solid #1e2d32;
            padding:24px 16px;
            overflow-y:auto;
            z-index:900;
            display:flex;
            flex-direction:column;
            transition:transform 0.25s ease;
        }
        .sidebar-desktop .sidebar-head {
            display:flex;
            align-items:center;
            gap:10px;
            padding-bottom:16px;
            border-bottom:1px solid #1e2d32;
            margin-bottom:18px;
        }
        .sidebar-desktop .sidebar-head i { color:#2dcd6b; font-size:20px; }
        .sidebar-desktop .sidebar-head h3 {
            font-size:18px;
            font-weight:700;
            color:#fff;
        }
        .sidebar-desktop .sidebar-head h3 span { color:#2dcd6b; }
        .sidebar-desktop .menu-item {
            display:flex;
            justify-content:space-between;
            align-items:center;
            padding:12px 14px;
            margin-bottom:2px;
            border-radius:10px;
            color:#d4dfe3;
            text-decoration:none;
            transition:0.2s;
            font-size:13px;
            font-weight:500;
            border:1px solid transparent;
            cursor:pointer;
        }
        .sidebar-desktop .menu-item:hover {
            background:rgba(45,205,107,0.08);
            border-color:#2dcd6b;
            color:#fff;
        }
        .sidebar-desktop .menu-item i {
            color:#2dcd6b;
            font-size:13px;
            transition:0.2s;
            flex-shrink:0;
        }
        .sidebar-desktop .menu-item:hover i { transform:translateX(4px); }
        .sidebar-desktop .menu-item .menu-text {
            display:flex;
            align-items:center;
            gap:10px;
        }
        .sidebar-desktop .footer-note {
            margin-top:auto;
            padding-top:16px;
            border-top:1px solid #1e2d32;
            font-size:11px;
            color:#5a7a84;
        }
        .sidebar-desktop::-webkit-scrollbar { width:4px; }
        .sidebar-desktop::-webkit-scrollbar-track { background:transparent; }
        .sidebar-desktop::-webkit-scrollbar-thumb { background:#2dcd6b; border-radius:4px; }

        /* ----- MAIN ----- */
        .main {
            margin-left:280px;
            padding-top:72px;
            min-height:100vh;
            background:radial-gradient(circle at 80% 10%, rgba(45,205,107,0.06), transparent 40%), #0b0f17;
            width:auto;
        }
        .content-wrapper {
            max-width:960px;
            width:100%;
            margin:0 auto;
            padding:40px 24px 100px;
        }
        .content-top {
            display:flex;
            align-items:center;
            justify-content:space-between;
            margin-bottom:24px;
            flex-wrap:wrap;
            gap:12px;
        }
        .breadcrumb {
            color:#2dcd6b;
            font-size:13px;
            font-weight:500;
            letter-spacing:0.3px;
        }
        .copy-btn {
            height:32px;
            padding:0 14px;
            border:1px solid #29363e;
            border-radius:30px;
            background:#131c22;
            color:#dce3e8;
            display:flex;
            align-items:center;
            gap:8px;
            cursor:pointer;
            font-size:13px;
            font-weight:500;
            flex-shrink:0;
        }
        .copy-btn:hover { background:#1c2a32; border-color:#2dcd6b; }
        h1 {
            font-size:38px;
            line-height:1.12;
            letter-spacing:-1.5px;
            font-weight:800;
            margin-bottom:20px;
            word-break:break-word;
        }
        h1 .highlight { color:#2dcd6b; }
        h2 {
            font-size:22px;
            font-weight:700;
            margin:44px 0 18px;
            line-height:1.3;
            letter-spacing:-0.3px;
        }
        h3 {
            font-size:18px;
            font-weight:600;
            margin:28px 0 12px;
            color:#d3e4eb;
        }
        p {
            color:#d3dbdf;
            font-size:16px;
            line-height:1.8;
            margin-bottom:20px;
        }
        .definition-box {
            background:#132028;
            border-left:4px solid #2dcd6b;
            border-radius:8px;
            padding:18px 20px;
            margin:24px 0 30px;
            display:flex;
            gap:16px;
            width:100%;
        }
        .definition-icon {
            width:28px; height:28px;
            flex-shrink:0;
            background:#2dcd6b;
            border-radius:50%;
            display:flex;
            align-items:center;
            justify-content:center;
            color:#0b1a12;
            font-weight:800;
            font-size:14px;
        }
        .definition-content { flex:1; min-width:0; }
        .definition-title {
            font-weight:700;
            font-size:15px;
            margin-bottom:6px;
            color:#e7edf1;
        }
        .definition-text {
            font-size:14px;
            line-height:1.7;
            color:#c5d1d7;
            margin:0;
            word-break:break-word;
        }
        .table-wrapper {
            overflow-x:auto;
            margin:20px 0 30px;
            border-radius:12px;
            border:1px solid #1e2d32;
            -webkit-overflow-scrolling:touch;
            width:100%;
        }
        .backing-table {
            width:100%;
            border-collapse:collapse;
            font-size:14px;
            min-width:600px;
        }
        .backing-table th {
            text-align:left;
            padding:14px 16px;
            background:#101b21;
            color:#b6c9d0;
            font-weight:700;
            border-bottom:1px solid #293e45;
            letter-spacing:0.3px;
        }
        .backing-table td {
            padding:14px 16px;
            border-bottom:1px solid #1f3038;
            color:#d4dfe3;
            vertical-align:top;
        }
        .backing-table tr:last-child td { border-bottom:0; }
        .stat-highlight { color:#2dcd6b; font-weight:700; }
        .pill {
            display:inline-block;
            background:#1a2e2e;
            padding:2px 14px;
            border-radius:40px;
            font-size:12px;
            font-weight:600;
            color:#2dcd6b;
            margin-right:6px;
        }
        .doc-footer {
            margin-top:50px;
            padding-top:28px;
            border-top:1px solid #1d2d33;
            display:flex;
            justify-content:space-between;
            font-size:13px;
            color:#7b939d;
            flex-wrap:wrap;
            gap:8px;
        }
        .doc-footer span { color:#2dcd6b; }
        .mono-box {
            background:#101b21;
            border:1px solid #1e2d32;
            border-radius:14px;
            padding:18px 16px;
            margin:12px 0 24px;
            font-size:14px;
            line-height:1.7;
            color:#c5d1d7;
            white-space:pre-wrap;
            font-family:monospace;
            letter-spacing:0.2px;
            overflow-x:auto;
            width:100%;
            word-break:break-word;
        }
        .toc-grid {
            display:grid;
            grid-template-columns:1fr 1fr;
            gap:6px 30px;
            background:#111d22;
            padding:16px 20px;
            border-radius:12px;
            border:1px solid #1e2d32;
            font-size:14px;
            color:#c5d1d7;
            width:100%;
        }
        .toc-grid a {
            color:#2dcd6b;
            text-decoration:none;
            transition:0.2s;
        }
        .toc-grid a:hover {
            color:#3de081;
            text-decoration:underline;
        }

        /* Mobile drawer */
        .docs-overlay { display:none; }
        .docs-sidebar-mobile { display:none; }

        /* ===== RESPONSIVE ===== */
        @media (max-width:1024px) {
            .sidebar-desktop { display:none; }
            .main { margin-left:0; }
            .header-logo { gap:6px; }
            .logo-text { font-size:17px; }
            .content-wrapper { padding:30px 20px 80px; }
            .dapp-btn { font-size:13px; padding:8px 16px; }

            .docs-overlay {
                display:none;
                position:fixed;
                inset:0;
                background:rgba(0,0,0,0.6);
                z-index:999;
                backdrop-filter:blur(4px);
                -webkit-backdrop-filter:blur(4px);
            }
            .docs-overlay.active { display:block; }
            .docs-sidebar-mobile {
                display:flex;
                position:fixed;
                top:0;
                right:-420px;
                width:400px;
                max-width:90vw;
                height:100%;
                background:#0f1a1f;
                border-left:1px solid #1e2d32;
                z-index:1000;
                transition:right 0.3s cubic-bezier(0.4,0,0.2,1);
                padding:20px 16px;
                overflow-y:auto;
                flex-direction:column;
            }
            .docs-sidebar-mobile.active { right:0; }
            .docs-sidebar-mobile .sidebar-head {
                display:flex;
                justify-content:space-between;
                align-items:center;
                padding-bottom:14px;
                border-bottom:1px solid #1e2d32;
                margin-bottom:16px;
            }
            .docs-sidebar-mobile .sidebar-head h3 {
                font-size:17px;
                font-weight:700;
                color:#fff;
            }
            .docs-sidebar-mobile .sidebar-head h3 span { color:#2dcd6b; }
            .docs-sidebar-mobile .close-btn {
                background:transparent;
                border:none;
                color:#8aa4ae;
                font-size:22px;
                cursor:pointer;
                padding:4px 8px;
            }
            .docs-sidebar-mobile .close-btn:hover { color:#fff; }
            .docs-sidebar-mobile .menu-item {
                display:flex;
                justify-content:space-between;
                align-items:center;
                padding:12px 14px;
                margin-bottom:2px;
                border-radius:10px;
                color:#d4dfe3;
                text-decoration:none;
                transition:0.2s;
                font-size:13px;
                font-weight:500;
                border:1px solid transparent;
                cursor:pointer;
            }
            .docs-sidebar-mobile .menu-item:hover {
                background:rgba(45,205,107,0.08);
                border-color:#2dcd6b;
                color:#fff;
            }
            .docs-sidebar-mobile .menu-item i {
                color:#2dcd6b;
                font-size:13px;
                transition:0.2s;
                flex-shrink:0;
            }
            .docs-sidebar-mobile .menu-item:hover i { transform:translateX(4px); }
            .docs-sidebar-mobile .menu-item .menu-text {
                display:flex;
                align-items:center;
                gap:10px;
            }
            .docs-sidebar-mobile .footer-note {
                margin-top:auto;
                padding-top:16px;
                border-top:1px solid #1e2d32;
                font-size:11px;
                color:#5a7a84;
            }
            .docs-sidebar-mobile::-webkit-scrollbar { width:4px; }
            .docs-sidebar-mobile::-webkit-scrollbar-track { background:transparent; }
            .docs-sidebar-mobile::-webkit-scrollbar-thumb { background:#2dcd6b; border-radius:4px; }
            .mobile-menu-btn { display:flex; }
        }

        @media (max-width:768px) {
            .docs-header { height:64px; padding:0 12px; }
            .header-logo { gap:6px; }
            .logo-mark { width:24px; height:24px; }
            .logo-text { display:block; font-size:15px; font-weight:700; }
            .header-center { padding:0 6px; }
            .search-box { max-width:100%; height:38px; border-radius:30px; padding:0 12px; }
            .search-box i { font-size:14px; margin-right:6px; }
            .search-box input { font-size:13px; }
            .header-right { gap:8px; }
            .dapp-btn { display:none; }
            .language { display:none; }
            .main { padding-top:64px; }
            .content-wrapper { padding:20px 14px 60px; }
            h1 { font-size:30px; }
            h2 { font-size:19px; margin:32px 0 14px; }
            h3 { font-size:16px; }
            p { font-size:15px; }
            .backing-table { min-width:480px; font-size:13px; }
            .backing-table th, .backing-table td { padding:10px 12px; }
            .doc-footer { flex-direction:column; gap:4px; text-align:center; }
            .definition-box { flex-direction:column; gap:8px; }
            .definition-icon { align-self:flex-start; }
            .mono-box { font-size:12px; padding:14px 12px; }
            .content-top { flex-direction:row; }
            .breadcrumb { font-size:11px; }
            .copy-btn { font-size:12px; padding:0 12px; height:30px; }
            .docs-sidebar-mobile { width:340px; }
            .toc-grid { grid-template-columns:1fr; gap:4px; font-size:13px; padding:14px 16px; }
        }

        @media (max-width:480px) {
            .content-wrapper { padding:16px 12px 50px; }
            h1 { font-size:24px; letter-spacing:-1px; }
            h2 { font-size:17px; }
            h3 { font-size:15px; }
            p { font-size:14px; }
            .backing-table { min-width:360px; font-size:12px; }
            .backing-table th, .backing-table td { padding:8px 10px; }
            .search-box input { font-size:12px; }
            .definition-box { padding:14px 16px; }
            .definition-text { font-size:13px; }
            .mono-box { font-size:11px; padding:12px 10px; }
            .docs-sidebar-mobile { width:300px; }
            .logo-text { font-size:13px; }
            .logo-mark { width:20px; height:20px; }
            .toc-grid { font-size:12px; padding:12px 14px; }
        }@media (max-width:768px) {
  .docs-header { 
    height:64px; 
    padding:0 12px; 
    display:flex; 
    justify-content:space-between; /* Logo left, toggle right */
  }
  .header-logo { 
    display:flex; 
    align-items:center; 
    gap:8px; 
    flex-shrink:0; 
  }
  .logo-mark { 
    width:24px; 
    height:24px; 
    display:block; 
  }
  .logo-text { 
    display:block; 
    font-size:15px; 
    font-weight:700; 
    white-space:nowrap;
  }
  .header-center { 
    display:none; /* Search box hide karo mobile par */
  }
  .header-right { 
    display:flex; 
    align-items:center; 
    gap:8px; 
    margin-left:auto; /* Right side push */
  }
  .mobile-menu-btn { 
    display:flex; 
    width:40px; 
    height:40px; 
    border:1px solid #2f4048; 
    border-radius:10px; 
    background:#101a20; 
    color:#dce3e8; 
    font-size:18px; 
    align-items:center; 
    justify-content:center; 
    cursor:pointer; 
  }
  .dapp-btn { display:none; }
  .language { display:none; }
  /* ... baaki existing rules same rakhein ... */
}