:root {
      --theme: #0B3D91;
      --theme-dark: #082b68;
      --ink: #172033;
      --muted: #697386;
      --line: #e5e9f0;
      --soft: #f5f7fb;
      --paper: #ffffff;
      --accent: #d94841;
      --shadow: 0 16px 40px rgba(15, 35, 70, .08);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: #f7f8fb;
      font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
      line-height: 1.6;
    }
    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 {
      color: #d9e5fa;
      background: #091b3b;
      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:hover { color: #fff; }

    .header {
      position: relative;
      z-index: 20;
      background: var(--paper);
      border-bottom: 1px solid var(--line);
    }
    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      gap: 30px;
    }
    .logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-width: 190px;
      color: var(--theme);
      font-size: 20px;
      font-weight: 800;
      white-space: nowrap;
    }
    .logo img {
      width: 36px;
      height: 36px;
      object-fit: contain;
    }
    .main-nav { margin-left: auto; }
    .nav-list {
      display: flex;
      align-items: stretch;
      gap: 4px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .nav-item { position: relative; }
    .nav-link {
      min-height: 76px;
      display: inline-flex;
      align-items: center;
      padding: 0 14px;
      color: #3c4659;
      font-size: 15px;
      font-weight: 600;
      white-space: nowrap;
    }
    .nav-link:hover,
    .nav-link:focus-visible { color: var(--theme); }
    .has-arrow::after {
      content: "";
      width: 6px;
      height: 6px;
      margin: -3px 0 0 8px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: calc(100% - 1px);
      left: 50%;
      width: 330px;
      padding: 22px;
      opacity: 0;
      visibility: hidden;
      transform: translate(-50%, 8px);
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }
    .mega-menu {
      width: min(920px, calc(100vw - 40px));
      padding: 28px;
    }
    .dropdown-panel::before,
    .mega-menu::before {
      content: "";
      position: absolute;
      top: -12px;
      left: 0;
      right: 0;
      height: 12px;
    }
    .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;
      transform: translate(-50%, 0);
    }
    .panel-title,
    .mega-section h3 {
      margin: 0 0 14px;
      color: var(--ink);
      font-size: 16px;
    }
    .dropdown-list,
    .mega-list {
      display: grid;
      gap: 9px;
    }
    .dropdown-list a,
    .mega-list > a {
      display: block;
      padding: 7px 0;
      color: #48546a;
      font-size: 14px;
    }
    .dropdown-list a:hover,
    .mega-list > a:hover { color: var(--theme); }
    .mega-columns {
      display: grid;
      grid-template-columns: 1.15fr 1fr .9fr;
      gap: 28px;
    }
    .mega-section {
      min-width: 0;
      padding-right: 22px;
      border-right: 1px solid var(--line);
    }
    .mega-section:last-child {
      padding-right: 0;
      border-right: 0;
    }
    .mega-section p {
      margin: 0 0 18px;
      color: var(--muted);
      font-size: 13px;
    }
    .broker-mega-card,
    .video-mega-card,
    .product-mega-card {
      display: flex !important;
      align-items: center;
      gap: 10px;
    }
    .broker-mega-card img,
    .video-mega-card img,
    .product-mega-card img {
      width: 30px;
      height: 30px;
      flex: 0 0 30px;
      object-fit: contain;
      border-radius: 4px;
      background: var(--soft);
    }
    .mega-meta {
      display: block;
      color: #8993a5;
      font-size: 11px;
      font-weight: 400;
    }
    .mega-footer {
      display: inline-block;
      color: var(--theme) !important;
      font-size: 13px !important;
      font-weight: 700;
    }

    .header-btns {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .member-link,
    .account-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 15px;
      border: 1px solid var(--theme);
      font-size: 13px;
      font-weight: 700;
    }
    .member-link { color: var(--theme); }
    .account-link {
      color: #fff;
      background: var(--theme);
    }
    .member-link:hover { background: #eff4fc; }
    .account-link:hover { background: var(--theme-dark); }

    .hamburger {
      display: none;
      width: 42px;
      height: 42px;
      padding: 9px;
      border: 1px solid var(--line);
      background: #fff;
      cursor: pointer;
    }
    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      margin: 5px auto;
      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,
    .mobile-drawer { display: none; }

    .brokerlist-page {
      padding: 64px 0 86px;
    }
    .page-heading {
      max-width: 760px;
      margin: 0 auto 38px;
      text-align: center;
    }
    .eyebrow {
      margin: 0 0 10px;
      color: var(--theme);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .14em;
    }
    .page-heading h1 {
      margin: 0 0 14px;
      color: var(--ink);
      font-size: clamp(30px, 4vw, 46px);
      line-height: 1.2;
    }
    .page-heading p {
      margin: 0;
      color: var(--muted);
      font-size: 16px;
    }
    .filter-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 24px;
      padding: 18px 22px;
      background: #fff;
      border: 1px solid var(--line);
    }
    .filter-title {
      margin: 0;
      font-size: 16px;
    }
    .filter-note {
      color: var(--muted);
      font-size: 13px;
    }
    .broker-grid {
      display: grid;
      gap: 18px;
    }
    .broker-card {
      display: grid;
      grid-template-columns: 230px minmax(0, 1fr) 170px;
      gap: 25px;
      align-items: center;
      padding: 24px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 8px 24px rgba(15, 35, 70, .04);
    }
    .broker-brand {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }
    .broker-brand img {
      width: 58px;
      height: 58px;
      flex: 0 0 58px;
      padding: 7px;
      object-fit: contain;
      border: 1px solid var(--line);
      background: #fff;
    }
    .broker-brand h2 {
      margin: 0;
      color: var(--ink);
      font-size: 18px;
      line-height: 1.3;
    }
    .broker-score {
      margin-top: 5px;
      color: #bf7612;
      font-size: 13px;
      font-weight: 700;
    }
    .broker-summary {
      min-width: 0;
    }
    .broker-summary p {
      display: -webkit-box;
      overflow: hidden;
      margin: 0 0 15px;
      color: var(--muted);
      font-size: 14px;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }
    .broker-facts {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 20px;
      margin: 0;
      color: #4c586c;
      font-size: 13px;
    }
    .broker-facts span { white-space: nowrap; }
    .broker-facts strong {
      margin-right: 4px;
      color: #919bad;
      font-weight: 500;
    }
    .broker-actions {
      display: grid;
      gap: 9px;
    }
    .broker-actions a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 0 12px;
      border: 1px solid var(--theme);
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }
    .broker-actions a:first-child {
      color: #fff;
      background: var(--theme);
    }
    .broker-actions a:hover { background: var(--theme-dark); color: #fff; }
    .pagination {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 38px;
    }
    .pagination a {
      min-width: 38px;
      min-height: 38px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 10px;
      border: 1px solid var(--line);
      background: #fff;
      color: #526078;
      font-size: 13px;
    }
    .pagination a:hover,
    .pagination a.active {
      color: #fff;
      background: var(--theme);
      border-color: var(--theme);
    }

    .footer {
      color: #c6d0e2;
      background: #0b1830;
    }
    .footer-main {
      display: grid;
      grid-template-columns: 1.35fr 1fr 1fr 1fr;
      gap: 45px;
      padding-top: 54px;
      padding-bottom: 44px;
    }
    .footer h2,
    .footer h3 {
      margin: 0 0 15px;
      color: #fff;
    }
    .footer h2 { font-size: 21px; }
    .footer h3 { font-size: 15px; }
    .footer p {
      max-width: 310px;
      margin: 0;
      color: #9facbf;
      font-size: 13px;
    }
    .footer-links {
      display: grid;
      gap: 8px;
      margin: 0;
      padding: 0;
      list-style: none;
      color: #aebbd0;
      font-size: 13px;
    }
    .footer-links a:hover { color: #fff; }
    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding-top: 17px;
      padding-bottom: 20px;
      border-top: 1px solid rgba(255,255,255,.12);
      color: #8897ae;
      font-size: 12px;
    }

    @media (max-width: 980px) {
      .main-nav { display: none; }
      .member-link,
      .account-link { display: none; }
      .hamburger { display: block; }
      .broker-card { grid-template-columns: 210px minmax(0, 1fr); }
      .broker-actions { grid-column: 1 / -1; display: flex; justify-content: flex-start; }
      .broker-actions a { min-width: 130px; }
      .footer-main { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 640px) {
      .container { width: min(100% - 28px, 1180px); }
      .topbar-inner { min-height: 48px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 0; }
      .topbar-contact { gap: 12px; font-size: 12px; }
      .header-inner { min-height: 66px; }
      .logo { min-width: 0; font-size: 17px; }
      .logo img { width: 32px; height: 32px; }
      .brokerlist-page { padding: 42px 0 62px; }
      .page-heading { margin-bottom: 28px; text-align: left; }
      .page-heading h1 { font-size: 32px; }
      .page-heading p { font-size: 14px; }
      .filter-bar { align-items: flex-start; flex-direction: column; padding: 16px; }
      .broker-card { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
      .broker-actions { grid-column: auto; }
      .broker-actions a { flex: 1; min-width: 0; }
      .broker-facts { gap: 7px 13px; }
      .footer-main { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
      .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
    }

    @media (max-width: 980px) {
      .drawer-overlay {
        position: fixed;
        z-index: 39;
        inset: 0;
        display: block;
        visibility: hidden;
        opacity: 0;
        background: rgba(5, 16, 35, .58);
        transition: opacity .2s ease, visibility .2s ease;
      }
      .drawer-overlay.open { visibility: visible; opacity: 1; }
      .mobile-drawer {
        position: fixed;
        z-index: 40;
        top: 0;
        right: 0;
        bottom: 0;
        display: block;
        width: min(360px, 88vw);
        overflow-y: auto;
        background: #fff;
        transform: translateX(100%);
        transition: transform .25s ease;
      }
      .mobile-drawer.open { transform: translateX(0); }
      .drawer-head {
        min-height: 70px;
        display: flex;
        align-items: center;
        gap: 13px;
        padding: 0 20px;
        color: var(--theme);
        font-size: 15px;
        font-weight: 700;
        border-bottom: 1px solid var(--line);
      }
      .drawer-head a {
        margin-left: auto;
        color: var(--theme);
        font-size: 13px;
      }
      .drawer-close {
        width: 34px;
        height: 34px;
        border: 1px solid var(--line);
        color: var(--ink);
        background: #fff;
        cursor: pointer;
        font-size: 23px;
        line-height: 1;
      }
      .drawer-menu { padding: 12px 20px 28px; }
      .drawer-link,
      .drawer-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
        padding: 0;
        border: 0;
        border-bottom: 1px solid var(--line);
        color: var(--ink);
        background: transparent;
        text-align: left;
        cursor: pointer;
        font-size: 14px;
        font-weight: 600;
      }
      .drawer-toggle::after {
        content: "+";
        color: var(--theme);
        font-size: 20px;
        font-weight: 400;
      }
      .drawer-toggle.active::after { content: "−"; }
      .drawer-submenu {
        display: none;
        padding: 7px 0 8px 15px;
        border-bottom: 1px solid var(--line);
      }
      .drawer-submenu.open { display: grid; }
      .drawer-submenu a {
        padding: 8px 0;
        color: var(--muted);
        font-size: 13px;
      }
      .drawer-submenu a:hover { color: var(--theme); }
    }