:root {
      --primary: #0B3D91;
      --template-theme: {主题色};
      --primary-dark: #072a65;
      --primary-soft: #eaf1fc;
      --accent: #d91b72;
      --accent-soft: #fff0f7;
      --ink: #172033;
      --muted: #667085;
      --line: #dfe5ee;
      --surface: #ffffff;
      --background: #f5f7fa;
      --success: #16845b;
      --warning: #b76e00;
      --shadow: 0 18px 50px rgba(20, 37, 63, 0.09);
      --radius: 18px;
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--background);
      font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
      line-height: 1.7;
      overflow-x: hidden;
    }

    body.drawer-lock {
      overflow: hidden;
    }

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

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

    button,
    input,
    select {
      font: inherit;
    }

    button,
    select {
      cursor: pointer;
    }

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

    .topbar {
      color: #dce8ff;
      background: #061e49;
      font-size: 13px;
    }

    .topbar-inner {
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .topbar-contact {
      display: flex;
      align-items: center;
      gap: 20px;
    }

    .topbar a {
      transition: color 0.2s ease;
    }

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

    .header {
      position: relative;
      z-index: 50;
      background: rgba(255, 255, 255, 0.98);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 7px 24px rgba(21, 38, 69, 0.05);
    }

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

    .logo {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--primary);
      font-size: 18px;
      font-weight: 800;
      line-height: 1.3;
    }

    .logo img {
      width: 42px;
      height: 42px;
      flex: 0 0 42px;
      border-radius: 11px;
      object-fit: contain;
      background: #ffffff;
    }

    .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 {
      min-height: 100%;
      display: inline-flex;
      align-items: center;
      padding: 0 12px;
      border: 0;
      color: #344054;
      background: transparent;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
      transition: color 0.2s ease, background 0.2s ease;
    }

    .has-panel > .nav-link::after {
      width: 6px;
      height: 6px;
      margin: -3px 0 0 8px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      content: "";
      transform: rotate(45deg);
    }

    .nav-link:hover,
    .nav-link:focus {
      color: var(--primary);
      background: var(--primary-soft);
      outline: none;
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      z-index: 80;
      visibility: hidden;
      opacity: 0;
      border: 1px solid var(--line);
      border-top: 3px solid var(--primary);
      border-radius: 0 0 16px 16px;
      background: #ffffff;
      box-shadow: var(--shadow);
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .dropdown-panel::before,
    .mega-menu::before {
      position: absolute;
      right: 0;
      bottom: 100%;
      left: 0;
      height: 10px;
      content: "";
    }

    .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: translateY(0);
      pointer-events: auto;
    }

    .dropdown-panel {
      left: 0;
      width: 340px;
      padding: 16px;
    }

    .dropdown-list {
      display: grid;
      gap: 6px;
    }

    .dropdown-list a {
      padding: 10px 12px;
      border-radius: 9px;
      color: #344054;
      font-size: 14px;
      font-weight: 650;
    }

    .dropdown-list a:hover {
      color: var(--primary);
      background: var(--primary-soft);
    }

    .panel-entry {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 12px;
      padding: 11px 13px;
      border-radius: 10px;
      color: #ffffff;
      background: var(--primary);
      font-size: 14px;
      font-weight: 800;
    }

    .mega-menu {
      left: 50%;
      width: min(840px, calc(100vw - 48px));
      padding: 21px;
      transform: translate(-50%, 8px);
    }

    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .mega-menu {
      transform: translate(-50%, 0);
    }

    .nav-item:nth-last-child(-n+3) .mega-menu {
      right: -130px;
      left: auto;
      transform: translateY(8px);
    }

    .nav-item:nth-last-child(-n+3):hover > .mega-menu,
    .nav-item:nth-last-child(-n+3):focus-within > .mega-menu {
      transform: translateY(0);
    }

    .mega-heading {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      margin-bottom: 15px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
    }

    .mega-heading strong {
      color: var(--ink);
      font-size: 17px;
    }

    .mega-heading a,
    .mega-heading span {
      color: var(--primary);
      font-size: 13px;
      font-weight: 700;
    }

    .mega-categories {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }

    .mega-categories a {
      padding: 6px 11px;
      border: 1px solid #ccd8ea;
      border-radius: 999px;
      color: var(--primary);
      background: #f7faff;
      font-size: 12px;
      font-weight: 700;
    }

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

    .mega-card {
      min-width: 0;
      display: flex;
      align-items: flex-start;
      gap: 11px;
      padding: 12px;
      border: 1px solid #e5e9f0;
      border-radius: 12px;
      background: #ffffff;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

    .mega-card:hover {
      border-color: #adc2e7;
      box-shadow: 0 8px 20px rgba(11, 61, 145, 0.09);
      transform: translateY(-2px);
    }

    .mega-card img {
      width: 44px;
      height: 44px;
      flex: 0 0 44px;
      border-radius: 9px;
      object-fit: contain;
      background: #f3f5f8;
    }

    .mega-card span {
      min-width: 0;
      display: block;
    }

    .mega-card strong,
    .mega-card p,
    .mega-card small {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mega-card strong {
      color: #23304a;
      font-size: 13px;
      white-space: nowrap;
    }

    .mega-card p {
      margin: 3px 0;
      color: var(--muted);
      font-size: 11px;
      line-height: 1.5;
      white-space: nowrap;
    }

    .mega-card small {
      color: #7c8799;
      font-size: 10px;
      line-height: 1.5;
      white-space: nowrap;
    }

    .header-btns {
      display: flex;
      align-items: center;
      gap: 9px;
    }

    .header-btns > span,
    .header-btns > a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 40px;
      padding: 8px 14px;
      border-radius: 9px;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

    .header-btns > span {
      color: var(--primary);
      border: 1px solid #b9cae7;
      background: #ffffff;
    }

    .header-btns > a {
      color: #ffffff;
      background: var(--primary);
      box-shadow: 0 7px 16px rgba(11, 61, 145, 0.2);
    }

    .hamburger {
      width: 44px;
      height: 42px;
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      padding: 0;
      border: 1px solid #cbd5e1;
      border-radius: 9px;
      color: var(--ink);
      background: #ffffff;
    }

    .hamburger span {
      width: 20px;
      height: 2px;
      display: block;
      border-radius: 2px;
      background: currentColor;
      transition: transform 0.2s ease, opacity 0.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(5, 16, 35, 0.58);
      backdrop-filter: blur(3px);
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 100;
      width: min(410px, 92vw);
      height: 100dvh;
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -18px 0 45px rgba(10, 25, 54, 0.2);
      transform: translateX(105%);
      transition: transform 0.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: #ffffff;
    }

    .drawer-head > span {
      min-width: 0;
      color: var(--primary);
      font-size: 13px;
      font-weight: 800;
    }

    .drawer-head > a {
      margin-left: auto;
      padding: 8px 12px;
      border-radius: 8px;
      color: #ffffff;
      background: var(--primary);
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      padding: 0;
      border: 0;
      border-radius: 50%;
      color: #344054;
      background: #eef2f7;
      font-size: 26px;
      line-height: 1;
    }

    .drawer-menu {
      padding: 14px 18px 32px;
    }

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      min-height: 50px;
      display: flex;
      align-items: center;
      padding: 12px 8px;
      border: 0;
      border-bottom: 1px solid #e8ecf2;
      color: #25324a;
      background: transparent;
      text-align: left;
      font-weight: 800;
    }

    .drawer-toggle {
      justify-content: space-between;
    }

    .drawer-toggle::after {
      width: 8px;
      height: 8px;
      margin-right: 4px;
      border-right: 2px solid var(--primary);
      border-bottom: 2px solid var(--primary);
      content: "";
      transform: rotate(45deg);
      transition: transform 0.2s ease;
    }

    .drawer-toggle.active::after {
      transform: rotate(225deg);
    }

    .drawer-submenu {
      max-height: 0;
      overflow: hidden;
      padding: 0 10px;
      opacity: 0;
      transition: max-height 0.3s ease, opacity 0.2s ease, padding 0.2s ease;
    }

    .drawer-submenu.open {
      max-height: 650px;
      padding-top: 7px;
      padding-bottom: 7px;
      opacity: 1;
    }

    .drawer-submenu a {
      display: block;
      padding: 9px 12px;
      border-radius: 7px;
      color: var(--muted);
      font-size: 14px;
    }

    .drawer-submenu a:hover {
      color: var(--primary);
      background: var(--primary-soft);
    }

    .brokerlist-page {
      min-height: 70vh;
    }

    .brokerlist-page .broker-hero {
      position: relative;
      overflow: hidden;
      padding: 72px 0 62px;
      color: #ffffff;
      background:
        radial-gradient(circle at 85% 15%, rgba(217, 27, 114, 0.28), transparent 28%),
        radial-gradient(circle at 12% 85%, rgba(86, 145, 242, 0.3), transparent 30%),
        linear-gradient(135deg, #061d48 0%, #0b3d91 58%, #102c61 100%);
    }

    .brokerlist-page .broker-hero::after {
      position: absolute;
      right: -90px;
      bottom: -160px;
      width: 420px;
      height: 420px;
      border: 1px solid rgba(255, 255, 255, 0.13);
      border-radius: 50%;
      box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.035),
        0 0 0 110px rgba(255, 255, 255, 0.025);
      content: "";
    }

    .brokerlist-page .hero-inner {
      position: relative;
      z-index: 1;
      max-width: 880px;
    }

    .brokerlist-page .breadcrumb {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-bottom: 22px;
      color: #c7d9f8;
      font-size: 13px;
      font-weight: 700;
    }

    .brokerlist-page .breadcrumb a:hover {
      color: #ffffff;
    }

    .brokerlist-page .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 14px;
      padding: 6px 12px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.1);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.06em;
    }

    .brokerlist-page .eyebrow::before {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #ff5ca7;
      box-shadow: 0 0 0 5px rgba(255, 92, 167, 0.17);
      content: "";
    }

    .brokerlist-page .broker-hero h1 {
      max-width: 820px;
      margin: 0;
      font-size: clamp(34px, 5vw, 62px);
      line-height: 1.18;
      letter-spacing: -0.035em;
    }

    .brokerlist-page .broker-hero p {
      max-width: 740px;
      margin: 20px 0 0;
      color: #dce8fb;
      font-size: 17px;
    }

    .brokerlist-page .hero-points {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 28px;
    }

    .brokerlist-page .hero-points span {
      padding: 8px 13px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.09);
      font-size: 13px;
      font-weight: 750;
    }

    .brokerlist-page .comparison-shell {
      padding: 38px 0 82px;
    }

    .brokerlist-page .filter-panel {
      position: relative;
      z-index: 3;
      margin-top: -70px;
      margin-bottom: 32px;
      padding: 22px;
      border: 1px solid rgba(218, 225, 235, 0.9);
      border-radius: 20px;
      background: rgba(255, 255, 255, 0.97);
      box-shadow: var(--shadow);
    }

    .brokerlist-page .filter-heading {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 18px;
    }

    .brokerlist-page .filter-heading h2 {
      margin: 0;
      color: var(--ink);
      font-size: 21px;
    }

    .brokerlist-page .filter-heading p {
      margin: 2px 0 0;
      color: var(--muted);
      font-size: 13px;
    }

    .brokerlist-page .filter-status {
      color: var(--primary);
      font-size: 12px;
      font-weight: 800;
    }

    .brokerlist-page .filter-grid {
      display: grid;
      grid-template-columns: 1.2fr repeat(3, minmax(150px, 0.7fr)) auto;
      gap: 12px;
    }

    .brokerlist-page .filter-field {
      min-width: 0;
    }

    .brokerlist-page .filter-field label {
      display: block;
      margin-bottom: 6px;
      color: #475467;
      font-size: 12px;
      font-weight: 800;
    }

    .brokerlist-page .filter-field input,
    .brokerlist-page .filter-field select {
      width: 100%;
      height: 46px;
      padding: 0 13px;
      border: 1px solid #cfd8e5;
      border-radius: 10px;
      color: #344054;
      background: #ffffff;
      outline: none;
    }

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

    .brokerlist-page .filter-action {
      align-self: end;
      height: 46px;
      padding: 0 22px;
      border: 0;
      border-radius: 10px;
      color: #ffffff;
      background: var(--primary);
      font-weight: 800;
      box-shadow: 0 8px 18px rgba(11, 61, 145, 0.18);
    }

    .brokerlist-page .section-heading {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 28px;
      margin-bottom: 20px;
    }

    .brokerlist-page .section-heading h2 {
      margin: 0;
      font-size: clamp(25px, 3vw, 34px);
      line-height: 1.3;
    }

    .brokerlist-page .section-heading p {
      max-width: 650px;
      margin: 7px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .brokerlist-page .comparison-note {
      flex: 0 0 auto;
      padding: 8px 12px;
      border-radius: 9px;
      color: var(--primary);
      background: var(--primary-soft);
      font-size: 12px;
      font-weight: 800;
    }

    .brokerlist-page .broker-grid {
      display: grid;
      gap: 18px;
    }

    .brokerlist-page .broker-card {
      min-width: 0;
      display: grid;
      grid-template-columns: 220px minmax(0, 1fr) 210px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
      box-shadow: 0 10px 28px rgba(23, 32, 51, 0.055);
      transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

    .brokerlist-page .broker-card:hover {
      border-color: #b8c8df;
      box-shadow: 0 18px 40px rgba(23, 32, 51, 0.1);
      transform: translateY(-3px);
    }

    .brokerlist-page .broker-identity {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 26px 22px;
      border-right: 1px solid var(--line);
      background: linear-gradient(145deg, #f8fbff, #eef3fa);
      text-align: center;
    }

    .brokerlist-page .broker-logo {
      width: 94px;
      height: 94px;
      display: grid;
      place-items: center;
      margin-bottom: 15px;
      padding: 10px;
      border: 1px solid #e0e6ef;
      border-radius: 20px;
      background: #ffffff;
      box-shadow: 0 8px 20px rgba(26, 42, 70, 0.08);
    }

    .brokerlist-page .broker-logo img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .brokerlist-page .broker-identity h3 {
      margin: 0;
      font-size: 20px;
      line-height: 1.35;
    }

    .brokerlist-page .rating {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 10px;
      padding: 5px 10px;
      border-radius: 999px;
      color: #8b5200;
      background: #fff4d7;
      font-size: 13px;
      font-weight: 850;
    }

    .brokerlist-page .rating::before {
      color: #e69b00;
      content: "★";
    }

    .brokerlist-page .broker-body {
      min-width: 0;
      padding: 25px 26px;
    }

    .brokerlist-page .broker-labels {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-bottom: 12px;
    }

    .brokerlist-page .broker-labels span {
      padding: 4px 9px;
      border: 1px solid #d5dfed;
      border-radius: 999px;
      color: #49617f;
      background: #f7f9fc;
      font-size: 11px;
      font-weight: 750;
    }

    .brokerlist-page .broker-summary {
      margin: 0 0 18px;
      color: #536174;
      font-size: 14px;
      line-height: 1.8;
    }

    .brokerlist-page .metric-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }

    .brokerlist-page .metric {
      min-width: 0;
      padding: 11px;
      border: 1px solid #e3e8f0;
      border-radius: 10px;
      background: #fbfcfe;
    }

    .brokerlist-page .metric small,
    .brokerlist-page .metric strong {
      display: block;
    }

    .brokerlist-page .metric small {
      margin-bottom: 3px;
      color: #7b8798;
      font-size: 10px;
      font-weight: 750;
    }

    .brokerlist-page .metric strong {
      overflow-wrap: anywhere;
      color: #24324a;
      font-size: 13px;
    }

    .brokerlist-page .broker-actions {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 10px;
      padding: 24px 20px;
      border-left: 1px solid var(--line);
      background: #fcfdff;
    }

    .brokerlist-page .broker-actions a {
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 9px 13px;
      border-radius: 10px;
      text-align: center;
      font-size: 13px;
      font-weight: 850;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .brokerlist-page .broker-actions a:hover {
      transform: translateY(-1px);
    }

    .brokerlist-page .details-button {
      color: var(--primary);
      border: 1px solid #b9cae5;
      background: #ffffff;
    }

    .brokerlist-page .account-button {
      color: #ffffff;
      background: var(--accent);
      box-shadow: 0 8px 18px rgba(217, 27, 114, 0.2);
    }

    .brokerlist-page .action-note {
      margin: 2px 0 0;
      color: #7b8798;
      font-size: 10px;
      line-height: 1.55;
      text-align: center;
    }

    .brokerlist-page .pagination {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      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 #d4dce8;
      border-radius: 9px;
      color: #45546c;
      background: #ffffff;
      font-size: 13px;
      font-weight: 800;
    }

    .brokerlist-page .pagination a:hover,
    .brokerlist-page .pagination a.active,
    .brokerlist-page .pagination a.current {
      color: #ffffff;
      border-color: var(--primary);
      background: var(--primary);
    }

    .brokerlist-page .guide-section {
      padding: 70px 0;
      border-top: 1px solid var(--line);
      background: #ffffff;
    }

    .brokerlist-page .guide-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .brokerlist-page .guide-card {
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #ffffff;
    }

    .brokerlist-page .guide-number {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      margin-bottom: 16px;
      border-radius: 11px;
      color: #ffffff;
      background: var(--primary);
      font-weight: 900;
    }

    .brokerlist-page .guide-card h3 {
      margin: 0 0 9px;
      font-size: 18px;
    }

    .brokerlist-page .guide-card p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .brokerlist-page .risk-note {
      margin-top: 24px;
      padding: 18px 20px;
      border-left: 4px solid var(--warning);
      border-radius: 8px;
      color: #694b15;
      background: #fff9eb;
      font-size: 13px;
    }

    .footer {
      color: #c9d4e7;
      background: #071a39;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 42px;
      padding: 58px 0 40px;
    }

    .footer .logo {
      color: #ffffff;
    }

    .footer-brand p {
      margin: 18px 0 0;
      color: #aebbd0;
      font-size: 13px;
      line-height: 1.85;
    }

    .footer h2 {
      margin: 5px 0 17px;
      color: #ffffff;
      font-size: 15px;
    }

    .footer-links,
    .footer-contact {
      display: grid;
      gap: 10px;
    }

    .footer-links a,
    .footer-contact a {
      color: #b8c5d9;
      font-size: 13px;
      transition: color 0.2s ease;
    }

    .footer-links a:hover,
    .footer-contact a:hover {
      color: #ffffff;
    }

    .footer-social {
      margin-top: 4px;
    }

    .footer-bottom {
      min-height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      color: #93a4be;
      font-size: 12px;
    }

    @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-action {
        width: 100%;
      }

      .brokerlist-page .broker-card {
        grid-template-columns: 190px minmax(0, 1fr);
      }

      .brokerlist-page .broker-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        border-top: 1px solid var(--line);
        border-left: 0;
      }

      .brokerlist-page .broker-actions a {
        flex: 1;
      }

      .brokerlist-page .action-note {
        align-self: center;
        max-width: 220px;
      }

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

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

      .topbar-inner {
        min-height: 46px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 1px;
        padding: 6px 0;
      }

      .topbar-contact {
        flex-wrap: wrap;
        gap: 4px 14px;
      }

      .header-inner {
        min-height: 68px;
        gap: 12px;
      }

      .header .logo span {
        max-width: 145px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .header-btns > span {
        display: none;
      }

      .header-btns > a {
        min-height: 38px;
        padding: 7px 10px;
        font-size: 12px;
      }

      .brokerlist-page .broker-hero {
        padding: 50px 0 92px;
      }

      .brokerlist-page .broker-hero h1 {
        font-size: 36px;
      }

      .brokerlist-page .broker-hero p {
        font-size: 15px;
      }

      .brokerlist-page .filter-panel {
        margin-top: -58px;
        padding: 18px;
      }

      .brokerlist-page .filter-heading,
      .brokerlist-page .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
      }

      .brokerlist-page .filter-grid {
        grid-template-columns: 1fr;
      }

      .brokerlist-page .broker-card {
        grid-template-columns: 1fr;
      }

      .brokerlist-page .broker-identity {
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .brokerlist-page .broker-logo {
        width: 82px;
        height: 82px;
      }

      .brokerlist-page .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .brokerlist-page .broker-actions {
        flex-direction: column;
      }

      .brokerlist-page .action-note {
        max-width: none;
      }

      .brokerlist-page .guide-grid {
        grid-template-columns: 1fr;
      }

      .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 44px 0 30px;
      }

      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
      }
    }

    @media (max-width: 430px) {
      .header .logo img {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
      }

      .header .logo span {
        max-width: 92px;
        font-size: 15px;
      }

      .header-btns > a {
        display: none;
      }

      .brokerlist-page .metric-grid {
        grid-template-columns: 1fr;
      }

      .brokerlist-page .broker-body {
        padding: 21px 18px;
      }
    }