:root{
      --theme:#0B3D91;
      --ink:#101827;
      --muted:#667085;
      --line:#e6eaf0;
      --soft:#f5f7fb;
      --white:#fff;
      --shadow:0 16px 45px rgba(16,24,39,.08);
      --radius:18px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:#fff;
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","微软雅黑",Arial,sans-serif;
      line-height:1.65;
    }
    a{color:inherit;text-decoration:none}
    img{max-width:100%;display:block}
    button{font:inherit}
    .container{width:min(1180px,calc(100% - 40px));margin:0 auto}

    .topbar{
      background:#0d1422;
      color:#d9e0eb;
      font-size:13px;
      border-bottom:1px solid rgba(255,255,255,.1);
    }
    .topbar .container{
      min-height:36px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar-links{display:flex;gap:22px}
    .topbar a{color:#d9e0eb;transition:color .2s}
    .topbar a:hover{color:#fff}

    .header{
      position:relative;
      z-index:20;
      background:#fff;
      border-bottom:1px solid var(--line);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:28px;
    }
    .logo{
      display:inline-flex;
      align-items:center;
      gap:10px;
      flex:0 0 auto;
      font-size:18px;
      font-weight:800;
      letter-spacing:.02em;
      color:var(--ink);
    }
    .logo img{
      width:34px;
      height:34px;
      border-radius:9px;
      object-fit:contain;
    }
    .main-nav{margin-left:auto}
    .nav-list{
      list-style:none;
      margin:0;
      padding:0;
      display:flex;
      align-items:center;
      gap:4px;
    }
    .nav-item{position:relative}
    .nav-link{
      display:flex;
      align-items:center;
      min-height:48px;
      padding:0 13px;
      color:#344054;
      font-size:14px;
      font-weight:600;
      white-space:nowrap;
      border-radius:10px;
      transition:background .2s,color .2s;
    }
    .nav-link:hover,.nav-item:focus-within>.nav-link{
      color:var(--theme);
      background:#eef4ff;
    }
    .has-arrow:after{
      content:"";
      width:6px;
      height:6px;
      margin-left:8px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg) translateY(-2px);
    }
    .dropdown-panel,.mega-menu{
      position:absolute;
      top:calc(100% + 1px);
      left:50%;
      transform:translateX(-50%) translateY(8px);
      width:280px;
      padding:20px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 16px 16px;
      box-shadow:0 18px 45px rgba(16,24,39,.14);
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      transition:opacity .2s,transform .2s,visibility .2s;
    }
    .mega-menu{width:610px}
    .nav-item:hover>.dropdown-panel,
    .nav-item:focus-within>.dropdown-panel,
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      opacity:1;
      visibility:visible;
      pointer-events:auto;
      transform:translateX(-50%) translateY(0);
    }
    .dropdown-panel:before,.mega-menu:before{
      content:"";
      position:absolute;
      left:0;
      right:0;
      top:-10px;
      height:10px;
    }
    .mega-title{
      margin:0 0 13px;
      color:var(--theme);
      font-size:12px;
      font-weight:800;
      letter-spacing:.12em;
      text-transform:uppercase;
    }
    .dropdown-panel>a:not(.mega-footer){
      display:block;
      padding:9px 0;
      border-bottom:1px solid #eef1f5;
      color:#344054;
      font-size:14px;
    }
    .dropdown-panel>a:not(.mega-footer):hover{color:var(--theme)}
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
    }
    .mega-card{
      min-width:0;
      padding:12px;
      border:1px solid #edf0f5;
      border-radius:12px;
      background:#fbfcfe;
      transition:border-color .2s,transform .2s,background .2s;
    }
    .mega-card:hover{
      border-color:#b7c9eb;
      background:#f4f8ff;
      transform:translateY(-2px);
    }
    .mega-card img{
      width:28px;
      height:28px;
      object-fit:contain;
      margin-bottom:7px;
    }
    .mega-card strong{
      display:block;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
      font-size:13px;
    }
    .mega-card small{
      display:block;
      margin-top:3px;
      color:var(--muted);
      font-size:11px;
      line-height:1.45;
    }
    .mega-footer{
      display:block;
      margin-top:16px;
      padding-top:13px;
      border-top:1px solid var(--line);
      color:var(--theme);
      font-size:13px;
      font-weight:700;
    }
    .header-btns{
      display:flex;
      align-items:center;
      gap:10px;
      flex:0 0 auto;
    }
    .member-btn{
      color:var(--theme);
      font-size:13px;
      font-weight:700;
      white-space:nowrap;
    }
    .open-account{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:38px;
      padding:0 17px;
      border-radius:9px;
      color:#fff;
      background:var(--theme);
      font-size:13px;
      font-weight:700;
      transition:background .2s,transform .2s;
    }
    .open-account:hover{background:#082d6d;transform:translateY(-1px)}
    .hamburger{
      display:none;
      width:42px;
      height:42px;
      padding:10px;
      border:1px solid var(--line);
      border-radius:9px;
      background:#fff;
      cursor:pointer;
    }
    .hamburger span{
      display:block;
      width:20px;
      height:2px;
      margin:4px auto;
      background:var(--ink);
      transition:transform .2s,opacity .2s;
    }
    .hamburger.active span:nth-child(1){transform:translateY(6px) rotate(45deg)}
    .hamburger.active span:nth-child(2){opacity:0}
    .hamburger.active span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

    .drawer-overlay{
      position:fixed;
      inset:0;
      z-index:40;
      background:rgba(4,10,22,.52);
      opacity:0;
      visibility:hidden;
      transition:opacity .25s,visibility .25s;
    }
    .drawer-overlay.open{opacity:1;visibility:visible}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      z-index:50;
      width:min(390px,88vw);
      overflow-y:auto;
      background:#fff;
      transform:translateX(100%);
      transition:transform .28s ease;
      box-shadow:-12px 0 35px rgba(0,0,0,.15);
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      display:flex;
      align-items:center;
      gap:15px;
      min-height:76px;
      padding:0 22px;
      color:var(--theme);
      font-weight:800;
      border-bottom:1px solid var(--line);
    }
    .drawer-head>a{
      margin-left:auto;
      padding:7px 12px;
      color:#fff;
      background:var(--theme);
      border-radius:7px;
      font-size:13px;
    }
    .drawer-close{
      width:34px;
      height:34px;
      border:0;
      background:transparent;
      color:#667085;
      font-size:27px;
      line-height:1;
      cursor:pointer;
    }
    .drawer-menu{padding:14px 22px 30px}
    .drawer-link,.drawer-toggle{
      display:block;
      width:100%;
      padding:14px 0;
      border:0;
      border-bottom:1px solid #edf0f4;
      background:transparent;
      color:#273244;
      text-align:left;
      font-size:15px;
      font-weight:650;
      cursor:pointer;
    }
    .drawer-toggle:after{
      content:"+";
      float:right;
      color:#98a2b3;
      font-size:20px;
      font-weight:400;
    }
    .drawer-toggle.active{color:var(--theme)}
    .drawer-toggle.active:after{content:"−"}
    .drawer-submenu{
      display:none;
      padding:5px 0 9px 14px;
      border-bottom:1px solid #edf0f4;
    }
    .drawer-submenu.open{display:block}
    .drawer-submenu a{
      display:block;
      padding:8px 0;
      color:#667085;
      font-size:13px;
    }
    .drawer-submenu a:hover{color:var(--theme)}

    .brokerlist-page{
      min-height:600px;
      background:
        linear-gradient(180deg,#f7f9fd 0,#fff 420px);
    }
    .page-hero{
      padding:72px 0 52px;
      border-bottom:1px solid #edf0f5;
    }
    .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      color:var(--theme);
      font-size:12px;
      font-weight:800;
      letter-spacing:.16em;
      text-transform:uppercase;
    }
    .eyebrow:before{
      content:"";
      width:26px;
      height:2px;
      background:var(--theme);
    }
    .page-hero h1{
      max-width:760px;
      margin:16px 0 12px;
      color:#0b1424;
      font-size:clamp(34px,5vw,62px);
      line-height:1.08;
      letter-spacing:-.045em;
    }
    .page-hero p{
      max-width:690px;
      margin:0;
      color:var(--muted);
      font-size:16px;
    }
    .brokerlist-toolbar{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      margin:30px 0 20px;
      padding:16px 18px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:14px;
      box-shadow:0 8px 25px rgba(16,24,39,.04);
    }
    .filter-label{
      color:#344054;
      font-size:14px;
      font-weight:700;
    }
    .filter-list{display:flex;flex-wrap:wrap;gap:8px}
    .filter-list button{
      padding:8px 13px;
      border:1px solid #dfe5ee;
      border-radius:999px;
      background:#fff;
      color:#667085;
      cursor:pointer;
      font-size:13px;
    }
    .filter-list button.active,.filter-list button:hover{
      border-color:var(--theme);
      background:#eef4ff;
      color:var(--theme);
    }
    .broker-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:18px;
    }
    .broker-card{
      position:relative;
      display:flex;
      flex-direction:column;
      padding:24px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:0 5px 20px rgba(16,24,39,.035);
      transition:transform .25s,box-shadow .25s,border-color .25s;
    }
    .broker-card:hover{
      transform:translateY(-4px);
      border-color:#b7c9eb;
      box-shadow:var(--shadow);
    }
    .broker-card-top{
      display:flex;
      align-items:flex-start;
      gap:15px;
    }
    .broker-logo{
      width:58px;
      height:58px;
      flex:0 0 58px;
      display:flex;
      align-items:center;
      justify-content:center;
      padding:9px;
      border:1px solid #e7ebf2;
      border-radius:14px;
      background:#fafbfd;
    }
    .broker-logo img{
      width:100%;
      height:100%;
      object-fit:contain;
    }
    .broker-heading{min-width:0;flex:1}
    .broker-heading h2{
      margin:3px 0 4px;
      font-size:20px;
      line-height:1.25;
    }
    .broker-heading p{
      margin:0;
      color:var(--muted);
      font-size:13px;
      display:-webkit-box;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
      overflow:hidden;
    }
    .rating{
      flex:0 0 auto;
      padding:5px 9px;
      border-radius:8px;
      background:#fff5d9;
      color:#986900;
      font-size:13px;
      font-weight:800;
    }
    .broker-summary{
      margin:21px 0 18px;
      padding:15px 0;
      border-top:1px solid #edf0f4;
      border-bottom:1px solid #edf0f4;
    }
    .broker-summary p{
      margin:0;
      color:#596579;
      font-size:14px;
      line-height:1.7;
    }
    .broker-meta{
      display:grid;
      grid-template-columns:repeat(4,1fr);
      gap:9px;
      margin-bottom:22px;
    }
    .meta-item{
      min-width:0;
      padding:10px 8px;
      border-radius:10px;
      background:#f7f9fc;
    }
    .meta-item span{
      display:block;
      color:#98a2b3;
      font-size:11px;
      white-space:nowrap;
    }
    .meta-item strong{
      display:block;
      margin-top:2px;
      overflow:hidden;
      color:#273244;
      font-size:13px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .broker-actions{
      display:flex;
      align-items:center;
      gap:10px;
      margin-top:auto;
    }
    .detail-link,.affiliate-link{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:0 15px;
      border-radius:9px;
      font-size:13px;
      font-weight:750;
    }
    .detail-link{
      border:1px solid #dce3ee;
      color:#344054;
      background:#fff;
    }
    .detail-link:hover{border-color:var(--theme);color:var(--theme)}
    .affiliate-link{
      color:#fff;
      background:var(--theme);
    }
    .affiliate-link:hover{background:#082d6d}
    .pagination{
      display:flex;
      justify-content:center;
      flex-wrap:wrap;
      gap:8px;
      padding:46px 0 76px;
    }
    .pagination a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-width:38px;
      height:38px;
      padding:0 12px;
      border:1px solid var(--line);
      border-radius:8px;
      color:#667085;
      font-size:13px;
      background:#fff;
    }
    .pagination a:hover,.pagination a.current,.pagination a.active{
      border-color:var(--theme);
      background:var(--theme);
      color:#fff;
    }

    .footer{
      padding:54px 0 22px;
      background:#101827;
      color:#d0d5dd;
    }
    .footer-grid{
      display:grid;
      grid-template-columns:1.5fr 1fr 1fr 1fr;
      gap:38px;
    }
    .footer-brand strong{
      display:block;
      margin-bottom:15px;
      color:#fff;
      font-size:19px;
    }
    .footer p{margin:0 0 12px;color:#98a2b3;font-size:13px}
    .footer h3{
      margin:0 0 14px;
      color:#fff;
      font-size:14px;
    }
    .footer-grid>div:not(.footer-brand) a{
      display:block;
      margin:8px 0;
      color:#98a2b3;
      font-size:13px;
      transition:color .2s;
    }
    .footer-grid>div:not(.footer-brand) a:hover{color:#fff}
    .footer-bottom{
      display:flex;
      justify-content:space-between;
      gap:20px;
      margin-top:40px;
      padding-top:18px;
      border-top:1px solid rgba(255,255,255,.12);
      color:#858e9d;
      font-size:12px;
    }

    @media (max-width:1050px){
      .main-nav{display:none}
      .hamburger{display:block}
      .footer-grid{grid-template-columns:repeat(2,1fr)}
    }
    @media (max-width:700px){
      .container{width:min(100% - 28px,1180px)}
      .topbar .container{align-items:flex-start;flex-direction:column;gap:2px;padding:8px 0}
      .topbar-links{gap:12px;flex-wrap:wrap}
      .header-inner{min-height:68px;gap:12px}
      .member-btn{display:none}
      .page-hero{padding:48px 0 36px}
      .page-hero h1{font-size:40px}
      .brokerlist-toolbar{align-items:flex-start;flex-direction:column}
      .broker-grid{grid-template-columns:1fr}
      .broker-card{padding:19px}
      .broker-meta{grid-template-columns:repeat(2,1fr)}
      .footer-grid{grid-template-columns:1fr;gap:25px}
      .footer-bottom{align-items:flex-start;flex-direction:column;gap:8px}
    }