:root{
      --primary:#0B3D91;
      --primary-dark:#072b68;
      --primary-soft:#eaf1ff;
      --accent:#18a86b;
      --ink:#122033;
      --muted:#607087;
      --line:#dce4ef;
      --surface:#fff;
      --background:#f4f7fb;
      --shadow:0 16px 42px rgba(15,39,76,.1);
      --radius:18px;
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--background);
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans HK","PingFang HK","Microsoft JhengHei",sans-serif;
      line-height:1.65;
    }
    body.drawer-locked{overflow:hidden}
    img{display:block;max-width:100%}
    a{color:inherit;text-decoration:none}
    button,input,select{font:inherit}
    button{cursor:pointer}
    .container{width:min(1180px,calc(100% - 40px));margin:0 auto}

    .topbar{
      color:#dce9ff;
      background:#061a3b;
      font-size:13px;
    }
    .topbar-inner{
      min-height:36px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
    }
    .topbar-contact{display:flex;align-items:center;gap:22px}
    .topbar a{transition:color .2s ease}
    .topbar a:hover{color:#fff}

    .header{
      position:relative;
      z-index:50;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 5px 18px rgba(15,39,76,.05);
    }
    .header-inner{
      min-height:76px;
      display:flex;
      align-items:center;
      gap:24px;
    }
    .logo{
      min-width:0;
      display:inline-flex;
      align-items:center;
      gap:10px;
      color:var(--primary);
      font-weight:800;
    }
    .logo img{
      width:42px;
      height:42px;
      flex:0 0 auto;
      object-fit:contain;
      border-radius:10px;
    }
    .logo span{
      max-width:180px;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .main-nav{margin-left:auto;align-self:stretch}
    .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 11px;
      color:#26374d;
      font-size:14px;
      font-weight:700;
      white-space:nowrap;
      transition:color .2s ease,background .2s ease;
    }
    .nav-link:hover,
    .nav-item:focus-within>.nav-link{
      color:var(--primary);
      background:#f5f8fd;
    }
    .has-arrow::after{
      width:6px;
      height:6px;
      margin:-4px 0 0 7px;
      content:"";
      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:80;
      visibility:hidden;
      opacity:0;
      pointer-events:none;
      transform:translateY(8px);
      transition:opacity .2s ease,transform .2s ease,visibility .2s;
      border:1px solid var(--line);
      border-radius:0 0 16px 16px;
      background:#fff;
      box-shadow:var(--shadow);
    }
    .dropdown-panel::before,
    .mega-menu::before{
      position:absolute;
      right:0;
      bottom:100%;
      left:0;
      height:10px;
      content:"";
    }
    .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);
    }
    .dropdown-panel{
      width:290px;
      padding:12px;
    }
    .dropdown-panel>a:not(.dropdown-footer){
      display:block;
      padding:10px 12px;
      overflow:hidden;
      border-radius:9px;
      color:#33445b;
      font-size:14px;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .dropdown-panel>a:not(.dropdown-footer):hover{
      color:var(--primary);
      background:var(--primary-soft);
    }
    .dropdown-footer,
    .mega-footer{
      display:block;
      margin-top:10px;
      padding:11px 14px;
      border-radius:10px;
      color:#fff;
      background:var(--primary);
      font-size:13px;
      font-weight:800;
      text-align:center;
    }
    .mega-menu{
      left:50%;
      width:640px;
      padding:20px;
      transform:translate(-50%,8px);
    }
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{transform:translate(-50%,0)}
    .mega-wide{width:760px}
    .mega-title{
      margin:0 0 12px;
      color:var(--primary);
      font-size:13px;
      font-weight:800;
      letter-spacing:.04em;
    }
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:10px;
    }
    .mega-card{
      min-width:0;
      display:flex;
      align-items:center;
      gap:11px;
      padding:10px;
      border:1px solid #edf1f6;
      border-radius:12px;
      background:#fafcff;
      transition:transform .2s ease,border-color .2s ease,background .2s ease;
    }
    .mega-card:hover{
      border-color:#b9cbed;
      background:#fff;
      transform:translateY(-2px);
    }
    .mega-card>img{
      width:48px;
      height:42px;
      flex:0 0 auto;
      object-fit:contain;
      border-radius:8px;
      background:#fff;
    }
    .mega-card>img:not(.tool-icon){object-fit:cover}
    .mega-card-copy{
      min-width:0;
      display:grid;
      gap:2px;
    }
    .mega-card-copy strong,
    .mega-card-copy span{
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card-copy strong{color:#1c2c42;font-size:13px}
    .mega-card-copy span{color:var(--muted);font-size:11px}
    .mega-category-list{
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      margin-bottom:14px;
    }
    .mega-category-list a{
      padding:6px 10px;
      border-radius:999px;
      color:#355170;
      background:#eef3fa;
      font-size:12px;
    }
    .mega-category-list a:hover{color:#fff;background:var(--primary)}
    .header-btns{
      display:flex;
      align-items:center;
      gap:9px;
      white-space:nowrap;
    }
    .account-btn{
      display:inline-flex;
      min-height:42px;
      align-items:center;
      justify-content:center;
      padding:0 16px;
      border-radius:10px;
      color:#fff;
      background:var(--primary);
      font-size:14px;
      font-weight:800;
      box-shadow:0 8px 18px rgba(11,61,145,.2);
    }
    .account-btn:hover{background:var(--primary-dark)}
    .hamburger{
      width:44px;
      height:42px;
      display:none;
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      padding:0;
      border:1px solid var(--line);
      border-radius:10px;
      background:#fff;
    }
    .hamburger span{
      width:20px;
      height:2px;
      background:var(--ink);
      transition:transform .2s ease,opacity .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:90;
      visibility:hidden;
      opacity:0;
      background:rgba(3,15,35,.58);
      transition:opacity .25s ease,visibility .25s;
    }
    .drawer-overlay.open{visibility:visible;opacity:1}
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      z-index:100;
      width:min(400px,90vw);
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 50px rgba(5,21,48,.2);
      transform:translateX(105%);
      transition:transform .28s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      position:sticky;
      top:0;
      z-index:2;
      min-height:72px;
      display:flex;
      align-items:center;
      gap:10px;
      padding:14px 18px;
      border-bottom:1px solid var(--line);
      background:#fff;
    }
    .drawer-head>a{
      padding:8px 11px;
      border-radius:8px;
      color:#fff;
      background:var(--primary);
      font-size:13px;
      font-weight:700;
    }
    .drawer-close{
      width:38px;
      height:38px;
      margin-left:auto;
      padding:0;
      border:0;
      border-radius:9px;
      color:#25374e;
      background:#eef3f9;
      font-size:26px;
      line-height:1;
    }
    .drawer-menu{padding:14px 18px 30px}
    .drawer-link,
    .drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding:13px 4px;
      border:0;
      border-bottom:1px solid #edf1f5;
      color:#1e3047;
      background:transparent;
      font-weight:750;
      text-align:left;
    }
    .drawer-toggle::after{
      width:7px;
      height:7px;
      content:"";
      border-right:2px solid #65758b;
      border-bottom:2px solid #65758b;
      transform:rotate(45deg);
      transition:transform .2s ease;
    }
    .drawer-toggle.active::after{transform:rotate(225deg)}
    .drawer-submenu{
      max-height:0;
      overflow:hidden;
      padding:0 10px;
      background:#f6f8fc;
      transition:max-height .3s ease,padding .3s ease;
    }
    .drawer-submenu.open{
      max-height:760px;
      padding:8px 10px;
    }
    .drawer-submenu a{
      display:block;
      padding:9px 8px;
      color:#53647a;
      font-size:14px;
    }
    .drawer-submenu a:hover{color:var(--primary)}

    .brokerlist-page{min-height:60vh}
    .brokerlist-page .page-intro{
      position:relative;
      overflow:hidden;
      padding:64px 0 54px;
      color:#fff;
      background:
        radial-gradient(circle at 85% 20%,rgba(76,142,255,.35),transparent 28%),
        radial-gradient(circle at 10% 90%,rgba(24,168,107,.2),transparent 26%),
        linear-gradient(135deg,#061a3b 0%,#0B3D91 68%,#1558b5 100%);
    }
    .brokerlist-page .page-intro::after{
      position:absolute;
      right:-80px;
      bottom:-150px;
      width:430px;
      height:430px;
      content:"";
      border:1px solid rgba(255,255,255,.12);
      border-radius:50%;
      box-shadow:0 0 0 55px rgba(255,255,255,.04),0 0 0 110px rgba(255,255,255,.025);
    }
    .brokerlist-page .breadcrumb{
      position:relative;
      z-index:1;
      display:flex;
      flex-wrap:wrap;
      gap:8px;
      align-items:center;
      margin-bottom:15px;
      color:#c8d9f6;
      font-size:13px;
    }
    .brokerlist-page .breadcrumb a:hover{color:#fff}
    .brokerlist-page .intro-content{
      position:relative;
      z-index:1;
      max-width:820px;
    }
    .brokerlist-page .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:12px;
      color:#b9d3ff;
      font-size:13px;
      font-weight:800;
      letter-spacing:.08em;
    }
    .brokerlist-page .eyebrow::before{
      width:26px;
      height:2px;
      content:"";
      background:#57d79e;
    }
    .brokerlist-page h1{
      margin:0 0 16px;
      font-size:clamp(34px,5vw,58px);
      line-height:1.12;
      letter-spacing:-.035em;
    }
    .brokerlist-page .intro-content>p{
      max-width:720px;
      margin:0;
      color:#d8e5fa;
      font-size:17px;
    }
    .brokerlist-page .intro-points{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      margin-top:25px;
    }
    .brokerlist-page .intro-points span{
      padding:8px 12px;
      border:1px solid rgba(255,255,255,.18);
      border-radius:999px;
      background:rgba(255,255,255,.08);
      font-size:13px;
      backdrop-filter:blur(8px);
    }

    .brokerlist-page .broker-content{padding:42px 0 72px}
    .brokerlist-page .research-note{
      display:grid;
      grid-template-columns:auto 1fr;
      gap:16px;
      align-items:start;
      margin-bottom:24px;
      padding:20px 22px;
      border:1px solid #cfdcf1;
      border-radius:16px;
      background:#f8fbff;
    }
    .brokerlist-page .research-note-icon{
      width:40px;
      height:40px;
      display:grid;
      place-items:center;
      border-radius:12px;
      color:#fff;
      background:var(--primary);
      font-weight:900;
    }
    .brokerlist-page .research-note h2{
      margin:0 0 4px;
      font-size:17px;
    }
    .brokerlist-page .research-note p{
      margin:0;
      color:var(--muted);
      font-size:14px;
    }
    .brokerlist-page .filter-panel{
      margin-bottom:28px;
      padding:22px;
      border:1px solid var(--line);
      border-radius:18px;
      background:#fff;
      box-shadow:0 10px 30px rgba(15,39,76,.06);
    }
    .brokerlist-page .filter-heading{
      display:flex;
      align-items:end;
      justify-content:space-between;
      gap:20px;
      margin-bottom:16px;
    }
    .brokerlist-page .filter-heading h2{margin:0;font-size:21px}
    .brokerlist-page .filter-heading p{
      margin:0;
      color:var(--muted);
      font-size:13px;
    }
    .brokerlist-page .filter-grid{
      display:grid;
      grid-template-columns:1.3fr repeat(3,1fr) auto;
      gap:12px;
    }
    .brokerlist-page .filter-field{display:grid;gap:6px}
    .brokerlist-page .filter-field label{
      color:#52647a;
      font-size:12px;
      font-weight:800;
    }
    .brokerlist-page .filter-field input,
    .brokerlist-page .filter-field select{
      width:100%;
      min-height:44px;
      padding:0 12px;
      border:1px solid #cfdae7;
      border-radius:10px;
      outline:none;
      color:#26384f;
      background:#fff;
    }
    .brokerlist-page .filter-field input:focus,
    .brokerlist-page .filter-field select:focus{
      border-color:var(--primary);
      box-shadow:0 0 0 3px rgba(11,61,145,.1);
    }
    .brokerlist-page .filter-submit{
      align-self:end;
      min-height:44px;
      padding:0 20px;
      border:0;
      border-radius:10px;
      color:#fff;
      background:var(--primary);
      font-weight:800;
    }
    .brokerlist-page .filter-submit:hover{background:var(--primary-dark)}
    .brokerlist-page .result-bar{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:16px;
      margin:30px 0 16px;
    }
    .brokerlist-page .result-bar h2{margin:0;font-size:25px}
    .brokerlist-page .result-bar span{color:var(--muted);font-size:13px}

    .brokerlist-page .broker-grid{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      gap:20px;
    }
    .brokerlist-page .broker-card{
      min-width:0;
      display:flex;
      flex-direction:column;
      overflow:hidden;
      border:1px solid var(--line);
      border-radius:20px;
      background:#fff;
      box-shadow:0 10px 28px rgba(15,39,76,.055);
      transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
    }
    .brokerlist-page .broker-card:hover{
      border-color:#b6c9e6;
      box-shadow:0 18px 42px rgba(15,39,76,.11);
      transform:translateY(-4px);
    }
    .brokerlist-page .broker-card-head{
      display:flex;
      align-items:center;
      gap:15px;
      padding:22px 22px 17px;
      border-bottom:1px solid #edf1f6;
    }
    .brokerlist-page .broker-logo{
      width:76px;
      height:60px;
      flex:0 0 auto;
      object-fit:contain;
      padding:6px;
      border:1px solid #e4eaf2;
      border-radius:13px;
      background:#fff;
    }
    .brokerlist-page .broker-heading{
      min-width:0;
      flex:1;
    }
    .brokerlist-page .broker-heading h3{
      margin:0 0 5px;
      overflow:hidden;
      color:#172941;
      font-size:20px;
      line-height:1.3;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .brokerlist-page .rating{
      display:flex;
      align-items:center;
      gap:7px;
      color:#8a6500;
      font-size:13px;
      font-weight:800;
    }
    .brokerlist-page .rating-star{color:#f1a800;letter-spacing:1px}
    .brokerlist-page .broker-card-body{
      min-width:0;
      display:flex;
      flex:1;
      flex-direction:column;
      padding:18px 22px 22px;
    }
    .brokerlist-page .broker-summary{
      min-height:51px;
      margin:0 0 17px;
      color:var(--muted);
      font-size:14px;
      display:-webkit-box;
      overflow:hidden;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
    }
    .brokerlist-page .broker-facts{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      margin:0 0 18px;
      border-top:1px solid #edf1f6;
      border-left:1px solid #edf1f6;
    }
    .brokerlist-page .broker-facts div{
      min-width:0;
      padding:11px 12px;
      border-right:1px solid #edf1f6;
      border-bottom:1px solid #edf1f6;
      background:#fbfcfe;
    }
    .brokerlist-page .broker-facts dt{
      margin:0 0 2px;
      color:#77869a;
      font-size:11px;
      font-weight:700;
    }
    .brokerlist-page .broker-facts dd{
      margin:0;
      overflow:hidden;
      color:#263950;
      font-size:13px;
      font-weight:800;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .brokerlist-page .regulation{
      margin:0 0 18px;
      padding:10px 12px;
      border-radius:10px;
      color:#31516d;
      background:#eef6f2;
      font-size:13px;
    }
    .brokerlist-page .regulation strong{color:#14724c}
    .brokerlist-page .broker-actions{
      display:flex;
      gap:10px;
      margin-top:auto;
    }
    .brokerlist-page .broker-actions a{
      min-height:42px;
      display:inline-flex;
      flex:1;
      align-items:center;
      justify-content:center;
      padding:8px 14px;
      border-radius:10px;
      font-size:13px;
      font-weight:800;
      text-align:center;
    }
    .brokerlist-page .review-btn{
      color:var(--primary);
      border:1px solid #b8cae6;
      background:#fff;
    }
    .brokerlist-page .review-btn:hover{background:var(--primary-soft)}
    .brokerlist-page .open-btn{
      color:#fff;
      border:1px solid var(--primary);
      background:var(--primary);
    }
    .brokerlist-page .open-btn:hover{
      border-color:var(--primary-dark);
      background:var(--primary-dark);
    }
    .brokerlist-page .comparison-guide{
      margin-top:30px;
      padding:26px;
      border-radius:20px;
      color:#d9e8ff;
      background:#0b244c;
    }
    .brokerlist-page .comparison-guide h2{
      margin:0 0 12px;
      color:#fff;
      font-size:22px;
    }
    .brokerlist-page .guide-grid{
      display:grid;
      grid-template-columns:repeat(4,minmax(0,1fr));
      gap:16px;
    }
    .brokerlist-page .guide-item{
      padding:16px;
      border:1px solid rgba(255,255,255,.12);
      border-radius:13px;
      background:rgba(255,255,255,.05);
    }
    .brokerlist-page .guide-item strong{
      display:block;
      margin-bottom:4px;
      color:#71e0ad;
    }
    .brokerlist-page .guide-item span{font-size:13px}
    .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:inline-flex;
      align-items:center;
      justify-content:center;
      padding:7px 12px;
      border:1px solid var(--line);
      border-radius:10px;
      color:#3e5067;
      background:#fff;
      font-weight:750;
    }
    .brokerlist-page .pagination a:hover,
    .brokerlist-page .pagination a.active,
    .brokerlist-page .pagination a.current{
      color:#fff;
      border-color:var(--primary);
      background:var(--primary);
    }

    .footer{
      padding:58px 0 0;
      color:#b8c6da;
      background:#06162f;
    }
    .footer-grid{
      display:grid;
      grid-template-columns:1.35fr 1fr 1fr 1fr;
      gap:38px;
      padding-bottom:42px;
    }
    .footer .logo{color:#fff}
    .footer-brand p{
      max-width:360px;
      margin:18px 0 0;
      color:#9eb0c8;
      font-size:14px;
    }
    .footer h3{
      margin:8px 0 17px;
      color:#fff;
      font-size:15px;
    }
    .footer-links,
    .footer-contact{display:grid;gap:9px}
    .footer-links a,
    .footer-contact a,
    .footer-contact span{
      color:#a9bad0;
      font-size:14px;
      transition:color .2s ease;
    }
    .footer-links a:hover,
    .footer-contact a:hover{color:#fff}
    .footer-bottom{
      min-height:68px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      border-top:1px solid rgba(255,255,255,.1);
      color:#8498b4;
      font-size:13px;
    }

    @media (max-width:1120px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-btns{margin-left:auto}
      .brokerlist-page .filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .brokerlist-page .filter-submit{align-self:end}
    }
    @media (max-width:860px){
      .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))}
    }
    @media (max-width:640px){
      .container{width:min(100% - 28px,1180px)}
      .topbar-inner{
        min-height:42px;
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        gap:1px;
        padding:5px 0;
      }
      .topbar-contact{width:100%;justify-content:space-between;gap:10px}
      .header-inner{min-height:68px;gap:10px}
      .logo img{width:38px;height:38px}
      .logo span{max-width:125px;font-size:14px}
      .header-btns{gap:6px}
      .header-btns .account-btn{display:none}
      .brokerlist-page .page-intro{padding:45px 0 40px}
      .brokerlist-page .intro-content>p{font-size:15px}
      .brokerlist-page .broker-content{padding:28px 0 52px}
      .brokerlist-page .research-note{grid-template-columns:1fr}
      .brokerlist-page .filter-heading,
      .brokerlist-page .result-bar{
        align-items:flex-start;
        flex-direction:column;
        gap:6px;
      }
      .brokerlist-page .filter-grid{grid-template-columns:1fr}
      .brokerlist-page .filter-submit{width:100%}
      .brokerlist-page .broker-card-head{padding:18px}
      .brokerlist-page .broker-card-body{padding:16px 18px 20px}
      .brokerlist-page .broker-logo{width:65px;height:55px}
      .brokerlist-page .broker-facts{grid-template-columns:1fr}
      .brokerlist-page .broker-actions{flex-direction:column}
      .brokerlist-page .guide-grid{grid-template-columns:1fr}
      .footer-grid{grid-template-columns:1fr;gap:26px}
      .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        padding:18px 0;
      }
    }