:root {
      --theme: #0B3D91;
      --theme-dark: #082d6b;
      --ink: #172033;
      --muted: #667085;
      --line: #dfe4ec;
      --surface: #ffffff;
      --soft: #f4f6f9;
      --shadow: 0 18px 50px rgba(20, 35, 62, .09);
      --radius: 12px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: #f7f8fa;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", sans-serif;
      line-height: 1.6;
    }

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

    img {
      display: block;
      max-width: 100%;
    }

    button {
      font: inherit;
    }

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

    .topbar {
      color: #dfe9fb;
      background: #101a2d;
      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: 20px;
    }

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

    .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: 28px;
    }

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

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

    .main-nav {
      flex: 1;
    }

    .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: #344054;
      font-size: 14px;
      font-weight: 650;
      white-space: nowrap;
      border-radius: 8px;
    }

    .nav-link:hover,
    .nav-link:focus-visible {
      color: var(--theme);
      background: #eef3fb;
    }

    .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%;
      z-index: 30;
      width: 330px;
      padding: 20px;
      visibility: hidden;
      opacity: 0;
      transform: translate(-50%, 8px);
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 0 0 12px 12px;
      box-shadow: var(--shadow);
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .mega-menu {
      width: min(700px, 80vw);
    }

    .dropdown-panel::before,
    .mega-menu::before {
      content: "";
      position: absolute;
      top: -12px;
      left: 0;
      width: 100%;
      height: 12px;
    }

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

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

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

    .panel-list a,
    .mega-block p {
      color: var(--muted);
      font-size: 13px;
    }

    .panel-list a:hover,
    .mega-block 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: 0 0 8px;
    }

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

    .broker-mini img,
    .video-mini img,
    .tool-mini img,
    .product-mini img {
      width: 36px;
      height: 36px;
      flex: 0 0 36px;
      object-fit: cover;
      border-radius: 7px;
      background: #eef2f7;
    }

    .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: #25324a;
      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: 14px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }

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

    .member-link,
    .open-account {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 13px;
      border-radius: 7px;
      font-size: 13px;
      font-weight: 700;
    }

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

    .member-link:hover {
      background: #eef3fb;
    }

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

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

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

    .hamburger span {
      display: block;
      width: 20px;
      height: 2px;
      margin: 4px auto;
      background: var(--ink);
      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;
      visibility: hidden;
      opacity: 0;
      background: rgba(13, 24, 43, .48);
      transition: opacity .2s ease, visibility .2s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 41;
      width: min(390px, 88vw);
      height: 100dvh;
      overflow-y: auto;
      visibility: hidden;
      transform: translateX(100%);
      background: #fff;
      box-shadow: -10px 0 30px rgba(0, 0, 0, .12);
      transition: transform .25s ease, visibility .25s ease;
    }

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

    .drawer-head {
      min-height: 74px;
      display: flex;
      align-items: center;
      gap: 13px;
      padding: 16px 20px;
      color: #fff;
      background: var(--theme);
      font-weight: 750;
    }

    .drawer-head > span {
      overflow: hidden;
      flex: 1;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .drawer-head a {
      font-size: 13px;
      white-space: nowrap;
    }

    .drawer-close {
      width: 32px;
      height: 32px;
      padding: 0;
      color: #fff;
      border: 0;
      background: transparent;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
    }

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

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 48px;
      padding: 0;
      color: #29364d;
      border: 0;
      border-bottom: 1px solid #edf0f4;
      background: transparent;
      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 #edf0f4;
    }

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

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

    .footer {
      margin-top: 64px;
      color: #d9e3f2;
      background: #101a2d;
    }

    .footer-main {
      display: grid;
      grid-template-columns: 1.25fr 1fr 1fr 1fr;
      gap: 38px;
      padding-top: 46px;
      padding-bottom: 38px;
    }

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

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

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

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

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

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

    .productlist-main {
      padding: 58px 0 0;
    }

    .productlist-hero {
      padding: 42px 0 38px;
      background: #eef3f9;
      border-bottom: 1px solid #dbe3ef;
    }

    .productlist-hero-inner {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 30px;
    }

    .breadcrumb {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 15px;
      color: var(--muted);
      font-size: 13px;
    }

    .breadcrumb a {
      color: var(--theme);
    }

    .productlist-hero h1 {
      max-width: 720px;
      margin: 0 0 12px;
      color: #12233f;
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.15;
      letter-spacing: 0;
    }

    .productlist-hero p {
      max-width: 720px;
      margin: 0;
      color: #59677a;
      font-size: 16px;
    }

    .productlist-count {
      flex: 0 0 auto;
      min-width: 150px;
      padding: 15px 17px;
      border-left: 3px solid var(--theme);
      background: #fff;
      box-shadow: 0 8px 24px rgba(25, 50, 90, .07);
    }

    .productlist-count strong {
      display: block;
      color: var(--theme);
      font-size: 22px;
      line-height: 1.2;
    }

    .productlist-count span {
      color: var(--muted);
      font-size: 12px;
    }

    .productlist-content {
      padding: 42px 0 0;
    }

    .productlist-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 22px;
    }

    .productlist-toolbar h2 {
      margin: 0;
      color: #1d2d47;
      font-size: 22px;
    }

    .category-links {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 8px;
    }

    .category-links a {
      padding: 7px 12px;
      color: #526176;
      border: 1px solid #dce3ec;
      border-radius: 999px;
      background: #fff;
      font-size: 12px;
    }

    .category-links a:hover {
      color: var(--theme);
      border-color: #a9bddc;
      background: #f1f5fb;
    }

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

    .product-card {
      display: flex;
      min-width: 0;
      flex-direction: column;
      overflow: hidden;
      background: #fff;
      border: 1px solid #e2e7ef;
      border-radius: var(--radius);
      box-shadow: 0 8px 25px rgba(27, 43, 71, .05);
      transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }

    .product-card:hover {
      border-color: #afc2df;
      box-shadow: 0 16px 34px rgba(27, 57, 104, .11);
      transform: translateY(-3px);
    }

    .product-image {
      aspect-ratio: 16 / 9;
      overflow: hidden;
      background: #eaf0f7;
    }

    .product-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .product-body {
      display: flex;
      min-width: 0;
      flex: 1;
      flex-direction: column;
      padding: 20px;
    }

    .product-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
      color: #778399;
      font-size: 12px;
    }

    .product-category {
      overflow: hidden;
      color: var(--theme);
      font-weight: 700;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .product-date {
      flex: 0 0 auto;
    }

    .product-body h3 {
      margin: 0 0 10px;
      color: #172942;
      font-size: 19px;
      line-height: 1.35;
    }

    .product-summary {
      display: -webkit-box;
      min-width: 0;
      margin: 0 0 18px;
      overflow: hidden;
      color: #627086;
      font-size: 14px;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .product-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-top: auto;
      padding-top: 15px;
      border-top: 1px solid #edf0f4;
    }

    .product-stats {
      color: #8a96a8;
      font-size: 12px;
    }

    .product-cta {
      display: inline-flex;
      align-items: center;
      color: var(--theme);
      font-size: 13px;
      font-weight: 750;
    }

    .product-cta::after {
      content: "→";
      margin-left: 6px;
      transition: transform .2s ease;
    }

    .product-card:hover .product-cta::after {
      transform: translateX(3px);
    }

    .pagination {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      margin-top: 42px;
    }

    .pagination a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 38px;
      min-height: 38px;
      padding: 0 11px;
      color: #526176;
      border: 1px solid #dce3ec;
      border-radius: 7px;
      background: #fff;
      font-size: 13px;
    }

    .pagination a:hover,
    .pagination a.current,
    .pagination a.active {
      color: #fff;
      border-color: var(--theme);
      background: var(--theme);
    }

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

      .hamburger {
        display: block;
      }

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

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

      .topbar-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        padding-top: 8px;
        padding-bottom: 8px;
      }

      .topbar-contact {
        gap: 12px;
      }

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

      .member-link,
      .open-account {
        display: none;
      }

      .logo {
        font-size: 16px;
      }

      .productlist-main {
        padding-top: 28px;
      }

      .productlist-hero {
        padding: 30px 0;
      }

      .productlist-hero-inner,
      .productlist-toolbar {
        align-items: flex-start;
        flex-direction: column;
      }

      .productlist-hero h1 {
        font-size: 32px;
      }

      .productlist-count {
        width: 100%;
      }

      .category-links {
        justify-content: flex-start;
      }

      .product-grid {
        grid-template-columns: 1fr;
      }

      .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
      }

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

    @media (max-width: 460px) {
      .footer-main {
        grid-template-columns: 1fr;
      }

      .mega-grid {
        grid-template-columns: 1fr;
      }
    }