:root {
      --theme: #0B3D91;
      --ink: #18231f;
      --muted: #66736d;
      --line: #d8dfda;
      --mist: #f3f6f2;
      --white: #ffffff;
      --accent: #91a76d;
      --shadow: 0 18px 48px rgba(24, 35, 31, .10);
      --max: 1180px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: #fbfcfa;
      font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
      line-height: 1.7;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      height: auto;
    }

    button {
      font: inherit;
    }

    .container {
      width: min(calc(100% - 40px), var(--max));
      margin: 0 auto;
    }

    .topbar {
      color: #dce7df;
      background: #1c2924;
      font-size: 13px;
    }

    .topbar .container {
      min-height: 36px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .topbar-links {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;
    }

    .topbar a:hover {
      color: #fff;
    }

    .header {
      position: relative;
      z-index: 20;
      background: rgba(255, 255, 255, .96);
      border-bottom: 1px solid var(--line);
    }

    .header-inner {
      min-height: 76px;
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      flex: 0 0 auto;
      font-size: 18px;
      font-weight: 800;
      color: var(--theme);
      white-space: nowrap;
    }

    .logo img {
      width: 36px;
      height: 36px;
      object-fit: contain;
    }

    .main-nav {
      flex: 1;
    }

    .nav-list {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2px;
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .nav-item {
      position: relative;
    }

    .nav-link {
      display: inline-flex;
      align-items: center;
      min-height: 76px;
      padding: 0 13px;
      color: #34413b;
      font-size: 14px;
      font-weight: 700;
      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: calc(100% - 1px);
      left: 50%;
      width: 300px;
      padding: 16px;
      border: 1px solid var(--line);
      background: #fff;
      box-shadow: var(--shadow);
      opacity: 0;
      visibility: hidden;
      transform: translate(-50%, 8px);
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .mega-menu {
      width: min(680px, 82vw);
      padding: 20px;
    }

    .dropdown-panel::before,
    .mega-menu::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: -14px;
      height: 14px;
    }

    .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);
    }

    .dropdown-panel > a:not(.mega-footer),
    .mega-card {
      display: block;
      padding: 10px 12px;
      border-bottom: 1px solid #edf1ed;
      color: #3c4942;
      font-size: 13px;
    }

    .dropdown-panel > a:hover,
    .mega-card:hover {
      color: var(--theme);
      background: var(--mist);
    }

    .mega-heading {
      display: flex;
      justify-content: space-between;
      gap: 15px;
      padding: 0 2px 12px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
    }

    .mega-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }

    .mega-card {
      min-height: 80px;
      border: 1px solid #e6ebe6;
      background: #fbfcfa;
    }

    .mega-card img {
      width: 24px;
      height: 24px;
      display: block;
      object-fit: contain;
      margin-bottom: 5px;
    }

    .mega-card strong,
    .mega-card small {
      display: block;
    }

    .mega-card strong {
      margin-bottom: 3px;
      font-size: 13px;
    }

    .mega-card small {
      color: var(--muted);
      font-size: 11px;
      line-height: 1.5;
    }

    .mega-footer {
      display: block;
      margin-top: 13px;
      padding-top: 12px;
      border-top: 1px solid var(--line);
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
    }

    .header-btns {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 0 0 auto;
    }

    .member-link,
    .account-link {
      padding: 8px 13px;
      border: 1px solid var(--theme);
      font-size: 13px;
      font-weight: 700;
    }

    .member-link {
      color: var(--theme);
      background: #fff;
    }

    .account-link {
      color: #fff;
      background: var(--theme);
    }

    .member-link:hover,
    .account-link:hover {
      opacity: .84;
    }

    .hamburger {
      display: none;
      width: 42px;
      height: 42px;
      padding: 9px;
      border: 1px solid var(--line);
      background: #fff;
      cursor: pointer;
    }

    .hamburger span {
      display: block;
      height: 2px;
      margin: 5px 0;
      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: 30;
      background: rgba(17, 28, 23, .42);
      opacity: 0;
      visibility: hidden;
      transition: opacity .2s ease, visibility .2s ease;
    }

    .drawer-overlay.open {
      opacity: 1;
      visibility: visible;
    }

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 31;
      width: min(390px, 88vw);
      height: 100vh;
      overflow-y: auto;
      background: #fff;
      box-shadow: -18px 0 40px rgba(0, 0, 0, .14);
      transform: translateX(100%);
      transition: transform .25s ease;
    }

    .mobile-drawer.open {
      transform: translateX(0);
    }

    .drawer-head {
      min-height: 72px;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px 20px;
      border-bottom: 1px solid var(--line);
      color: var(--theme);
      font-weight: 800;
    }

    .drawer-head > span {
      flex: 1;
    }

    .drawer-head a {
      padding: 6px 10px;
      color: #fff;
      background: var(--theme);
      font-size: 13px;
    }

    .drawer-close {
      width: 36px;
      height: 36px;
      border: 1px solid var(--line);
      background: #fff;
      color: var(--ink);
      font-size: 24px;
      line-height: 1;
      cursor: pointer;
    }

    .drawer-menu {
      padding: 10px 20px 30px;
    }

    .drawer-link,
    .drawer-toggle {
      display: block;
      width: 100%;
      padding: 13px 0;
      border: 0;
      border-bottom: 1px solid #edf1ed;
      background: transparent;
      color: var(--ink);
      text-align: left;
      font-weight: 700;
      cursor: pointer;
    }

    .drawer-toggle::after {
      content: "+";
      float: right;
      color: var(--theme);
      font-size: 18px;
      font-weight: 400;
    }

    .drawer-toggle.active::after {
      content: "−";
    }

    .drawer-submenu {
      display: none;
      padding: 5px 0 8px 15px;
      border-bottom: 1px solid #edf1ed;
    }

    .drawer-submenu.open {
      display: block;
    }

    .drawer-submenu a {
      display: block;
      padding: 7px 0;
      color: var(--muted);
      font-size: 13px;
    }

    .drawer-submenu a:hover {
      color: var(--theme);
    }

    .footer {
      margin-top: 72px;
      color: #dce7df;
      background: #1c2924;
    }

    .footer .container {
      padding-top: 48px;
      padding-bottom: 22px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 35px;
    }

    .footer h2,
    .footer h3 {
      margin: 0 0 13px;
      color: #fff;
    }

    .footer h2 {
      font-size: 19px;
    }

    .footer h3 {
      font-size: 14px;
    }

    .footer p {
      margin: 0;
      color: #aebdb4;
      font-size: 13px;
    }

    .footer-links {
      display: grid;
      gap: 7px;
      margin: 0;
      padding: 0;
      list-style: none;
      color: #b9c7bf;
      font-size: 13px;
    }

    .footer-links a:hover {
      color: #fff;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      margin-top: 36px;
      padding-top: 17px;
      border-top: 1px solid rgba(220, 231, 223, .18);
      color: #9eafa5;
      font-size: 12px;
    }

    .broker-review-page {
      overflow: hidden;
    }

    .broker-hero {
      position: relative;
      padding: 72px 0 64px;
      background:
        linear-gradient(135deg, rgba(11, 61, 145, .96), rgba(24, 41, 36, .96)),
        repeating-linear-gradient(0deg, transparent 0 29px, rgba(255,255,255,.08) 30px);
      color: #fff;
    }

    .broker-hero::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -1px;
      height: 40px;
      background: #fbfcfa;
      clip-path: polygon(0 100%, 0 74%, 12% 84%, 25% 48%, 38% 68%, 51% 26%, 63% 58%, 75% 34%, 88% 72%, 100% 42%, 100% 100%);
    }

    .broker-hero-inner {
      position: relative;
      z-index: 1;
    }

    .breadcrumb {
      margin-bottom: 20px;
      color: #d5e1eb;
      font-size: 13px;
    }

    .breadcrumb a {
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .broker-identity {
      display: flex;
      align-items: center;
      gap: 22px;
    }

    .broker-logo {
      width: 84px;
      height: 84px;
      display: grid;
      place-items: center;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.45);
      background: rgba(255,255,255,.96);
    }

    .broker-logo img {
      width: 72px;
      height: 72px;
      object-fit: contain;
    }

    .broker-identity h1 {
      margin: 0 0 8px;
      font-size: clamp(28px, 4vw, 48px);
      line-height: 1.2;
    }

    .broker-identity p {
      max-width: 720px;
      margin: 0;
      color: #dce7ef;
    }

    .broker-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 28px;
    }

    .button-primary,
    .button-secondary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 9px 19px;
      font-size: 14px;
      font-weight: 800;
    }

    .button-primary {
      color: var(--theme);
      background: #fff;
    }

    .button-secondary {
      border: 1px solid rgba(255,255,255,.65);
      color: #fff;
    }

    .button-primary:hover,
    .button-secondary:hover {
      opacity: .84;
    }

    .review-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr);
      gap: 28px;
      align-items: start;
      padding-top: 48px;
    }

    .review-content,
    .review-sidebar {
      min-width: 0;
    }

    .review-section {
      margin-bottom: 28px;
      padding: 28px;
      border: 1px solid var(--line);
      background: #fff;
      box-shadow: 0 8px 24px rgba(24, 35, 31, .04);
    }

    .review-section h2 {
      margin: 0 0 16px;
      color: var(--theme);
      font-size: 23px;
      line-height: 1.35;
    }

    .review-section h3 {
      margin: 22px 0 8px;
      font-size: 17px;
    }

    .broker-content {
      min-width: 0;
      max-width: 100%;
      overflow-x: auto;
    }

    .broker-content img,
    .broker-content table {
      max-width: 100%;
    }

    .broker-content table {
      border-collapse: collapse;
    }

    .broker-content th,
    .broker-content td {
      padding: 8px 12px;
      border: 1px solid var(--line);
    }

    .rating-panel {
      padding: 26px;
      color: #fff;
      background: var(--theme);
    }

    .rating-panel h2 {
      margin: 0 0 13px;
      color: #fff;
      font-size: 19px;
    }

    .rating-score {
      display: flex;
      align-items: baseline;
      gap: 8px;
      margin-bottom: 19px;
    }

    .rating-score strong {
      font-size: 46px;
      line-height: 1;
    }

    .rating-score span {
      color: #dbe8f5;
      font-size: 13px;
    }

    .rating-panel .button-primary {
      width: 100%;
    }

    .facts-panel {
      margin-top: 18px;
      padding: 23px;
      border: 1px solid var(--line);
      background: #fff;
    }

    .facts-panel h2 {
      margin: 0 0 14px;
      color: var(--theme);
      font-size: 19px;
    }

    .facts-list {
      display: grid;
      gap: 0;
      margin: 0;
    }

    .facts-list div {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      padding: 10px 0;
      border-bottom: 1px solid #edf1ed;
      font-size: 13px;
    }

    .facts-list div:last-child {
      border-bottom: 0;
    }

    .facts-list dt {
      color: var(--muted);
    }

    .facts-list dd {
      margin: 0;
      color: var(--ink);
      font-weight: 700;
      text-align: right;
    }

    .related-panel {
      margin-top: 18px;
      padding: 23px;
      border: 1px solid var(--line);
      background: #fff;
    }

    .related-panel h2 {
      margin: 0 0 13px;
      color: var(--theme);
      font-size: 19px;
    }

    .related-list {
      display: grid;
      gap: 9px;
    }

    .related-list a {
      display: block;
      padding: 10px 0;
      border-bottom: 1px solid #edf1ed;
      font-size: 13px;
      font-weight: 700;
    }

    .related-list a:hover {
      color: var(--theme);
    }

    @media (max-width: 1050px) {
      .nav-link {
        padding-inline: 8px;
        font-size: 13px;
      }

      .header-inner {
        gap: 15px;
      }

      .member-link {
        display: none;
      }
    }

    @media (max-width: 820px) {
      .main-nav {
        display: none;
      }

      .hamburger {
        display: block;
      }

      .header-btns {
        margin-left: auto;
      }

      .review-layout {
        grid-template-columns: 1fr;
      }

      .review-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        align-items: start;
      }

      .rating-panel,
      .facts-panel,
      .related-panel {
        margin-top: 0;
      }

      .related-panel {
        grid-column: 1 / -1;
      }

      .footer-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 560px) {
      .container {
        width: min(calc(100% - 28px), var(--max));
      }

      .topbar .container {
        display: block;
        padding-top: 8px;
        padding-bottom: 8px;
      }

      .topbar-links {
        gap: 9px;
      }

      .account-link {
        display: none;
      }

      .broker-hero {
        padding: 45px 0 53px;
      }

      .broker-identity {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
      }

      .broker-identity h1 {
        font-size: 31px;
      }

      .review-section {
        padding: 20px;
      }

      .review-sidebar {
        display: block;
      }

      .facts-panel,
      .related-panel {
        margin-top: 18px;
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
      }

      .footer-bottom {
        display: block;
      }

      .footer-bottom span {
        display: block;
        margin-top: 5px;
      }
    }