:root {
      --brand: #0B3D91;
      --template-theme: "{主题色}";
      --brand-dark: #082c68;
      --brand-soft: #eaf1fb;
      --ink: #172033;
      --muted: #647084;
      --line: #dfe5ed;
      --surface: #ffffff;
      --surface-alt: #f5f7fa;
      --success: #16866a;
      --shadow: 0 14px 38px rgba(23, 32, 51, 0.09);
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--surface-alt);
      font-family: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", Arial, sans-serif;
      line-height: 1.65;
      letter-spacing: 0;
    }

    body.drawer-locked {
      overflow: hidden;
    }

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

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

    button,
    input {
      font: inherit;
    }

    button,
    a {
      -webkit-tap-highlight-color: transparent;
    }

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

    .topbar {
      color: #dfe8f8;
      background: #07172d;
      font-size: 13px;
    }

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

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

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

    .topbar a:hover,
    .topbar a:focus-visible {
      color: #ffffff;
    }

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

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

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

    .logo img {
      width: 38px;
      height: 38px;
      flex: 0 0 38px;
      object-fit: contain;
    }

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

    .main-nav {
      align-self: stretch;
      margin-left: auto;
    }

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

    .nav-link {
      position: relative;
      display: inline-flex;
      align-items: center;
      padding: 0 12px;
      color: #293449;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
      transition: color 0.2s ease, background 0.2s ease;
    }

    .nav-link:hover,
    .nav-link:focus-visible,
    .nav-item:focus-within > .nav-link {
      color: var(--brand);
      background: var(--brand-soft);
      outline: none;
    }

    .nav-link.has-arrow::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);
      transition: transform 0.2s ease;
    }

    .nav-item:hover .nav-link.has-arrow::after,
    .nav-item:focus-within .nav-link.has-arrow::after {
      margin-top: 3px;
      transform: rotate(225deg);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      right: 0;
      z-index: 60;
      visibility: hidden;
      opacity: 0;
      transform: translateY(8px);
      pointer-events: none;
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }

    .dropdown-panel {
      width: 300px;
      padding: 10px;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 0 0 6px 6px;
      box-shadow: var(--shadow);
    }

    .dropdown-panel > a:not(.dropdown-footer) {
      display: block;
      padding: 10px 12px;
      overflow: hidden;
      color: #344057;
      font-size: 14px;
      font-weight: 600;
      text-overflow: ellipsis;
      white-space: nowrap;
      border-radius: 4px;
    }

    .dropdown-panel > a:not(.dropdown-footer):hover,
    .dropdown-panel > a:not(.dropdown-footer):focus-visible {
      color: var(--brand);
      background: var(--brand-soft);
      outline: none;
    }

    .dropdown-footer,
    .mega-footer {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      margin-top: 8px;
      color: #ffffff;
      background: var(--brand);
      border-radius: 4px;
      font-size: 13px;
      font-weight: 800;
    }

    .dropdown-footer:hover,
    .dropdown-footer:focus-visible,
    .mega-footer:hover,
    .mega-footer:focus-visible {
      background: var(--brand-dark);
      outline: none;
    }

    .mega-menu {
      width: 560px;
      padding: 20px;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 0 0 6px 6px;
      box-shadow: var(--shadow);
    }

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

    .nav-item:nth-last-child(-n + 3) .mega-menu {
      right: 0;
    }

    .mega-title {
      margin: 0 0 12px;
      color: #263149;
      font-size: 13px;
      font-weight: 800;
    }

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

    .mega-wide .mega-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mega-card {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 10px;
      min-height: 78px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 5px;
      transition: border-color 0.2s ease, background 0.2s ease;
    }

    .mega-card:hover,
    .mega-card:focus-visible {
      background: var(--brand-soft);
      border-color: #aec4e8;
      outline: none;
    }

    .mega-card > img {
      width: 50px;
      height: 50px;
      flex: 0 0 50px;
      object-fit: cover;
      border-radius: 4px;
      background: #eef2f7;
    }

    .mega-card > img.tool-icon {
      object-fit: contain;
      padding: 5px;
    }

    .mega-card-copy {
      min-width: 0;
      display: grid;
      gap: 2px;
    }

    .mega-card-copy strong,
    .mega-card-copy span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card-copy strong {
      color: #1c273c;
      font-size: 13px;
    }

    .mega-card-copy span {
      color: var(--muted);
      font-size: 11px;
    }

    .mega-category-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 14px;
    }

    .mega-category-list a {
      padding: 6px 10px;
      color: #31405b;
      background: #f0f3f8;
      border: 1px solid #e2e7ef;
      border-radius: 4px;
      font-size: 12px;
      font-weight: 700;
    }

    .mega-category-list a:hover,
    .mega-category-list a:focus-visible {
      color: #ffffff;
      background: var(--brand);
      border-color: var(--brand);
      outline: none;
    }

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

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

    .header-btns > a,
    .account-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 13px;
      border-radius: 4px;
      font-size: 13px;
      font-weight: 800;
    }

    .account-btn {
      color: #ffffff;
      background: var(--brand);
    }

    .account-btn:hover,
    .account-btn:focus-visible {
      background: var(--brand-dark);
      outline: none;
    }

    .hamburger {
      width: 42px;
      height: 42px;
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      padding: 0;
      color: var(--ink);
      background: transparent;
      border: 1px solid var(--line);
      border-radius: 4px;
      cursor: pointer;
    }

    .hamburger span {
      width: 19px;
      height: 2px;
      display: block;
      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, 13, 27, 0.58);
      transition: opacity 0.22s ease, visibility 0.22s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 100;
      width: min(390px, 92vw);
      height: 100dvh;
      overflow-y: auto;
      background: var(--surface);
      box-shadow: -18px 0 44px rgba(10, 20, 40, 0.18);
      transform: translateX(105%);
      transition: transform 0.24s ease;
    }

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

    .drawer-head {
      min-height: 70px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 18px;
      border-bottom: 1px solid var(--line);
    }

    .drawer-head > a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      padding: 0 12px;
      color: #ffffff;
      background: var(--brand);
      border-radius: 4px;
      font-size: 13px;
      font-weight: 800;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      margin-left: auto;
      padding: 0;
      color: #39445a;
      background: #f1f4f8;
      border: 0;
      border-radius: 4px;
      font-size: 26px;
      line-height: 1;
      cursor: pointer;
    }

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

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      min-height: 48px;
      display: flex;
      align-items: center;
      color: #253149;
      background: transparent;
      border: 0;
      border-bottom: 1px solid var(--line);
      font-size: 15px;
      font-weight: 800;
      text-align: left;
      cursor: pointer;
    }

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

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

    .drawer-toggle.active {
      color: var(--brand);
    }

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

    .drawer-submenu {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.28s ease, opacity 0.2s ease;
    }

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

    .drawer-submenu a {
      display: block;
      padding: 10px 12px;
      color: var(--muted);
      border-left: 2px solid #d9e3f2;
      font-size: 14px;
    }

    .drawer-submenu a:hover,
    .drawer-submenu a:focus-visible {
      color: var(--brand);
      background: var(--brand-soft);
      outline: none;
    }

    .category-page {
      min-height: 65vh;
      padding-bottom: 76px;
    }

    .category-page .category-heading {
      position: relative;
      overflow: hidden;
      padding: 58px 0 52px;
      color: #ffffff;
      background: #0a244b;
    }

    .category-page .category-heading::before {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
      background-size: 34px 34px;
      content: "";
      pointer-events: none;
    }

    .category-page .category-heading::after {
      position: absolute;
      right: 8%;
      bottom: -72px;
      width: 230px;
      height: 230px;
      border: 1px solid rgba(95, 169, 255, 0.26);
      border-radius: 50%;
      box-shadow:
        0 0 0 35px rgba(95, 169, 255, 0.07),
        0 0 0 70px rgba(95, 169, 255, 0.04);
      content: "";
      pointer-events: none;
    }

    .category-page .heading-inner {
      position: relative;
      z-index: 1;
      max-width: 820px;
    }

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

    .category-page .breadcrumb a:hover,
    .category-page .breadcrumb a:focus-visible {
      color: #ffffff;
      outline: none;
    }

    .category-page .breadcrumb span + span::before {
      margin-right: 8px;
      color: #7691b7;
      content: "/";
    }

    .category-page .category-heading h1 {
      margin: 0;
      font-size: clamp(32px, 5vw, 52px);
      line-height: 1.18;
      letter-spacing: 0;
    }

    .category-page .category-heading p {
      max-width: 680px;
      margin: 16px 0 0;
      color: #d3deef;
      font-size: 16px;
    }

    .category-page .category-content {
      padding-top: 38px;
    }

    .category-page .content-toolbar {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 20px;
      margin-bottom: 22px;
      padding-bottom: 16px;
      border-bottom: 1px solid var(--line);
    }

    .category-page .content-toolbar h2 {
      margin: 0;
      color: #17243b;
      font-size: 23px;
      line-height: 1.3;
    }

    .category-page .content-toolbar p {
      margin: 5px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .category-page .toolbar-mark {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--brand);
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

    .category-page .toolbar-mark::before {
      width: 8px;
      height: 8px;
      background: var(--success);
      border-radius: 50%;
      box-shadow: 0 0 0 4px rgba(22, 134, 106, 0.12);
      content: "";
    }

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

    .category-page .article-card {
      min-width: 0;
      display: grid;
      grid-template-columns: minmax(250px, 32%) minmax(0, 1fr);
      overflow: hidden;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 7px;
      box-shadow: 0 7px 22px rgba(25, 37, 59, 0.045);
      transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

    .category-page .article-card:hover {
      border-color: #b8c8df;
      box-shadow: 0 12px 30px rgba(25, 37, 59, 0.09);
      transform: translateY(-2px);
    }

    .category-page .article-image-link {
      position: relative;
      min-height: 242px;
      overflow: hidden;
      background: #e8edf4;
    }

    .category-page .article-image-link img {
      width: 100%;
      height: 100%;
      min-height: 242px;
      object-fit: cover;
      transition: transform 0.35s ease;
    }

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

    .category-page .category-label {
      position: absolute;
      top: 14px;
      left: 14px;
      max-width: calc(100% - 28px);
      padding: 5px 9px;
      overflow: hidden;
      color: #ffffff;
      background: rgba(8, 44, 104, 0.92);
      border-radius: 3px;
      font-size: 12px;
      font-weight: 800;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .category-page .article-body {
      min-width: 0;
      display: flex;
      flex-direction: column;
      padding: 24px 26px 22px;
    }

    .category-page .article-title {
      margin: 0;
      color: #162137;
      font-size: 22px;
      line-height: 1.38;
      letter-spacing: 0;
    }

    .category-page .article-title a:hover,
    .category-page .article-title a:focus-visible {
      color: var(--brand);
      outline: none;
    }

    .category-page .article-summary {
      display: -webkit-box;
      overflow: hidden;
      margin: 11px 0 16px;
      color: #59667a;
      font-size: 15px;
      line-height: 1.75;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .category-page .article-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 7px 16px;
      margin: 0 0 13px;
      padding: 0;
      color: #778296;
      font-size: 12px;
      list-style: none;
    }

    .category-page .article-meta li {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .category-page .article-meta li::before {
      width: 5px;
      height: 5px;
      flex: 0 0 5px;
      background: #91a2ba;
      border-radius: 50%;
      content: "";
    }

    .category-page .article-tags {
      min-width: 0;
      margin: 0 0 18px;
      padding: 9px 11px;
      overflow-wrap: anywhere;
      color: #52617a;
      background: #f3f6fa;
      border-left: 3px solid #9bb6df;
      font-size: 12px;
    }

    .category-page .article-tags strong {
      color: #26344d;
    }

    .category-page .read-more {
      align-self: flex-start;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      min-height: 39px;
      margin-top: auto;
      padding: 0 14px;
      color: #ffffff;
      background: var(--brand);
      border-radius: 4px;
      font-size: 13px;
      font-weight: 800;
      transition: background 0.2s ease;
    }

    .category-page .read-more::after {
      content: "›";
      font-size: 19px;
      line-height: 1;
    }

    .category-page .read-more:hover,
    .category-page .read-more:focus-visible {
      background: var(--brand-dark);
      outline: none;
    }

    .category-page .pagination {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 7px;
      margin-top: 34px;
    }

    .category-page .pagination a {
      min-width: 40px;
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 12px;
      color: #34415a;
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 4px;
      font-size: 13px;
      font-weight: 800;
      transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    }

    .category-page .pagination a:hover,
    .category-page .pagination a:focus-visible,
    .category-page .pagination a.active,
    .category-page .pagination a.current {
      color: #ffffff;
      background: var(--brand);
      border-color: var(--brand);
      outline: none;
    }

    .footer {
      color: #c8d2e2;
      background: #0b1526;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.45fr 1fr 1fr 1.05fr;
      gap: 42px;
      padding: 56px 0 42px;
    }

    .footer .logo {
      color: #ffffff;
    }

    .footer-brand p {
      max-width: 380px;
      margin: 18px 0 0;
      color: #9eacc1;
      font-size: 14px;
    }

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

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

    .footer-links a,
    .footer-contact a,
    .footer-contact span {
      color: #aebacf;
      font-size: 13px;
      overflow-wrap: anywhere;
    }

    .footer-links a:hover,
    .footer-links a:focus-visible,
    .footer-contact a:hover,
    .footer-contact a:focus-visible {
      color: #ffffff;
      outline: none;
    }

    .footer-bottom {
      min-height: 66px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 14px 0;
      color: #8593a9;
      border-top: 1px solid #223047;
      font-size: 12px;
    }

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

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

      .hamburger {
        display: flex;
      }

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

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

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

      .topbar-contact {
        width: 100%;
        flex-wrap: wrap;
        gap: 2px 14px;
      }

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

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

      .header-btns > a:not(.account-btn) {
        display: none;
      }

      .account-btn {
        min-height: 36px;
        padding: 0 10px;
      }

      .category-page .category-heading {
        padding: 42px 0 40px;
      }

      .category-page .category-heading h1 {
        font-size: 34px;
      }

      .category-page .category-content {
        padding-top: 28px;
      }

      .category-page .content-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
      }

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

      .category-page .article-image-link,
      .category-page .article-image-link img {
        min-height: 0;
        aspect-ratio: 16 / 9;
      }

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

      .category-page .article-title {
        font-size: 19px;
      }

      .category-page .article-summary {
        -webkit-line-clamp: 3;
      }

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

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

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

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

      .account-btn {
        font-size: 12px;
      }

      .category-page .category-heading h1 {
        font-size: 30px;
      }

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

      .category-page .pagination a {
        min-width: 36px;
        min-height: 36px;
        padding: 5px 10px;
      }
    }