:root {
      --theme: #0B3D91;
      --theme-dark: #072a65;
      --theme-soft: #eaf1fb;
      --ink: #172033;
      --muted: #667085;
      --line: #dfe5ee;
      --surface: #ffffff;
      --page: #f5f7fa;
      --success: #17a673;
      --shadow: 0 16px 42px rgba(15, 31, 58, .1);
      --radius: 16px;
      --container: 1240px;
    }

    * {
      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",
        "Noto Sans TC", "Microsoft JhengHei", sans-serif;
      line-height: 1.65;
    }

    body.drawer-locked {
      overflow: hidden;
    }

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

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

    button,
    input,
    select {
      font: inherit;
    }

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

    .topbar {
      color: #dbe8ff;
      background: #06172f;
      font-size: 13px;
    }

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

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

    .topbar-contact a {
      transition: color .2s ease;
    }

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

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

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

    .logo {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--theme);
      font-weight: 800;
      letter-spacing: -.02em;
    }

    .logo img {
      width: 42px;
      height: 42px;
      flex: 0 0 auto;
      object-fit: contain;
      border-radius: 10px;
    }

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

    .main-nav {
      flex: 1;
      align-self: stretch;
    }

    .nav-list {
      height: 100%;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      list-style: none;
    }

    .nav-item {
      position: relative;
      display: flex;
      align-items: stretch;
    }

    .nav-link {
      position: relative;
      display: flex;
      align-items: center;
      padding: 0 15px;
      color: #26334a;
      font-size: 15px;
      font-weight: 650;
      white-space: nowrap;
    }

    .nav-link::after {
      position: absolute;
      right: 15px;
      bottom: 14px;
      left: 15px;
      height: 2px;
      content: "";
      background: var(--theme);
      transform: scaleX(0);
      transition: transform .2s ease;
    }

    .nav-link.has-arrow {
      padding-right: 29px;
    }

    .nav-link.has-arrow::before {
      position: absolute;
      top: 50%;
      right: 14px;
      width: 6px;
      height: 6px;
      content: "";
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: translateY(-70%) rotate(45deg);
    }

    .nav-item:hover > .nav-link,
    .nav-item:focus-within > .nav-link {
      color: var(--theme);
    }

    .nav-item:hover > .nav-link::after,
    .nav-item:focus-within > .nav-link::after {
      transform: scaleX(1);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      z-index: 80;
      width: 410px;
      padding: 20px;
      visibility: hidden;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 0 0 16px 16px;
      box-shadow: var(--shadow);
      opacity: 0;
      transform: translate(-50%, 10px);
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .mega-menu {
      width: min(760px, calc(100vw - 40px));
    }

    .mega-menu-wide {
      width: min(980px, calc(100vw - 40px));
    }

    .dropdown-panel::before,
    .mega-menu::before {
      position: absolute;
      right: 0;
      bottom: 100%;
      left: 0;
      height: 14px;
      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: translate(-50%, 0);
    }

    .dropdown-title,
    .mega-head {
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
    }

    .dropdown-title span,
    .mega-head strong {
      color: #14213a;
      font-weight: 800;
    }

    .dropdown-title a,
    .mega-head span {
      color: var(--muted);
      font-size: 13px;
    }

    .dropdown-title a:hover {
      color: var(--theme);
    }

    .dropdown-article {
      padding: 10px 0;
      display: grid;
      grid-template-columns: 74px minmax(0, 1fr);
      align-items: center;
      gap: 12px;
      border-top: 1px solid #edf0f4;
    }

    .dropdown-article img {
      width: 74px;
      height: 50px;
      object-fit: cover;
      border-radius: 7px;
      background: #edf1f6;
    }

    .dropdown-article strong {
      min-width: 0;
      display: -webkit-box;
      overflow: hidden;
      font-size: 14px;
      line-height: 1.45;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

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

    .mega-card {
      min-width: 0;
      padding: 14px;
      background: #f8fafc;
      border: 1px solid #e8edf4;
      border-radius: 12px;
      transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }

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

    .mega-card-top {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .mega-card-top img {
      width: 38px;
      height: 38px;
      flex: 0 0 auto;
      object-fit: contain;
      border-radius: 8px;
      background: #ffffff;
    }

    .mega-card strong {
      display: block;
      overflow: hidden;
      color: #19253b;
      font-size: 14px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card p {
      margin: 8px 0 0;
      display: -webkit-box;
      overflow: hidden;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.55;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .broker-rating,
    .mega-duration {
      display: block;
      color: var(--theme);
      font-size: 12px;
      font-weight: 700;
    }

    .mega-stats {
      margin-top: 10px;
      display: flex;
      flex-wrap: wrap;
      gap: 5px 10px;
      color: var(--muted);
      font-size: 11px;
    }

    .mega-video > img,
    .mega-product > img {
      width: 100%;
      height: 92px;
      margin-bottom: 10px;
      object-fit: cover;
      border-radius: 8px;
      background: #e8edf4;
    }

    .mega-categories {
      margin-bottom: 14px;
      padding-bottom: 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      border-bottom: 1px solid var(--line);
    }

    .mega-categories a {
      padding: 6px 10px;
      color: var(--theme-dark);
      background: var(--theme-soft);
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
    }

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

    .header-btns {
      display: flex;
      align-items: center;
      gap: 10px;
      white-space: nowrap;
    }

    .account-entry {
      color: var(--theme);
      font-size: 14px;
      font-weight: 700;
    }

    .open-account {
      padding: 10px 17px;
      color: #ffffff;
      background: var(--theme);
      border-radius: 9px;
      font-size: 14px;
      font-weight: 800;
      box-shadow: 0 7px 18px rgba(11, 61, 145, .2);
    }

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

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

    .hamburger span {
      width: 100%;
      height: 2px;
      margin: 5px 0;
      display: block;
      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: 98;
      visibility: hidden;
      background: rgba(4, 12, 26, .58);
      opacity: 0;
      transition: opacity .25s ease, visibility .25s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 99;
      width: min(390px, 92vw);
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -20px 0 45px rgba(0, 0, 0, .18);
      transform: translateX(105%);
      transition: transform .25s ease;
    }

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

    .drawer-head {
      min-height: 70px;
      padding: 14px 18px;
      display: flex;
      align-items: center;
      gap: 14px;
      color: var(--theme);
      border-bottom: 1px solid var(--line);
      font-weight: 750;
    }

    .drawer-head > a {
      padding: 7px 11px;
      color: #ffffff;
      background: var(--theme);
      border-radius: 8px;
      font-size: 13px;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      margin-left: auto;
      color: #243047;
      background: #f2f5f9;
      border: 0;
      border-radius: 50%;
      font-size: 25px;
      cursor: pointer;
    }

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

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      padding: 14px 4px;
      display: block;
      color: #1e2b42;
      background: transparent;
      border: 0;
      border-bottom: 1px solid #edf0f4;
      font-weight: 750;
      text-align: left;
      cursor: pointer;
    }

    .drawer-toggle {
      position: relative;
      padding-right: 28px;
    }

    .drawer-toggle::after {
      position: absolute;
      top: 50%;
      right: 7px;
      width: 7px;
      height: 7px;
      content: "";
      border-right: 2px solid var(--theme);
      border-bottom: 2px solid var(--theme);
      transform: translateY(-70%) rotate(45deg);
      transition: transform .2s ease;
    }

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

    .drawer-submenu {
      max-height: 0;
      overflow: hidden;
      background: #f6f8fb;
      border-radius: 0 0 10px 10px;
      transition: max-height .3s ease;
    }

    .drawer-submenu.open {
      max-height: 680px;
    }

    .drawer-submenu a {
      padding: 10px 14px;
      display: block;
      color: #536178;
      border-bottom: 1px solid #e8edf3;
      font-size: 14px;
    }

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

    .category-page {
      min-height: 680px;
    }

    .category-page .category-hero {
      position: relative;
      overflow: hidden;
      color: #ffffff;
      background:
        radial-gradient(circle at 85% 20%, rgba(65, 124, 220, .45), transparent 28%),
        linear-gradient(135deg, #071b3e 0%, var(--theme) 66%, #174fa8 100%);
    }

    .category-page .category-hero::after {
      position: absolute;
      right: -90px;
      bottom: -170px;
      width: 430px;
      height: 430px;
      content: "";
      border: 1px solid rgba(255, 255, 255, .14);
      border-radius: 50%;
      box-shadow:
        0 0 0 45px rgba(255, 255, 255, .035),
        0 0 0 90px rgba(255, 255, 255, .025);
    }

    .category-page .category-hero-inner {
      position: relative;
      z-index: 1;
      max-width: 850px;
      padding-block: 66px 70px;
    }

    .category-page .breadcrumb {
      margin-bottom: 17px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      color: #c9d8ef;
      font-size: 14px;
    }

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

    .category-page .category-kicker {
      margin-bottom: 10px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #cde0ff;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .08em;
    }

    .category-page .category-kicker::before {
      width: 24px;
      height: 2px;
      content: "";
      background: #6fa7ff;
    }

    .category-page .category-hero h1 {
      margin: 0;
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.12;
      letter-spacing: -.04em;
    }

    .category-page .category-hero p {
      max-width: 720px;
      margin: 18px 0 0;
      color: #dbe8fa;
      font-size: 17px;
    }

    .category-page .category-toolbar {
      margin-top: -26px;
      position: relative;
      z-index: 3;
    }

    .category-page .toolbar-inner {
      padding: 18px 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 14px;
      box-shadow: var(--shadow);
    }

    .category-page .toolbar-copy strong {
      display: block;
      color: #15233c;
      font-size: 17px;
    }

    .category-page .toolbar-copy span {
      color: var(--muted);
      font-size: 13px;
    }

    .category-page .toolbar-link {
      padding: 9px 14px;
      color: var(--theme);
      background: var(--theme-soft);
      border-radius: 9px;
      font-size: 14px;
      font-weight: 800;
    }

    .category-page .article-section {
      padding-block: 54px 76px;
    }

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

    .category-page .section-heading h2 {
      margin: 0;
      color: #16243d;
      font-size: 29px;
      line-height: 1.25;
    }

    .category-page .section-heading p {
      margin: 6px 0 0;
      color: var(--muted);
    }

    .category-page .article-list {
      display: grid;
      gap: 22px;
    }

    .category-page .article-card {
      min-width: 0;
      display: grid;
      grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
      overflow: hidden;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: 0 8px 24px rgba(22, 38, 68, .055);
      transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .category-page .article-card:hover {
      border-color: #b9cae5;
      box-shadow: 0 18px 42px rgba(17, 39, 76, .11);
      transform: translateY(-3px);
    }

    .category-page .article-cover {
      position: relative;
      min-height: 250px;
      overflow: hidden;
      background: #e7ebf1;
    }

    .category-page .article-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .35s ease;
    }

    .category-page .article-card:hover .article-cover img {
      transform: scale(1.035);
    }

    .category-page .category-badge {
      position: absolute;
      top: 16px;
      left: 16px;
      max-width: calc(100% - 32px);
      padding: 6px 11px;
      overflow: hidden;
      color: #ffffff;
      background: rgba(7, 31, 70, .86);
      border: 1px solid rgba(255, 255, 255, .22);
      border-radius: 999px;
      backdrop-filter: blur(8px);
      font-size: 12px;
      font-weight: 800;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .category-page .article-body {
      min-width: 0;
      padding: 27px 30px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }

    .category-page .article-body h3 {
      margin: 0;
      color: #15223a;
      font-size: clamp(20px, 2.3vw, 27px);
      line-height: 1.35;
      letter-spacing: -.02em;
    }

    .category-page .article-body h3 a:hover {
      color: var(--theme);
    }

    .category-page .article-summary {
      margin: 13px 0 18px;
      display: -webkit-box;
      overflow: hidden;
      color: #5e6b7e;
      font-size: 15px;
      line-height: 1.8;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .category-page .article-meta {
      width: 100%;
      margin: 0 0 14px;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 8px 16px;
      color: #778297;
      list-style: none;
      font-size: 13px;
    }

    .category-page .article-meta li {
      position: relative;
    }

    .category-page .article-meta li:not(:last-child)::after {
      position: absolute;
      top: 50%;
      right: -9px;
      width: 3px;
      height: 3px;
      content: "";
      background: #a7afbc;
      border-radius: 50%;
      transform: translateY(-50%);
    }

    .category-page .article-tags {
      width: 100%;
      margin-bottom: 20px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 650;
      overflow-wrap: anywhere;
    }

    .category-page .read-more {
      margin-top: auto;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: var(--theme);
      font-size: 14px;
      font-weight: 850;
    }

    .category-page .read-more::after {
      content: "→";
      transition: transform .2s ease;
    }

    .category-page .read-more:hover::after {
      transform: translateX(4px);
    }

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

    .category-page .pagination a {
      min-width: 42px;
      height: 42px;
      padding-inline: 13px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #46546b;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 9px;
      font-size: 14px;
      font-weight: 750;
    }

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

    .category-page .editorial-note {
      padding-block: 0 76px;
    }

    .category-page .editorial-note-inner {
      padding: 28px 30px;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      gap: 18px;
      background: #edf3fc;
      border: 1px solid #d4e1f5;
      border-radius: var(--radius);
    }

    .category-page .note-icon {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      color: #ffffff;
      background: var(--theme);
      border-radius: 12px;
      font-weight: 900;
    }

    .category-page .editorial-note h2 {
      margin: 0 0 5px;
      font-size: 19px;
    }

    .category-page .editorial-note p {
      margin: 0;
      color: #5b687c;
      font-size: 14px;
    }

    .footer {
      color: #c7d1df;
      background: #081426;
    }

    .footer-main {
      padding-block: 62px 48px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 42px;
    }

    .footer .logo {
      color: #ffffff;
    }

    .footer-brand p {
      max-width: 430px;
      margin: 20px 0;
      color: #aab6c8;
      font-size: 14px;
    }

    .footer-contact {
      display: grid;
      gap: 5px;
      font-size: 14px;
    }

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

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

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

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

    .footer-links a {
      color: #aeb9ca;
      font-size: 14px;
      transition: color .2s ease;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .footer-bottom-inner {
      min-height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      color: #8997aa;
      font-size: 13px;
    }

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

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

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

      .hamburger {
        display: block;
      }

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

      .footer-grid > div:last-child {
        grid-column: 2 / 4;
      }
    }

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

      .topbar-welcome {
        display: none;
      }

      .topbar-inner {
        justify-content: center;
      }

      .topbar-contact {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
      }

      .account-entry {
        display: none;
      }

      .category-page .category-hero-inner {
        padding-block: 48px 56px;
      }

      .category-page .toolbar-inner,
      .category-page .section-heading {
        align-items: flex-start;
        flex-direction: column;
      }

      .category-page .article-card {
        grid-template-columns: 1fr;
      }

      .category-page .article-cover {
        min-height: 230px;
        aspect-ratio: 16 / 9;
      }

      .category-page .article-body {
        padding: 23px;
      }

      .category-page .editorial-note-inner {
        grid-template-columns: 1fr;
      }

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

      .footer-grid > div:last-child {
        grid-column: auto;
      }
    }

    @media (max-width: 560px) {
      .topbar-contact {
        align-items: flex-start;
        flex-direction: column;
        gap: 1px;
        padding-block: 5px;
      }

      .logo img {
        width: 36px;
        height: 36px;
      }

      .logo span {
        max-width: 125px;
      }

      .open-account {
        padding: 9px 12px;
      }

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

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

      .category-page .article-section {
        padding-block: 46px 60px;
      }

      .category-page .article-cover {
        min-height: 190px;
      }

      .category-page .article-body {
        padding: 20px;
      }

      .category-page .article-meta {
        display: grid;
        gap: 3px;
      }

      .category-page .article-meta li::after {
        display: none;
      }

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

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