:root{
      --theme:#0B3D91;
      --theme-dark:#072b68;
      --theme-soft:#eaf1ff;
      --accent:#ff765f;
      --cream:#fffaf0;
      --ink:#202735;
      --muted:#667085;
      --line:#e4e8ef;
      --surface:#fff;
      --page:#f5f7fb;
      --success:#16865c;
      --shadow:0 16px 40px rgba(11,61,145,.11);
      --radius:20px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--page);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC","Noto Sans CJK SC",Arial,sans-serif;
      line-height:1.65;
    }
    body,button,input,select{font:inherit}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button{color:inherit}
    .container{width:min(1180px,calc(100% - 40px));margin:0 auto}

    .topbar{
      position:relative;
      z-index:110;
      color:#dbe7ff;
      background:var(--theme-dark);
      font-size:13px;
    }
    .topbar .container{
      min-height:36px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar-links{display:flex;align-items:center;gap:22px}
    .topbar a:hover{color:#fff;text-decoration:underline}

    .header{
      position:relative;
      z-index:100;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 5px 20px rgba(16,24,40,.04);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:24px;
    }
    .logo{
      min-width:190px;
      display:flex;
      align-items:center;
      gap:11px;
      color:var(--theme);
      font-size:19px;
      font-weight:800;
    }
    .logo img{
      width:42px;
      height:42px;
      object-fit:contain;
      border-radius:10px;
    }
    .main-nav{align-self:stretch;margin-left:auto}
    .nav-list{
      height:100%;
      display:flex;
      align-items:stretch;
      gap:2px;
      margin:0;
      padding:0;
      list-style:none;
    }
    .nav-item{
      position:relative;
      display:flex;
      align-items:center;
    }
    .nav-link{
      height:100%;
      display:flex;
      align-items:center;
      padding:0 12px;
      color:#344054;
      font-size:15px;
      font-weight:650;
      white-space:nowrap;
      transition:.2s ease;
    }
    .nav-link:hover,
    .nav-item:focus-within>.nav-link{
      color:var(--theme);
      background:var(--theme-soft);
    }
    .has-arrow::after{
      content:"";
      width:6px;
      height:6px;
      margin:0 0 4px 7px;
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:rotate(45deg);
    }
    .dropdown-panel,
    .mega-menu{
      position:absolute;
      top:100%;
      left:0;
      z-index:120;
      visibility:hidden;
      opacity:0;
      pointer-events:none;
      transform:translateY(10px);
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 18px 18px;
      box-shadow:0 24px 55px rgba(16,24,40,.16);
      transition:opacity .18s ease,transform .18s ease,visibility .18s;
    }
    .dropdown-panel::before,
    .mega-menu::before{
      content:"";
      position:absolute;
      right:0;
      bottom:100%;
      left:0;
      height:12px;
    }
    .dropdown-panel{
      width:320px;
      padding:20px;
    }
    .mega-menu{
      left:50%;
      width:min(760px,82vw);
      padding:22px;
      transform:translate(-50%,10px);
    }
    .nav-item:nth-last-child(-n+3) .mega-menu{
      right:0;
      left:auto;
      transform:translateY(10px);
    }
    .nav-item:hover>.dropdown-panel,
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.dropdown-panel,
    .nav-item:focus-within>.mega-menu{
      visibility:visible;
      opacity:1;
      pointer-events:auto;
      transform:translateY(0);
    }
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      transform:translate(-50%,0);
    }
    .nav-item:nth-last-child(-n+3):hover>.mega-menu,
    .nav-item:nth-last-child(-n+3):focus-within>.mega-menu{
      transform:translateY(0);
    }
    .panel-title{
      margin:0 0 12px;
      color:var(--theme);
      font-size:13px;
      font-weight:800;
      letter-spacing:.08em;
    }
    .panel-list{display:flex;flex-wrap:wrap;gap:8px}
    .panel-list a{
      padding:8px 11px;
      color:#475467;
      background:#f7f8fa;
      border-radius:9px;
      font-size:13px;
    }
    .panel-list a:hover{color:var(--theme);background:var(--theme-soft)}
    .dropdown-panel .panel-list{display:grid;gap:4px}
    .dropdown-panel .panel-list a{
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:10px;
    }
    .mega-card{
      min-width:0;
      display:grid;
      grid-template-columns:38px minmax(0,1fr);
      column-gap:10px;
      align-items:center;
      padding:12px;
      background:#f8fafc;
      border:1px solid transparent;
      border-radius:12px;
      transition:.2s ease;
    }
    .mega-card:hover{
      border-color:#c8d8f7;
      background:var(--theme-soft);
      transform:translateY(-2px);
    }
    .mega-card img{
      grid-row:1/4;
      width:38px;
      height:38px;
      object-fit:contain;
      padding:3px;
      background:#fff;
      border-radius:9px;
    }
    .mega-card strong,
    .mega-card small{
      min-width:0;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card strong{font-size:13px}
    .mega-card small{color:var(--muted);font-size:11px}
    .mega-footer{
      display:block;
      margin:16px -22px -22px;
      padding:13px 22px;
      color:var(--theme);
      background:#f4f7fc;
      border-radius:0 0 18px 18px;
      font-size:13px;
      font-weight:750;
      text-align:right;
    }
    .header-btns{
      display:flex;
      align-items:center;
      gap:9px;
      margin-left:4px;
      white-space:nowrap;
    }
    .member-link{
      color:var(--theme);
      font-size:14px;
      font-weight:700;
    }
    .open-account{
      padding:10px 17px;
      color:#fff;
      background:var(--theme);
      border-radius:10px;
      font-size:14px;
      font-weight:750;
      box-shadow:0 8px 18px rgba(11,61,145,.2);
    }
    .open-account:hover{background:var(--theme-dark)}
    .hamburger{
      width:42px;
      height:42px;
      display:none;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      padding:0;
      background:#fff;
      border:1px solid var(--line);
      border-radius:10px;
      cursor:pointer;
    }
    .hamburger span{
      width:20px;
      height:2px;
      background:var(--ink);
      border-radius:2px;
      transition:.2s ease;
    }
    .hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
    .hamburger.active span:nth-child(2){opacity:0}
    .hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

    .drawer-overlay{
      position:fixed;
      inset:0;
      z-index:190;
      visibility:hidden;
      opacity:0;
      background:rgba(8,15,30,.58);
      backdrop-filter:blur(3px);
      transition:.25s ease;
    }
    .drawer-overlay.open{visibility:visible;opacity:1}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      z-index:200;
      width:min(390px,90vw);
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 45px rgba(0,0,0,.18);
      transform:translateX(105%);
      transition:transform .28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      min-height:70px;
      display:flex;
      align-items:center;
      gap:12px;
      padding:14px 18px;
      color:#fff;
      background:var(--theme);
    }
    .drawer-head>a{
      padding:7px 11px;
      border:1px solid rgba(255,255,255,.38);
      border-radius:8px;
      font-size:14px;
    }
    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      padding:0;
      color:#fff;
      background:rgba(255,255,255,.13);
      border:0;
      border-radius:10px;
      font-size:27px;
      line-height:1;
      cursor:pointer;
    }
    .drawer-menu{padding:14px 18px 32px}
    .drawer-link,
    .drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:14px 4px;
      background:transparent;
      border:0;
      border-bottom:1px solid var(--line);
      font-size:15px;
      font-weight:750;
      text-align:left;
      cursor:pointer;
    }
    .drawer-toggle::after{
      content:"+";
      color:var(--theme);
      font-size:22px;
      font-weight:400;
    }
    .drawer-toggle.active::after{content:"−"}
    .drawer-submenu{
      max-height:0;
      overflow:hidden;
      padding:0 8px;
      background:#f8fafc;
      transition:max-height .3s ease,padding .3s ease;
    }
    .drawer-submenu.open{max-height:720px;padding:8px}
    .drawer-submenu a{
      display:block;
      padding:10px;
      color:#475467;
      border-bottom:1px solid #edf0f4;
      font-size:14px;
    }
    .drawer-submenu a:last-child{border-bottom:0}

    .brokerlist-page{min-width:0}
    .brokerlist-page .broker-hero{
      position:relative;
      overflow:hidden;
      padding:72px 0 64px;
      color:#fff;
      background:
        radial-gradient(circle at 13% 15%,rgba(255,118,95,.38),transparent 25%),
        radial-gradient(circle at 90% 85%,rgba(255,255,255,.13),transparent 27%),
        linear-gradient(135deg,var(--theme-dark),var(--theme) 58%,#1858b7);
    }
    .brokerlist-page .broker-hero::before,
    .brokerlist-page .broker-hero::after{
      content:"";
      position:absolute;
      border:1px solid rgba(255,255,255,.16);
      border-radius:50%;
    }
    .brokerlist-page .broker-hero::before{
      width:430px;
      height:430px;
      top:-270px;
      right:6%;
    }
    .brokerlist-page .broker-hero::after{
      width:260px;
      height:260px;
      bottom:-190px;
      left:9%;
    }
    .brokerlist-page .hero-inner{position:relative;z-index:1;text-align:center}
    .brokerlist-page .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:15px;
      padding:7px 12px;
      color:#fff;
      background:rgba(255,255,255,.12);
      border:1px solid rgba(255,255,255,.22);
      border-radius:999px;
      font-size:13px;
      font-weight:750;
    }
    .brokerlist-page .eyebrow::before{
      content:"";
      width:7px;
      height:7px;
      background:var(--accent);
      border-radius:50%;
      box-shadow:0 0 0 5px rgba(255,118,95,.18);
    }
    .brokerlist-page .broker-hero h1{
      max-width:800px;
      margin:0 auto 15px;
      font-size:clamp(34px,5vw,58px);
      line-height:1.15;
      letter-spacing:-.04em;
    }
    .brokerlist-page .broker-hero p{
      max-width:750px;
      margin:0 auto;
      color:#dce7fb;
      font-size:17px;
    }
    .brokerlist-page .hero-points{
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:12px;
      margin-top:28px;
    }
    .brokerlist-page .hero-points span{
      padding:9px 14px;
      color:#eef4ff;
      background:rgba(3,26,67,.28);
      border:1px solid rgba(255,255,255,.17);
      border-radius:10px;
      font-size:13px;
    }

    .brokerlist-page .broker-directory{padding:46px 0 82px}
    .brokerlist-page .filter-panel{
      position:relative;
      z-index:2;
      display:grid;
      grid-template-columns:minmax(230px,1.5fr) repeat(3,minmax(150px,.75fr)) auto;
      gap:12px;
      align-items:end;
      margin-top:-76px;
      padding:20px;
      background:#fff;
      border:1px solid rgba(11,61,145,.1);
      border-radius:18px;
      box-shadow:var(--shadow);
    }
    .brokerlist-page .filter-field label{
      display:block;
      margin:0 0 6px;
      color:#475467;
      font-size:12px;
      font-weight:800;
    }
    .brokerlist-page .filter-field input,
    .brokerlist-page .filter-field select{
      width:100%;
      height:46px;
      padding:0 13px;
      color:#344054;
      outline:none;
      background:#f8fafc;
      border:1px solid #dfe4eb;
      border-radius:10px;
    }
    .brokerlist-page .filter-field input:focus,
    .brokerlist-page .filter-field select:focus{
      border-color:var(--theme);
      box-shadow:0 0 0 3px rgba(11,61,145,.09);
    }
    .brokerlist-page .filter-submit{
      height:46px;
      padding:0 22px;
      color:#fff;
      background:var(--theme);
      border:0;
      border-radius:10px;
      font-weight:750;
      cursor:pointer;
    }
    .brokerlist-page .filter-submit:hover{background:var(--theme-dark)}
    .brokerlist-page .directory-intro{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:24px;
      margin:46px 0 22px;
    }
    .brokerlist-page .directory-intro h2{
      margin:0 0 7px;
      color:#172033;
      font-size:28px;
      line-height:1.25;
    }
    .brokerlist-page .directory-intro p{
      max-width:760px;
      margin:0;
      color:var(--muted);
    }
    .brokerlist-page .result-note{
      flex:none;
      padding:8px 12px;
      color:var(--theme);
      background:var(--theme-soft);
      border-radius:999px;
      font-size:13px;
      font-weight:750;
    }
    .brokerlist-page .broker-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:18px;
    }
    .brokerlist-page .broker-card{
      min-width:0;
      display:flex;
      flex-direction:column;
      padding:22px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:0 8px 28px rgba(16,24,40,.055);
      transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
    }
    .brokerlist-page .broker-card:hover{
      transform:translateY(-4px);
      border-color:#bdd0f3;
      box-shadow:var(--shadow);
    }
    .brokerlist-page .broker-card-head{
      display:grid;
      grid-template-columns:68px minmax(0,1fr) auto;
      gap:14px;
      align-items:center;
      padding-bottom:17px;
      border-bottom:1px solid var(--line);
    }
    .brokerlist-page .broker-logo{
      width:68px;
      height:68px;
      object-fit:contain;
      padding:8px;
      background:#f8fafc;
      border:1px solid var(--line);
      border-radius:14px;
    }
    .brokerlist-page .broker-name{min-width:0}
    .brokerlist-page .broker-name h2{
      overflow:hidden;
      margin:0 0 3px;
      color:#172033;
      font-size:20px;
      line-height:1.3;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .brokerlist-page .broker-name span{
      color:var(--muted);
      font-size:12px;
    }
    .brokerlist-page .rating{
      min-width:62px;
      padding:9px 8px;
      color:#7a3f00;
      background:#fff4d8;
      border-radius:11px;
      text-align:center;
    }
    .brokerlist-page .rating strong{
      display:block;
      font-size:19px;
      line-height:1.1;
    }
    .brokerlist-page .rating small{font-size:11px}
    .brokerlist-page .broker-summary{
      display:-webkit-box;
      min-height:52px;
      margin:17px 0;
      overflow:hidden;
      color:#566174;
      font-size:14px;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }
    .brokerlist-page .broker-facts{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
      margin:0 0 18px;
    }
    .brokerlist-page .fact{
      min-width:0;
      padding:11px 12px;
      background:#f8fafc;
      border-radius:10px;
    }
    .brokerlist-page .fact span{
      display:block;
      margin-bottom:2px;
      color:#7b8494;
      font-size:11px;
    }
    .brokerlist-page .fact strong{
      display:block;
      overflow:hidden;
      color:#253047;
      font-size:13px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .brokerlist-page .broker-actions{
      display:flex;
      gap:10px;
      margin-top:auto;
    }
    .brokerlist-page .broker-actions a{
      flex:1;
      display:flex;
      min-height:44px;
      align-items:center;
      justify-content:center;
      padding:9px 13px;
      border-radius:10px;
      font-size:14px;
      font-weight:750;
      text-align:center;
    }
    .brokerlist-page .view-review{
      color:var(--theme);
      background:var(--theme-soft);
      border:1px solid #d6e2f8;
    }
    .brokerlist-page .view-review:hover{background:#dce8fb}
    .brokerlist-page .broker-open{
      color:#fff;
      background:var(--theme);
      border:1px solid var(--theme);
    }
    .brokerlist-page .broker-open:hover{background:var(--theme-dark)}
    .brokerlist-page .pagination{
      display:flex;
      flex-wrap:wrap;
      justify-content:center;
      gap:8px;
      margin-top:34px;
    }
    .brokerlist-page .pagination a{
      min-width:42px;
      min-height:42px;
      display:flex;
      align-items:center;
      justify-content:center;
      padding:8px 13px;
      color:#475467;
      background:#fff;
      border:1px solid var(--line);
      border-radius:10px;
      font-weight:700;
    }
    .brokerlist-page .pagination a:hover,
    .brokerlist-page .pagination a.active,
    .brokerlist-page .pagination a.current{
      color:#fff;
      background:var(--theme);
      border-color:var(--theme);
    }
    .brokerlist-page .comparison-guide{
      margin-top:52px;
      padding:30px;
      background:var(--cream);
      border:1px solid #f2e5ca;
      border-radius:22px;
    }
    .brokerlist-page .comparison-guide h2{
      margin:0 0 8px;
      font-size:25px;
    }
    .brokerlist-page .comparison-guide>p{
      max-width:820px;
      margin:0;
      color:var(--muted);
    }
    .brokerlist-page .guide-grid{
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:14px;
      margin-top:22px;
    }
    .brokerlist-page .guide-item{
      padding:17px;
      background:rgba(255,255,255,.76);
      border:1px solid #eee1c6;
      border-radius:14px;
    }
    .brokerlist-page .guide-item strong{
      display:block;
      margin-bottom:5px;
      color:var(--theme);
    }
    .brokerlist-page .guide-item p{
      margin:0;
      color:#697386;
      font-size:13px;
    }
    .brokerlist-page .risk-box{
      display:flex;
      gap:13px;
      margin-top:18px;
      padding:16px 18px;
      color:#65441d;
      background:#fff5e4;
      border-left:4px solid #dc8b25;
      border-radius:8px;
      font-size:13px;
    }
    .brokerlist-page .risk-box strong{flex:none}

    .footer{
      color:#c8d4e8;
      background:#081b3a;
    }
    .footer .container{padding-top:54px}
    .footer-grid{
      display:grid;
      grid-template-columns:1.45fr repeat(3,1fr);
      gap:46px;
      padding-bottom:42px;
    }
    .footer h3{
      margin:0 0 16px;
      color:#fff;
      font-size:15px;
    }
    .footer strong{color:#fff;font-size:19px}
    .footer p{margin:11px 0;color:#9fb0ca;font-size:13px}
    .footer-grid>div>a{
      display:block;
      margin:9px 0;
      color:#c6d2e5;
      font-size:13px;
    }
    .footer-grid>div>a:hover{color:#fff}
    .footer-bottom{
      min-height:66px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:#8fa3c2;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:12px;
    }

    @media (max-width:1100px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-btns{margin-left:auto}
      .brokerlist-page .filter-panel{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
      .brokerlist-page .filter-submit{width:100%}
    }
    @media (max-width:820px){
      .container{width:min(100% - 28px,1180px)}
      .topbar .container{min-height:42px}
      .topbar-links span:first-child{display:none}
      .header-inner{min-height:70px}
      .logo{min-width:0}
      .logo span{font-size:17px}
      .member-link{display:none}
      .brokerlist-page .broker-hero{padding:54px 0 92px}
      .brokerlist-page .broker-hero p{font-size:15px}
      .brokerlist-page .filter-panel{margin-top:-82px}
      .brokerlist-page .directory-intro{align-items:flex-start;flex-direction:column}
      .brokerlist-page .broker-grid{grid-template-columns:1fr}
      .brokerlist-page .guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}
    }
    @media (max-width:560px){
      .topbar-links span:last-child{display:none}
      .header-btns{gap:7px}
      .open-account{padding:9px 12px}
      .brokerlist-page .broker-hero h1{font-size:34px}
      .brokerlist-page .hero-points{gap:7px}
      .brokerlist-page .hero-points span{padding:7px 9px;font-size:12px}
      .brokerlist-page .filter-panel{grid-template-columns:1fr;padding:16px}
      .brokerlist-page .directory-intro{margin-top:36px}
      .brokerlist-page .broker-card{padding:17px}
      .brokerlist-page .broker-card-head{
        grid-template-columns:58px minmax(0,1fr);
      }
      .brokerlist-page .broker-logo{width:58px;height:58px}
      .brokerlist-page .rating{
        grid-column:1/-1;
        display:flex;
        align-items:center;
        justify-content:center;
        gap:6px;
        padding:7px;
      }
      .brokerlist-page .rating strong{display:inline}
      .brokerlist-page .broker-facts{grid-template-columns:1fr}
      .brokerlist-page .broker-actions{flex-direction:column}
      .brokerlist-page .comparison-guide{padding:22px 17px}
      .brokerlist-page .guide-grid{grid-template-columns:1fr}
      .brokerlist-page .risk-box{flex-direction:column}
      .footer .container{padding-top:42px}
      .footer-grid{grid-template-columns:1fr;gap:24px}
      .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        padding:18px 0;
      }
    }