:root {
      --theme-template: {主题色};
      --primary: #0B3D91;
      --primary-dark: #072a65;
      --primary-soft: #eaf1fb;
      --ink: #172033;
      --muted: #657087;
      --line: #dce2ec;
      --surface: #ffffff;
      --surface-soft: #f5f7fa;
      --success: #08775c;
      --warning: #b66100;
      --shadow: 0 12px 34px rgba(18, 34, 63, 0.1);
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--surface-soft);
      font-family: Arial, "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,
    textarea {
      font: inherit;
    }

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

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

    .topbar {
      color: #ffffff;
      background: var(--primary-dark);
      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 a:hover,
    .topbar a:focus-visible {
      text-decoration: underline;
    }

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

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

    .logo {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--primary-dark);
      font-size: 19px;
      font-weight: 800;
    }

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

    .logo span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .main-nav {
      margin-left: auto;
    }

    .nav-list {
      margin: 0;
      padding: 0;
      display: flex;
      align-items: stretch;
      list-style: none;
    }

    .nav-item {
      position: relative;
    }

    .nav-link {
      min-height: 76px;
      padding: 0 12px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #29344a;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

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

    .has-arrow::after {
      width: 6px;
      height: 6px;
      content: "";
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg) translateY(-2px);
    }

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

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

    .dropdown-panel {
      width: 310px;
      padding: 10px;
      border-radius: 0 0 6px 6px;
    }

    .dropdown-panel > a {
      padding: 10px 12px;
      display: block;
      border-radius: 4px;
      color: #344057;
      font-size: 14px;
    }

    .dropdown-panel > a:hover,
    .dropdown-panel > a:focus-visible {
      color: var(--primary);
      background: var(--primary-soft);
    }

    .dropdown-panel .dropdown-all {
      margin-top: 6px;
      color: var(--primary);
      border-top: 1px solid var(--line);
      border-radius: 0;
      font-weight: 800;
    }

    .mega-menu {
      left: 50%;
      width: min(900px, calc(100vw - 40px));
      padding: 22px;
      border-radius: 0 0 6px 6px;
      transform: translate(-50%, 8px);
    }

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

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

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

    .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 {
      margin: 0 0 14px;
      color: var(--ink);
      font-size: 18px;
      line-height: 1.35;
    }

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

    .mega-categories a {
      padding: 7px 11px;
      color: var(--primary);
      background: var(--primary-soft);
      border: 1px solid #cedcf2;
      border-radius: 4px;
      font-size: 13px;
      font-weight: 700;
    }

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

    .mega-card {
      min-width: 0;
      min-height: 110px;
      padding: 13px;
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr);
      align-content: start;
      gap: 6px 10px;
      border: 1px solid var(--line);
      border-radius: 6px;
      transition: border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .mega-card:hover,
    .mega-card:focus-visible {
      border-color: #9bb7df;
      box-shadow: 0 8px 20px rgba(11, 61, 145, 0.1);
    }

    .mega-card img {
      width: 42px;
      height: 42px;
      grid-row: 1 / span 3;
      object-fit: contain;
      border-radius: 4px;
    }

    .mega-card strong,
    .mega-card p,
    .mega-meta {
      min-width: 0;
      grid-column: 2;
    }

    .mega-card strong {
      overflow: hidden;
      color: #202b40;
      font-size: 14px;
      line-height: 1.4;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

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

    .mega-card-cover {
      grid-template-columns: 76px minmax(0, 1fr);
    }

    .mega-card-cover img {
      width: 76px;
      height: 64px;
      object-fit: cover;
    }

    .mega-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 3px 9px;
      color: var(--muted);
      font-size: 11px;
    }

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

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

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

    .account-btn {
      min-height: 40px;
      padding: 8px 15px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      background: var(--primary);
      border-radius: 4px;
      font-size: 14px;
      font-weight: 800;
    }

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

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

    .hamburger span {
      width: 100%;
      height: 2px;
      margin: 4px 0;
      display: block;
      background: var(--ink);
      transition: transform 0.18s ease, opacity 0.18s 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;
      z-index: 80;
      inset: 0;
      visibility: hidden;
      opacity: 0;
      background: rgba(9, 17, 31, 0.56);
      transition: opacity 0.2s ease, visibility 0.2s;
    }

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

    .mobile-drawer {
      position: fixed;
      z-index: 90;
      top: 0;
      right: 0;
      width: min(390px, 92vw);
      height: 100%;
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -18px 0 44px rgba(10, 24, 48, 0.2);
      transform: translateX(105%);
      transition: transform 0.24s ease;
    }

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

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

    .drawer-head > a {
      margin-left: auto;
      padding: 7px 10px;
      color: #ffffff;
      background: var(--primary);
      border-radius: 4px;
      font-size: 13px;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      padding: 0;
      color: var(--ink);
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 4px;
      font-size: 26px;
      line-height: 1;
      cursor: pointer;
    }

    .drawer-menu {
      padding: 10px 16px 28px;
    }

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

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

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

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

    .drawer-submenu {
      max-height: 0;
      overflow: hidden;
      background: var(--surface-soft);
      transition: max-height 0.25s ease;
    }

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

    .drawer-submenu a {
      padding: 9px 14px;
      display: block;
      color: #536078;
      border-bottom: 1px solid #e7ebf1;
      font-size: 14px;
    }

    .footer {
      color: #dce5f4;
      background: #111b2d;
    }

    .footer-main {
      padding-block: 52px 40px;
      display: grid;
      grid-template-columns: 1.5fr repeat(3, 1fr);
      gap: 40px;
    }

    .footer .logo {
      color: #ffffff;
    }

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

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

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

    .footer-links a {
      color: #b8c4d8;
      font-size: 14px;
    }

    .footer-links a:hover,
    .footer-links a:focus-visible {
      color: #ffffff;
      text-decoration: underline;
    }

    .footer-bottom {
      min-height: 64px;
      padding-block: 15px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      color: #9caac0;
      border-top: 1px solid #29354a;
      font-size: 13px;
    }

    .ea-content-stack {
      min-width: 0;
      background: var(--surface-soft);
    }

    .ea-content-stack .product-breadcrumb {
      padding-block: 18px;
      color: var(--muted);
      font-size: 14px;
    }

    .ea-content-stack .product-breadcrumb a {
      color: var(--primary);
      font-weight: 700;
    }

    .ea-content-stack .product-breadcrumb span {
      margin: 0 7px;
      color: #9aa5b7;
    }

    .ea-content-stack .product-intro {
      padding: 30px;
      display: grid;
      grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
      gap: 38px;
      background: #ffffff;
      border: 1px solid var(--line);
      border-top: 4px solid var(--primary);
      border-radius: 6px;
      box-shadow: var(--shadow);
    }

    .ea-content-stack .product-media {
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #f7f9fc;
      border: 1px solid var(--line);
      border-radius: 6px;
      aspect-ratio: 4 / 3;
      overflow: hidden;
    }

    .ea-content-stack .product-media img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .ea-content-stack .product-summary {
      min-width: 0;
      align-self: center;
    }

    .ea-content-stack .category-label {
      margin-bottom: 12px;
      padding: 5px 9px;
      display: inline-flex;
      color: var(--primary);
      background: var(--primary-soft);
      border: 1px solid #cbdaf0;
      border-radius: 3px;
      font-size: 13px;
      font-weight: 800;
    }

    .ea-content-stack h1 {
      margin: 0;
      color: #152039;
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.18;
      overflow-wrap: anywhere;
    }

    .ea-content-stack .product-lead {
      margin: 18px 0;
      color: #536078;
      font-size: 17px;
    }

    .ea-content-stack .product-facts {
      margin: 0;
      padding: 16px 0;
      display: flex;
      flex-wrap: wrap;
      gap: 12px 24px;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      color: var(--muted);
      font-size: 14px;
    }

    .ea-content-stack .product-facts strong {
      color: var(--ink);
    }

    .ea-content-stack .product-actions {
      margin-top: 22px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .ea-content-stack .primary-action,
    .ea-content-stack .secondary-action {
      min-height: 46px;
      padding: 10px 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      font-weight: 800;
    }

    .ea-content-stack .primary-action {
      color: #ffffff;
      background: var(--primary);
      border: 1px solid var(--primary);
    }

    .ea-content-stack .primary-action:hover,
    .ea-content-stack .primary-action:focus-visible {
      background: var(--primary-dark);
    }

    .ea-content-stack .secondary-action {
      color: var(--primary);
      background: #ffffff;
      border: 1px solid #aac0df;
    }

    .ea-content-stack .content-layout {
      min-width: 0;
      padding-block: 34px 60px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 300px;
      gap: 28px;
      align-items: start;
    }

    .ea-content-stack .product-body,
    .ea-content-stack .related-panel {
      min-width: 0;
      max-width: 100%;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 6px;
    }

    .ea-content-stack .product-body {
      padding: clamp(22px, 4vw, 42px);
      overflow-x: auto;
    }

    .ea-content-stack .product-body h2,
    .ea-content-stack .related-panel h2 {
      margin: 0 0 20px;
      color: #17243d;
      font-size: 23px;
      line-height: 1.35;
    }

    .ea-content-stack .product-content {
      min-width: 0;
      max-width: 100%;
      overflow-x: auto;
      color: #3d4960;
      line-height: 1.85;
    }

    .ea-content-stack .product-content img,
    .ea-content-stack .product-content video,
    .ea-content-stack .product-content iframe,
    .ea-content-stack .product-content table,
    .ea-content-stack .product-content pre {
      max-width: 100%;
    }

    .ea-content-stack .product-content img,
    .ea-content-stack .product-content video {
      height: auto;
    }

    .ea-content-stack .product-content table {
      width: 100%;
      border-collapse: collapse;
    }

    .ea-content-stack .product-content th,
    .ea-content-stack .product-content td {
      padding: 10px;
      border: 1px solid var(--line);
      text-align: left;
    }

    .ea-content-stack .product-content a {
      color: var(--primary);
      text-decoration: underline;
    }

    .ea-content-stack .related-panel {
      position: sticky;
      top: 18px;
      padding: 22px;
    }

    .ea-content-stack .related-list {
      display: grid;
      gap: 14px;
    }

    .ea-content-stack .related-product {
      min-width: 0;
      padding-bottom: 14px;
      display: grid;
      grid-template-columns: 74px minmax(0, 1fr);
      gap: 11px;
      border-bottom: 1px solid var(--line);
    }

    .ea-content-stack .related-product:last-child {
      padding-bottom: 0;
      border-bottom: 0;
    }

    .ea-content-stack .related-product img {
      width: 74px;
      height: 68px;
      object-fit: cover;
      background: var(--surface-soft);
      border: 1px solid var(--line);
      border-radius: 4px;
    }

    .ea-content-stack .related-product strong {
      display: block;
      overflow: hidden;
      color: #26324a;
      font-size: 14px;
      line-height: 1.45;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .ea-content-stack .related-product p {
      margin: 4px 0 0;
      display: -webkit-box;
      overflow: hidden;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .ea-content-stack .related-product time {
      margin-top: 5px;
      display: block;
      color: #7b879b;
      font-size: 11px;
    }

    .ea-content-stack .product-notice {
      margin-top: 26px;
      padding: 18px;
      color: #5a4a24;
      background: #fff8e7;
      border-left: 4px solid #e4a322;
      border-radius: 3px;
      font-size: 14px;
    }

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

      .hamburger {
        display: block;
      }

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

    @media (max-width: 860px) {
      .ea-content-stack .product-intro,
      .ea-content-stack .content-layout {
        grid-template-columns: minmax(0, 1fr);
      }

      .ea-content-stack .product-media {
        max-height: 420px;
      }

      .ea-content-stack .related-panel {
        position: static;
      }

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

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

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

      .topbar-contact {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
      }

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

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

      .header .logo img {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
      }

      .member-entry,
      .account-btn {
        display: none;
      }

      .ea-content-stack .product-breadcrumb {
        white-space: nowrap;
        overflow-x: auto;
      }

      .ea-content-stack .product-intro {
        padding: 18px;
        gap: 22px;
      }

      .ea-content-stack h1 {
        font-size: 30px;
      }

      .ea-content-stack .product-lead {
        font-size: 15px;
      }

      .ea-content-stack .primary-action,
      .ea-content-stack .secondary-action {
        width: 100%;
      }

      .ea-content-stack .content-layout {
        padding-block: 24px 42px;
      }

      .ea-content-stack .product-body,
      .ea-content-stack .related-panel {
        padding: 20px;
      }

      .footer-main {
        padding-block: 40px 30px;
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
      }

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