:root {
      --theme: #0B3D91;
      --theme-dark: #082d6b;
      --ink: #142033;
      --muted: #68758a;
      --line: #dfe5ed;
      --surface: #ffffff;
      --soft: #f4f7fb;
      --accent: #e7a641;
      --success: #198754;
      --shadow: 0 18px 45px rgba(15, 37, 74, .10);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      color: var(--ink);
      background: #f6f8fb;
      font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; }
    button, input, select { font: inherit; }
    .container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

    .topbar {
      color: #dce8fb;
      background: #091a38;
      font-size: 13px;
    }
    .topbar-inner {
      min-height: 36px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
    .topbar-links { display: flex; gap: 22px; }
    .topbar a:hover { color: #fff; }

    .header {
      position: relative;
      z-index: 20;
      background: #fff;
      border-bottom: 1px solid var(--line);
    }
    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      gap: 34px;
    }
    .logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-width: 190px;
      color: var(--theme);
      font-size: 19px;
      font-weight: 800;
      white-space: nowrap;
    }
    .logo img {
      width: 36px;
      height: 36px;
      object-fit: contain;
    }
    .main-nav { flex: 1; }
    .nav-list {
      display: flex;
      align-items: stretch;
      justify-content: center;
      gap: 4px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .nav-item { position: relative; }
    .nav-link {
      display: flex;
      align-items: center;
      min-height: 76px;
      padding: 0 13px;
      color: #26354d;
      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: 1px solid currentColor;
      border-bottom: 1px solid currentColor;
      transform: rotate(45deg);
    }
    .dropdown-panel, .mega-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      z-index: 30;
      visibility: hidden;
      opacity: 0;
      transform: translate(-50%, 8px);
      transition: .2s ease;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }
    .dropdown-panel {
      width: 270px;
      padding: 20px;
    }
    .mega-menu {
      width: min(780px, 90vw);
      padding: 26px;
    }
    .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;
      transform: translate(-50%, 0);
    }
    .dropdown-title, .mega-title {
      margin: 0 0 13px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .04em;
    }
    .dropdown-list, .mega-links { display: grid; gap: 8px; }
    .dropdown-list a, .mega-links a {
      padding: 7px 0;
      color: #4b5a70;
      font-size: 14px;
      border-bottom: 1px solid #edf0f5;
    }
    .dropdown-list a:hover, .mega-links a:hover { color: var(--theme); }
    .mega-grid {
      display: grid;
      grid-template-columns: 1fr 220px;
      gap: 30px;
    }
    .mega-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .mega-card {
      display: flex;
      gap: 10px;
      min-width: 0;
      padding: 10px;
      background: #f7f9fc;
      border: 1px solid #edf0f5;
    }
    .mega-card:hover { border-color: #b8c9e6; }
    .mega-card img {
      flex: 0 0 38px;
      width: 38px;
      height: 38px;
      object-fit: contain;
      background: #fff;
    }
    .mega-card > span { min-width: 0; display: grid; gap: 2px; }
    .mega-card strong, .mega-card span span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .mega-card strong { color: #1c2a40; font-size: 13px; }
    .mega-card span span { color: var(--muted); font-size: 11px; }
    .mega-footer {
      display: inline-block;
      margin-top: 20px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
    }
    .header-btns { display: flex; align-items: center; gap: 10px; }
    .member-link, .account-link {
      display: inline-flex;
      align-items: center;
      min-height: 38px;
      padding: 0 13px;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }
    .member-link { color: var(--theme); }
    .account-link { color: #fff; background: var(--theme); }
    .account-link:hover { background: var(--theme-dark); }
    .hamburger {
      display: none;
      width: 42px;
      height: 38px;
      padding: 8px;
      border: 1px solid var(--line);
      background: #fff;
      cursor: pointer;
    }
    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      margin: 4px auto;
      background: var(--theme);
      transition: .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: 39;
      visibility: hidden;
      opacity: 0;
      background: rgba(5, 17, 39, .52);
      transition: .2s;
    }
    .drawer-overlay.open { visibility: visible; opacity: 1; }
    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 40;
      width: min(380px, 88vw);
      height: 100vh;
      overflow-y: auto;
      visibility: hidden;
      transform: translateX(100%);
      background: #fff;
      transition: .25s ease;
    }
    .mobile-drawer.open { visibility: visible; transform: translateX(0); }
    .drawer-head {
      display: flex;
      align-items: center;
      gap: 14px;
      min-height: 70px;
      padding: 0 22px;
      color: #fff;
      background: var(--theme);
      font-weight: 700;
    }
    .drawer-head span { flex: 1; }
    .drawer-head a { color: #fff; font-size: 14px; }
    .drawer-close {
      padding: 0;
      color: #fff;
      border: 0;
      background: transparent;
      font-size: 28px;
      cursor: pointer;
    }
    .drawer-menu { padding: 12px 22px 30px; }
    .drawer-link, .drawer-toggle {
      display: block;
      width: 100%;
      padding: 14px 0;
      color: #26354d;
      text-align: left;
      border: 0;
      border-bottom: 1px solid var(--line);
      background: transparent;
      cursor: pointer;
      font-weight: 700;
    }
    .drawer-toggle::after {
      content: "+";
      float: right;
      color: var(--theme);
      font-size: 20px;
      line-height: 1;
    }
    .drawer-toggle.active::after { content: "−"; }
    .drawer-submenu {
      display: none;
      padding: 5px 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: 14px;
    }

    .brokerlist-page { padding-bottom: 80px; }
    .page-hero {
      position: relative;
      overflow: hidden;
      padding: 76px 0 72px;
      color: #fff;
      background:
        linear-gradient(120deg, rgba(7, 28, 68, .98), rgba(11, 61, 145, .88)),
        radial-gradient(circle at 80% 20%, rgba(231, 166, 65, .55), transparent 30%);
    }
    .page-hero::after {
      content: "";
      position: absolute;
      right: 8%;
      bottom: -60px;
      width: 260px;
      height: 260px;
      border: 1px solid rgba(255,255,255,.15);
      transform: rotate(45deg);
    }
    .page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #ffd78a;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .12em;
    }
    .eyebrow::before {
      content: "";
      width: 28px;
      height: 2px;
      background: var(--accent);
    }
    .page-hero h1 {
      margin: 14px 0 14px;
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.12;
    }
    .page-hero p { max-width: 670px; margin: 0; color: #d7e3f7; font-size: 17px; }
    .breadcrumb {
      margin-top: 24px;
      color: #a9c0e5;
      font-size: 13px;
    }
    .breadcrumb a { color: #fff; }

    .filter-bar {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 20px;
      margin: 36px auto 24px;
      padding: 20px 22px;
      background: #fff;
      border: 1px solid var(--line);
      box-shadow: 0 8px 24px rgba(15, 37, 74, .05);
    }
    .filter-copy h2 { margin: 0 0 3px; font-size: 20px; }
    .filter-copy p { margin: 0; color: var(--muted); font-size: 13px; }
    .filter-controls { display: flex; gap: 10px; }
    .filter-controls select {
      min-width: 150px;
      height: 40px;
      padding: 0 12px;
      color: #36465d;
      border: 1px solid var(--line);
      background: #fff;
    }
    .broker-grid { display: grid; gap: 16px; }
    .broker-card {
      display: grid;
      grid-template-columns: 220px 1fr auto;
      gap: 24px;
      align-items: center;
      padding: 24px;
      background: var(--surface);
      border: 1px solid var(--line);
      transition: .2s ease;
    }
    .broker-card:hover {
      border-color: #9db7df;
      box-shadow: 0 12px 30px rgba(11, 61, 145, .09);
      transform: translateY(-2px);
    }
    .broker-identity {
      display: flex;
      align-items: center;
      gap: 14px;
      min-width: 0;
    }
    .broker-identity img {
      width: 64px;
      height: 64px;
      padding: 8px;
      object-fit: contain;
      border: 1px solid var(--line);
      background: #fff;
    }
    .broker-identity h3 { margin: 0; color: #172943; font-size: 18px; }
    .broker-identity p {
      margin: 4px 0 0;
      color: var(--muted);
      font-size: 12px;
    }
    .broker-summary { min-width: 0; }
    .broker-summary p { margin: 0 0 14px; color: #59687d; font-size: 14px; }
    .broker-meta {
      display: grid;
      grid-template-columns: repeat(4, minmax(90px, 1fr));
      gap: 10px;
    }
    .meta-item {
      padding-left: 12px;
      border-left: 2px solid #dce6f5;
    }
    .meta-item small { display: block; color: var(--muted); font-size: 11px; }
    .meta-item strong { display: block; margin-top: 2px; color: #1a3159; font-size: 14px; }
    .broker-action { min-width: 105px; text-align: center; }
    .rating { color: #c78313; font-weight: 800; font-size: 17px; }
    .rating-label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 11px; }
    .review-link {
      display: inline-flex;
      min-height: 38px;
      align-items: center;
      justify-content: center;
      padding: 0 15px;
      color: #fff;
      background: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }
    .review-link:hover { background: var(--theme-dark); }
    .pagination {
      display: flex;
      justify-content: center;
      gap: 7px;
      margin-top: 34px;
    }
    .pagination a {
      display: inline-flex;
      min-width: 38px;
      height: 38px;
      align-items: center;
      justify-content: center;
      color: var(--theme);
      border: 1px solid var(--line);
      background: #fff;
      font-size: 13px;
    }
    .pagination a:hover, .pagination a.active {
      color: #fff;
      border-color: var(--theme);
      background: var(--theme);
    }

    .footer {
      color: #c5d0e0;
      background: #0a1830;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.3fr 1fr 1fr 1fr;
      gap: 42px;
      padding: 54px 0 42px;
    }
    .footer-brand strong { color: #fff; font-size: 20px; }
    .footer-brand p { max-width: 300px; margin: 13px 0 0; color: #94a5be; font-size: 13px; }
    .footer h3 { margin: 0 0 14px; color: #fff; font-size: 14px; }
    .footer-links { display: grid; gap: 8px; }
    .footer-links a, .footer-links span { color: #9eafc7; font-size: 13px; }
    .footer-links a:hover { color: #fff; }
    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding: 18px 0;
      color: #7f91ad;
      border-top: 1px solid rgba(255,255,255,.1);
      font-size: 12px;
    }

    @media (max-width: 980px) {
      .header-inner { gap: 18px; }
      .logo { min-width: 150px; }
      .nav-link { padding: 0 8px; font-size: 13px; }
      .member-link { display: none; }
      .broker-card { grid-template-columns: 190px 1fr; }
      .broker-action { grid-column: 2; text-align: left; }
    }
    @media (max-width: 760px) {
      .container { width: min(100% - 28px, 620px); }
      .topbar-inner { align-items: flex-start; flex-direction: column; gap: 2px; padding: 8px 0; }
      .topbar-links { gap: 14px; flex-wrap: wrap; }
      .header-inner { min-height: 66px; }
      .main-nav { display: none; }
      .header-btns { margin-left: auto; }
      .hamburger { display: block; }
      .page-hero { padding: 54px 0 50px; }
      .page-hero h1 { font-size: 38px; }
      .page-hero p { font-size: 15px; }
      .filter-bar { align-items: stretch; flex-direction: column; margin-top: 24px; }
      .filter-controls { flex-direction: column; }
      .filter-controls select { width: 100%; }
      .broker-card { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
      .broker-action { grid-column: auto; }
      .broker-meta { grid-template-columns: repeat(2, 1fr); }
      .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 22px; padding: 40px 0 30px; }
      .footer-brand { grid-column: 1 / -1; }
      .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
    }
    @media (max-width: 420px) {
      .account-link { display: none; }
      .footer-grid { grid-template-columns: 1fr; }
      .footer-brand { grid-column: auto; }
    }