:root{
      --theme:#0B3D91;
      --theme-dark:#072b67;
      --theme-soft:#eaf1fc;
      --accent:#f4b942;
      --ink:#142033;
      --muted:#64748b;
      --line:#dce5f1;
      --surface:#ffffff;
      --page:#f5f7fb;
      --success:#14835f;
      --danger:#bd3d3d;
      --shadow:0 16px 42px rgba(11,61,145,.10);
      --radius:18px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      color:var(--ink);
      background:var(--page);
      font-family:"Microsoft YaHei","PingFang SC","Noto Sans 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(1200px,calc(100% - 40px));
      margin:0 auto;
    }

    .topbar{
      color:#dce9ff;
      background:#061b3e;
      font-size:13px;
    }
    .topbar .container{
      min-height:38px;
      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}

    .header{
      position:relative;
      z-index:50;
      background:rgba(255,255,255,.98);
      border-bottom:1px solid var(--line);
      box-shadow:0 4px 18px rgba(15,35,65,.04);
    }
    .header-inner{
      min-height:78px;
      display:flex;
      align-items:center;
      gap:24px;
    }
    .logo{
      flex:0 0 auto;
      display:flex;
      align-items:center;
      gap:11px;
      color:var(--theme);
      font-size:19px;
      font-weight:800;
      letter-spacing:.01em;
    }
    .logo img{
      width:42px;
      height:42px;
      object-fit:contain;
      border-radius:10px;
    }
    .main-nav{
      flex:1;
      align-self:stretch;
      min-width:0;
    }
    .nav-list{
      height:100%;
      display:flex;
      justify-content:center;
      align-items:stretch;
      gap:2px;
      margin:0;
      padding:0;
      list-style:none;
    }
    .nav-item{
      position:relative;
      display:flex;
      align-items:stretch;
    }
    .nav-link{
      position:relative;
      display:flex;
      align-items:center;
      padding:0 13px;
      color:#26354c;
      font-size:15px;
      font-weight:700;
      white-space:nowrap;
    }
    .nav-link:hover,
    .nav-item:focus-within>.nav-link{
      color:var(--theme);
    }
    .nav-link::after{
      position:absolute;
      right:13px;
      bottom:13px;
      left:13px;
      height:2px;
      content:"";
      background:var(--theme);
      transform:scaleX(0);
      transition:.2s ease;
    }
    .nav-link:hover::after,
    .nav-item:focus-within>.nav-link::after{
      transform:scaleX(1);
    }
    .nav-link.has-arrow{padding-right:25px}
    .nav-link.has-arrow::before{
      position:absolute;
      top:50%;
      right:10px;
      width:6px;
      height:6px;
      content:"";
      border-right:1.5px solid currentColor;
      border-bottom:1.5px solid currentColor;
      transform:translateY(-70%) 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 .18s ease,transform .18s ease,visibility .18s;
    }
    .nav-item:hover>.dropdown-panel,
    .nav-item:focus-within>.dropdown-panel,
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      visibility:visible;
      opacity:1;
      pointer-events:auto;
      transform:translateY(0);
    }
    .dropdown-panel{
      width:300px;
      padding:10px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:0 0 14px 14px;
      box-shadow:var(--shadow);
    }
    .dropdown-panel a{
      display:block;
      padding:10px 12px;
      overflow:hidden;
      border-radius:8px;
      color:#344258;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .dropdown-panel a:hover{
      color:var(--theme);
      background:var(--theme-soft);
    }
    .mega-menu{
      left:50%;
      width:min(850px,calc(100vw - 40px));
      padding:18px;
      background:#fff;
      border:1px solid var(--line);
      border-top:3px solid var(--theme);
      border-radius:0 0 18px 18px;
      box-shadow:0 24px 60px rgba(8,34,72,.18);
      transform:translate(-50%,8px);
    }
    .nav-item:hover>.mega-menu,
    .nav-item:focus-within>.mega-menu{
      transform:translate(-50%,0);
    }
    .mega-grid{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:10px;
    }
    .mega-card{
      min-width:0;
      display:grid;
      grid-template-columns:48px minmax(0,1fr);
      grid-template-rows:auto auto auto;
      column-gap:11px;
      padding:11px;
      border:1px solid #e7edf5;
      border-radius:12px;
      background:#fff;
      transition:.18s ease;
    }
    .mega-card:hover{
      border-color:#a9c0e7;
      background:#f8fbff;
      transform:translateY(-2px);
    }
    .mega-card img{
      grid-row:1/4;
      width:48px;
      height:48px;
      object-fit:cover;
      border-radius:9px;
      background:#eef3fa;
    }
    .mega-card strong,
    .mega-card small{
      min-width:0;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .mega-card strong{
      color:#1b2a41;
      font-size:14px;
    }
    .mega-card small{
      color:var(--muted);
      font-size:11px;
    }
    .mega-footer{
      display:flex;
      align-items:center;
      flex-wrap:wrap;
      gap:10px 16px;
      margin:15px -18px -18px;
      padding:13px 18px;
      color:var(--theme);
      background:#f2f6fc;
      border-radius:0 0 16px 16px;
      font-size:13px;
      font-weight:700;
    }
    a.mega-footer{justify-content:flex-end}
    .mega-footer a:hover{text-decoration:underline}

    .header-btns{
      flex:0 0 auto;
      display:flex;
      align-items:center;
      gap:9px;
    }
    .member-link{
      color:var(--theme);
      font-size:14px;
      font-weight:700;
    }
    .open-account{
      padding:9px 15px;
      color:#fff;
      background:var(--theme);
      border-radius:9px;
      font-size:14px;
      font-weight:700;
      box-shadow:0 8px 18px rgba(11,61,145,.18);
    }
    .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(--theme);
      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:90;
      visibility:hidden;
      opacity:0;
      background:rgba(3,14,32,.58);
      transition:.25s ease;
    }
    .drawer-overlay.open{
      visibility:visible;
      opacity:1;
    }
    .mobile-drawer{
      position:fixed;
      top:0;
      right:0;
      bottom:0;
      z-index:100;
      width:min(390px,88vw);
      overflow-y:auto;
      background:#fff;
      box-shadow:-20px 0 60px rgba(0,0,0,.22);
      transform:translateX(105%);
      transition:transform .25s ease;
    }
    .mobile-drawer.open{transform:translateX(0)}
    .drawer-head{
      min-height:70px;
      display:flex;
      align-items:center;
      gap:14px;
      padding:14px 18px;
      color:#fff;
      background:var(--theme);
    }
    .drawer-head strong{
      min-width:0;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .drawer-head a{
      margin-left:auto;
      padding:7px 12px;
      color:var(--theme);
      background:#fff;
      border-radius:8px;
      font-size:13px;
      font-weight:800;
    }
    .drawer-close{
      width:34px;
      height:34px;
      padding:0;
      color:#fff;
      background:transparent;
      border:1px solid rgba(255,255,255,.4);
      border-radius:8px;
      font-size:25px;
      line-height:1;
      cursor:pointer;
    }
    .drawer-menu{padding:12px 18px 28px}
    .drawer-link,
    .drawer-toggle{
      width:100%;
      display:flex;
      align-items:center;
      min-height:48px;
      padding:10px 4px;
      background:transparent;
      border:0;
      border-bottom:1px solid #e7edf5;
      color:#24344c;
      text-align:left;
      font-weight:700;
      cursor:pointer;
    }
    .drawer-toggle::after{
      width:8px;
      height:8px;
      margin-left:auto;
      content:"";
      border-right:2px solid var(--theme);
      border-bottom:2px solid var(--theme);
      transform:rotate(45deg);
      transition:.2s ease;
    }
    .drawer-toggle.active::after{transform:rotate(225deg)}
    .drawer-submenu{
      display:none;
      padding:5px 0 10px 14px;
      background:#f7f9fc;
      border-radius:0 0 10px 10px;
    }
    .drawer-submenu.open{display:block}
    .drawer-submenu a{
      display:block;
      padding:9px 10px;
      color:#53627a;
      border-bottom:1px dashed #dbe3ee;
      font-size:14px;
    }
    .drawer-submenu a:last-child{border-bottom:0}

    .brokerlist-page{min-height:620px}
    .brokerlist-page .broker-intro{
      position:relative;
      overflow:hidden;
      padding:64px 0 54px;
      color:#fff;
      background:
        radial-gradient(circle at 12% 15%,rgba(244,185,66,.26),transparent 25%),
        radial-gradient(circle at 88% 80%,rgba(77,139,232,.34),transparent 30%),
        linear-gradient(135deg,#061b3e 0%,#0B3D91 58%,#174f9f 100%);
    }
    .brokerlist-page .broker-intro::before{
      position:absolute;
      inset:0;
      content:"";
      opacity:.12;
      background-image:
        linear-gradient(rgba(255,255,255,.3) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.3) 1px,transparent 1px);
      background-size:36px 36px;
    }
    .brokerlist-page .intro-inner{
      position:relative;
      z-index:1;
      max-width:850px;
      margin:0 auto;
      text-align:center;
    }
    .brokerlist-page .eyebrow{
      display:inline-flex;
      align-items:center;
      gap:8px;
      margin-bottom:14px;
      padding:6px 12px;
      color:#ffe3a6;
      background:rgba(255,255,255,.1);
      border:1px solid rgba(255,255,255,.18);
      border-radius:999px;
      font-size:13px;
      font-weight:800;
    }
    .brokerlist-page .eyebrow::before{
      width:7px;
      height:7px;
      content:"";
      background:var(--accent);
      border-radius:50%;
      box-shadow:0 0 0 5px rgba(244,185,66,.16);
    }
    .brokerlist-page h1{
      margin:0 0 15px;
      font-size:clamp(34px,5vw,58px);
      line-height:1.15;
      letter-spacing:-.03em;
    }
    .brokerlist-page .intro-copy{
      max-width:720px;
      margin:0 auto;
      color:#dbe8ff;
      font-size:17px;
    }
    .brokerlist-page .intro-points{
      display:flex;
      justify-content:center;
      flex-wrap:wrap;
      gap:10px;
      margin-top:25px;
    }
    .brokerlist-page .intro-points span{
      padding:7px 12px;
      color:#eff5ff;
      background:rgba(3,22,54,.34);
      border:1px solid rgba(255,255,255,.15);
      border-radius:999px;
      font-size:13px;
    }

    .brokerlist-page .broker-content{
      padding:42px 0 70px;
    }
    .brokerlist-page .filter-panel{
      display:grid;
      grid-template-columns:minmax(0,1.3fr) repeat(3,minmax(150px,.65fr)) auto;
      gap:12px;
      align-items:end;
      margin-bottom:25px;
      padding:20px;
      background:#fff;
      border:1px solid var(--line);
      border-radius:var(--radius);
      box-shadow:0 10px 34px rgba(22,48,82,.06);
    }
    .brokerlist-page .filter-field label{
      display:block;
      margin-bottom:6px;
      color:#4f5f76;
      font-size:12px;
      font-weight:800;
    }
    .brokerlist-page .filter-field input,
    .brokerlist-page .filter-field select{
      width:100%;
      height:44px;
      padding:0 12px;
      color:#26354b;
      background:#f9fbfd;
      border:1px solid #d7e0eb;
      border-radius:9px;
      outline:none;
    }
    .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,.1);
    }
    .brokerlist-page .filter-button{
      height:44px;
      padding:0 20px;
      color:#fff;
      background:var(--theme);
      border:0;
      border-radius:9px;
      font-weight:800;
      cursor:pointer;
    }
    .brokerlist-page .filter-button:hover{background:var(--theme-dark)}
    .brokerlist-page .list-heading{
      display:flex;
      align-items:flex-end;
      justify-content:space-between;
      gap:20px;
      margin:28px 0 18px;
    }
    .brokerlist-page .list-heading h2{
      margin:0;
      color:#14243b;
      font-size:27px;
      line-height:1.25;
    }
    .brokerlist-page .list-heading p{
      margin:4px 0 0;
      color:var(--muted);
    }
    .brokerlist-page .list-note{
      flex:0 0 auto;
      color:#7b5b11;
      font-size:13px;
    }
    .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(29,52,82,.06);
      transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
    }
    .brokerlist-page .broker-card:hover{
      border-color:#a9c1e8;
      box-shadow:0 18px 42px rgba(11,61,145,.12);
      transform:translateY(-4px);
    }
    .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 #e7edf4;
    }
    .brokerlist-page .broker-logo{
      width:68px;
      height:68px;
      object-fit:contain;
      padding:7px;
      background:#f8fafc;
      border:1px solid #e2e9f2;
      border-radius:14px;
    }
    .brokerlist-page .broker-name{
      min-width:0;
    }
    .brokerlist-page .broker-name h3{
      margin:0 0 4px;
      overflow:hidden;
      color:#152740;
      font-size:20px;
      line-height:1.3;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .brokerlist-page .broker-regulation{
      color:var(--muted);
      font-size:13px;
    }
    .brokerlist-page .broker-rating{
      min-width:62px;
      padding:8px 9px;
      color:#654b10;
      background:#fff5d9;
      border:1px solid #f5dfa7;
      border-radius:10px;
      text-align:center;
    }
    .brokerlist-page .broker-rating strong{
      display:block;
      font-size:19px;
      line-height:1.1;
    }
    .brokerlist-page .broker-rating span{font-size:11px}
    .brokerlist-page .broker-summary{
      min-height:76px;
      margin:16px 0;
      color:#58677c;
      font-size:14px;
      line-height:1.75;
    }
    .brokerlist-page .broker-facts{
      display:grid;
      grid-template-columns:repeat(3,minmax(0,1fr));
      gap:8px;
      margin:0 0 18px;
    }
    .brokerlist-page .broker-fact{
      min-width:0;
      padding:10px;
      background:#f5f8fc;
      border-radius:10px;
    }
    .brokerlist-page .broker-fact span{
      display:block;
      margin-bottom:3px;
      color:#78869a;
      font-size:11px;
    }
    .brokerlist-page .broker-fact strong{
      display:block;
      overflow:hidden;
      color:#263850;
      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;
      align-items:center;
      justify-content:center;
      min-height:42px;
      padding:8px 14px;
      border-radius:9px;
      font-size:14px;
      font-weight:800;
    }
    .brokerlist-page .review-link{
      color:var(--theme);
      background:#edf3fc;
      border:1px solid #cddcf2;
    }
    .brokerlist-page .review-link:hover{background:#dfeaf9}
    .brokerlist-page .affiliate-link{
      color:#fff;
      background:var(--theme);
      border:1px solid var(--theme);
    }
    .brokerlist-page .affiliate-link:hover{background:var(--theme-dark)}
    .brokerlist-page .risk-panel{
      display:grid;
      grid-template-columns:auto minmax(0,1fr);
      gap:14px;
      align-items:start;
      margin-top:28px;
      padding:18px 20px;
      color:#684c0b;
      background:#fff8e7;
      border:1px solid #efdcad;
      border-radius:14px;
    }
    .brokerlist-page .risk-icon{
      width:34px;
      height:34px;
      display:grid;
      place-items:center;
      color:#fff;
      background:#ba861c;
      border-radius:50%;
      font-weight:900;
    }
    .brokerlist-page .risk-panel strong{display:block;margin-bottom:2px}
    .brokerlist-page .risk-panel p{margin:0;font-size:13px}
    .brokerlist-page .pagination{
      display:flex;
      justify-content:center;
      flex-wrap:wrap;
      gap:8px;
      margin-top:34px;
    }
    .brokerlist-page .pagination a{
      min-width:40px;
      height:40px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      padding:0 12px;
      color:#405068;
      background:#fff;
      border:1px solid var(--line);
      border-radius:9px;
      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);
    }

    .footer{
      color:#cbd8eb;
      background:#07182f;
    }
    .footer-grid{
      display:grid;
      grid-template-columns:1.5fr repeat(3,1fr);
      gap:42px;
      padding:54px 0 38px;
    }
    .footer h3,
    .footer-brand strong{
      display:block;
      margin:0 0 15px;
      color:#fff;
      font-size:17px;
    }
    .footer-brand p{
      margin:7px 0;
      color:#9fb1c9;
      font-size:14px;
    }
    .footer-grid>div:not(.footer-brand)>a{
      display:block;
      margin:9px 0;
      color:#aebed2;
      font-size:14px;
    }
    .footer a:hover{color:#fff}
    .footer-bottom{
      min-height:66px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:22px;
      color:#869ab5;
      border-top:1px solid rgba(255,255,255,.1);
      font-size:13px;
    }

    @media (max-width:1080px){
      .main-nav{display:none}
      .hamburger{display:flex}
      .header-inner{min-height:70px}
      .header-btns{margin-left:auto}
      .brokerlist-page .filter-panel{
        grid-template-columns:repeat(2,minmax(0,1fr));
      }
      .brokerlist-page .filter-button{width:100%}
    }
    @media (max-width:820px){
      .brokerlist-page .broker-grid{grid-template-columns:1fr}
      .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
      .footer-bottom{
        align-items:flex-start;
        flex-direction:column;
        padding:18px 0;
      }
    }
    @media (max-width:620px){
      .container{width:min(100% - 28px,1200px)}
      .topbar .container{
        min-height:46px;
        align-items:flex-start;
        justify-content:center;
        flex-direction:column;
        gap:2px;
        padding:6px 0;
      }
      .topbar-links{
        width:100%;
        justify-content:space-between;
        gap:8px;
      }
      .topbar-links a{font-size:11px}
      .logo span{font-size:16px}
      .logo img{width:37px;height:37px}
      .member-link{display:none}
      .open-account{padding:8px 11px}
      .brokerlist-page .broker-intro{padding:46px 0 42px}
      .brokerlist-page .intro-copy{font-size:15px}
      .brokerlist-page .broker-content{padding:28px 0 52px}
      .brokerlist-page .filter-panel{grid-template-columns:1fr;padding:16px}
      .brokerlist-page .list-heading{
        align-items:flex-start;
        flex-direction:column;
      }
      .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 .broker-rating{
        grid-column:1/-1;
        display:flex;
        align-items:center;
        justify-content:center;
        gap:5px;
      }
      .brokerlist-page .broker-rating strong{display:inline}
      .brokerlist-page .broker-summary{min-height:0}
      .brokerlist-page .broker-facts{grid-template-columns:1fr}
      .brokerlist-page .broker-actions{flex-direction:column}
      .footer-grid{
        grid-template-columns:1fr;
        gap:24px;
        padding:42px 0 30px;
      }
    }