:root {
      --theme: #0B3D91;
      --theme-dark: #082b67;
      --ink: #182230;
      --muted: #697586;
      --line: #dce3eb;
      --surface: #ffffff;
      --soft: #f3f6f9;
      --page: #f7f9fb;
      --shadow: 0 14px 34px rgba(18, 38, 63, .08);
      --radius: 8px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--page);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK",
        "Microsoft JhengHei", 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: #dbe7f8;
      background: #091a35;
      font-size: 13px;
    }

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

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

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

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

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

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

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

    .main-nav {
      flex: 1 1 auto;
    }

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

    .nav-item {
      position: relative;
    }

    .nav-link {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      padding: 0 13px;
      color: #334155;
      font-size: 14px;
      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%;
      width: 320px;
      padding: 20px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 0 0 var(--radius) var(--radius);
      box-shadow: var(--shadow);
      opacity: 0;
      pointer-events: none;
      transform: translate(-50%, 8px);
      transition: opacity .18s ease, transform .18s ease;
    }

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

    .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;
      pointer-events: auto;
      transform: translate(-50%, 0);
    }

    .panel-title,
    .mega-block h3 {
      margin: 0 0 12px;
      color: var(--theme-dark);
      font-size: 14px;
    }

    .panel-list {
      display: grid;
      gap: 8px;
    }

    .panel-list a {
      color: #526173;
      font-size: 13px;
    }

    .panel-list a:hover,
    .footer-links a:hover {
      color: var(--theme);
    }

    .mega-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    .mega-block {
      min-width: 0;
    }

    .mega-block p {
      margin: 8px 0;
      color: var(--muted);
      font-size: 13px;
    }

    .broker-mini,
    .video-mini,
    .tool-mini,
    .product-mini {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 0;
      border-bottom: 1px solid #edf1f5;
    }

    .broker-mini img,
    .video-mini img,
    .tool-mini img,
    .product-mini img {
      flex: 0 0 auto;
      width: 34px;
      height: 34px;
      object-fit: cover;
      border-radius: 6px;
      background: var(--soft);
    }

    .broker-mini span,
    .video-mini span,
    .tool-mini span,
    .product-mini span {
      min-width: 0;
      display: grid;
      gap: 1px;
    }

    .broker-mini strong,
    .video-mini strong,
    .tool-mini strong,
    .product-mini strong {
      overflow: hidden;
      color: #263447;
      font-size: 12px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .broker-mini small,
    .video-mini small,
    .tool-mini small,
    .product-mini small {
      overflow: hidden;
      color: var(--muted);
      font-size: 11px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-footer {
      display: inline-flex;
      margin-top: 15px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }

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

    .member-link {
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }

    .open-account {
      padding: 9px 15px;
      color: #ffffff;
      background: var(--theme);
      border-radius: 6px;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }

    .open-account:hover {
      background: var(--theme-dark);
    }

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

    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      margin: 4px auto;
      background: var(--theme-dark);
      transition: transform .2s ease, opacity .2s ease;
    }

    .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: 40;
      background: rgba(5, 18, 38, .48);
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s ease;
    }

    .drawer-overlay.open {
      opacity: 1;
      pointer-events: auto;
    }

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 50;
      width: min(360px, 88vw);
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -16px 0 40px rgba(12, 29, 52, .18);
      transform: translateX(100%);
      transition: transform .25s ease;
    }

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

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

    .drawer-head span {
      flex: 1;
    }

    .drawer-head a {
      color: var(--theme);
      font-size: 13px;
    }

    .drawer-close {
      width: 34px;
      height: 34px;
      border: 0;
      background: transparent;
      color: var(--muted);
      font-size: 25px;
      line-height: 1;
      cursor: pointer;
    }

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

    .drawer-link,
    .drawer-toggle {
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: space-between;
      padding: 14px 0;
      border: 0;
      border-bottom: 1px solid #edf1f5;
      background: transparent;
      color: #263447;
      font-size: 15px;
      text-align: left;
      cursor: pointer;
    }

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

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

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

    .drawer-submenu.open {
      display: grid;
      gap: 8px;
    }

    .drawer-submenu a {
      color: var(--muted);
      font-size: 13px;
    }

    .footer {
      margin-top: 72px;
      color: #d8e2f0;
      background: #0b1d39;
    }

    .footer-main {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
      gap: 38px;
      padding-top: 48px;
      padding-bottom: 42px;
    }

    .footer h3 {
      margin: 0 0 14px;
      color: #ffffff;
      font-size: 15px;
    }

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

    .footer-links {
      display: grid;
      gap: 8px;
    }

    .footer-links a,
    .footer-contact a {
      color: #b8c8dc;
      font-size: 13px;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding-top: 18px;
      padding-bottom: 18px;
      border-top: 1px solid rgba(216, 226, 240, .16);
      color: #8fa2bb;
      font-size: 12px;
    }

    .tag-index-page {
      min-height: 560px;
    }

    .tag-index-hero {
      padding: 72px 0 42px;
      background:
        linear-gradient(180deg, rgba(11, 61, 145, .06), rgba(255, 255, 255, 0)),
        #f7f9fb;
      text-align: center;
    }

    .eyebrow {
      margin: 0 0 10px;
      color: var(--theme);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .12em;
    }

    .tag-index-hero h1 {
      max-width: 720px;
      margin: 0 auto 14px;
      color: #11233d;
      font-size: clamp(30px, 5vw, 52px);
      line-height: 1.15;
    }

    .tag-index-hero p {
      max-width: 620px;
      margin: 0 auto;
      color: var(--muted);
      font-size: 16px;
    }

    .tag-cloud-section {
      padding: 18px 0 72px;
    }

    .tag-cloud-panel {
      padding: 34px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #ffffff;
      box-shadow: var(--shadow);
    }

    .tag-cloud-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 20px;
      padding-bottom: 20px;
      border-bottom: 1px solid #edf1f5;
    }

    .tag-cloud-head h2 {
      margin: 0;
      color: #172b48;
      font-size: 22px;
    }

    .tag-cloud-head span {
      color: var(--muted);
      font-size: 13px;
    }

    .tag-cloud {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px 18px;
      min-height: 250px;
      padding: 38px 22px 22px;
      flex-wrap: wrap;
    }

    .tag-cloud a {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 9px 13px;
      border: 1px solid #d8e2ef;
      border-radius: 5px;
      color: var(--theme-dark);
      background: #f8fbff;
      font-size: 14px;
      transition: color .18s ease, background .18s ease, border-color .18s ease,
        transform .18s ease;
    }

    .tag-cloud a:nth-child(3n) {
      color: #274d83;
      background: #eef4fc;
      font-size: 16px;
    }

    .tag-cloud a:nth-child(4n) {
      color: #ffffff;
      background: var(--theme);
      border-color: var(--theme);
      font-size: 18px;
      font-weight: 700;
    }

    .tag-cloud a:nth-child(5n) {
      font-size: 20px;
      font-weight: 800;
    }

    .tag-cloud a:hover {
      color: #ffffff;
      background: var(--theme-dark);
      border-color: var(--theme-dark);
      transform: translateY(-2px);
    }

    .tag-cloud a small {
      color: currentColor;
      opacity: .72;
      font-size: 11px;
    }

    .tag-index-note {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 20px;
      padding: 15px 18px;
      color: #526173;
      background: #f5f8fc;
      border-left: 3px solid var(--theme);
      font-size: 13px;
    }

    .tag-index-note strong {
      color: var(--theme-dark);
    }

    @media (max-width: 1020px) {
      .header-inner {
        gap: 16px;
      }

      .nav-link {
        padding: 0 8px;
      }

      .member-link {
        display: none;
      }
    }

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

      .hamburger {
        display: block;
      }

      .footer-main {
        grid-template-columns: 1fr 1fr;
      }
    }

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

      .topbar-inner {
        min-height: 54px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
      }

      .topbar-contact {
        gap: 12px;
        font-size: 12px;
      }

      .header-inner {
        min-height: 66px;
      }

      .logo {
        font-size: 16px;
      }

      .open-account {
        padding: 8px 11px;
        font-size: 12px;
      }

      .tag-index-hero {
        padding: 52px 0 30px;
      }

      .tag-index-hero p {
        font-size: 14px;
      }

      .tag-cloud-panel {
        padding: 22px 16px;
      }

      .tag-cloud-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
      }

      .tag-cloud {
        gap: 10px;
        min-height: 220px;
        padding: 26px 4px 12px;
      }

      .tag-cloud a:nth-child(4n),
      .tag-cloud a:nth-child(5n) {
        font-size: 15px;
      }

      .footer-main {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 34px;
        padding-bottom: 30px;
      }

      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
      }
    }