:root {
      --primary: #0B3D91;
      --primary-dark: #06275f;
      --primary-light: #e9f1ff;
      --template-theme: {主题色};
      --ink: #10213c;
      --muted: #66758b;
      --line: #dce4ef;
      --surface: #ffffff;
      --background: #f4f7fb;
      --radius: 16px;
      --shadow: 0 16px 45px rgba(11, 61, 145, .1);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

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

    body,
    button,
    input,
    textarea {
      font: inherit;
    }

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

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

    button {
      color: inherit;
    }

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

    .topbar {
      color: #dceaff;
      background: #061a39;
      font-size: 13px;
    }

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

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

    .topbar a:hover {
      color: #72e6ff;
    }

    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      border-bottom: 1px solid rgba(11, 61, 145, .1);
      background: rgba(255, 255, 255, .96);
      box-shadow: 0 8px 30px rgba(12, 38, 77, .05);
      backdrop-filter: blur(16px);
    }

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

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

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

    .logo span {
      overflow-wrap: anywhere;
    }

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

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

    .nav-item {
      position: relative;
    }

    .nav-link {
      min-height: 78px;
      display: flex;
      align-items: center;
      padding: 0 12px;
      color: #243653;
      font-size: 15px;
      font-weight: 700;
      white-space: nowrap;
    }

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

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

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      z-index: 120;
      width: 330px;
      padding: 20px;
      visibility: hidden;
      border: 1px solid var(--line);
      border-radius: 0 0 18px 18px;
      background: var(--surface);
      box-shadow: 0 24px 55px rgba(8, 35, 77, .16);
      opacity: 0;
      transform: translate(-50%, 10px);
      transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }

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

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

    .nav-item:hover > .dropdown-panel,
    .nav-item:hover > .mega-menu,
    .nav-item:focus-within > .dropdown-panel,
    .nav-item:focus-within > .mega-menu {
      visibility: visible;
      opacity: 1;
      transform: translate(-50%, 0);
    }

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

    .nav-item:nth-last-child(-n+3):hover > .mega-menu,
    .nav-item:nth-last-child(-n+3):focus-within > .mega-menu {
      transform: translateY(0);
    }

    .panel-title {
      margin: 0 0 14px;
      color: var(--primary-dark);
      font-size: 15px;
      font-weight: 800;
    }

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

    .panel-list a {
      padding: 7px 10px;
      border-radius: 9px;
      color: #42526b;
      background: #f3f6fb;
      font-size: 13px;
    }

    .panel-list a:hover {
      color: var(--primary);
      background: var(--primary-light);
    }

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

    .mega-card {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px;
      border: 1px solid #e6ebf3;
      border-radius: 12px;
      background: #fff;
      transition: border-color .2s, transform .2s, box-shadow .2s;
    }

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

    .mega-card img {
      width: 48px;
      height: 48px;
      flex: 0 0 auto;
      border-radius: 10px;
      background: #eef3fa;
      object-fit: cover;
    }

    .mega-card span {
      min-width: 0;
    }

    .mega-card strong,
    .mega-card small {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mega-card strong {
      color: #172b4a;
      font-size: 14px;
      white-space: nowrap;
    }

    .mega-card small {
      margin-top: 3px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
      white-space: nowrap;
    }

    .mega-footer {
      display: block;
      margin: 16px -20px -20px;
      padding: 13px 20px;
      border-radius: 0 0 17px 17px;
      color: var(--primary);
      background: #f0f5fd;
      font-size: 14px;
      font-weight: 800;
      text-align: center;
    }

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

    .member-btn {
      padding: 10px 16px;
      border-radius: 10px;
      color: #fff;
      background: var(--primary);
      font-size: 14px;
      font-weight: 800;
      white-space: nowrap;
      box-shadow: 0 8px 20px rgba(11, 61, 145, .22);
    }

    .member-btn:hover {
      background: var(--primary-dark);
    }

    .hamburger {
      width: 44px;
      height: 44px;
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      padding: 0;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #fff;
      cursor: pointer;
    }

    .hamburger span {
      width: 20px;
      height: 2px;
      display: block;
      border-radius: 4px;
      background: var(--ink);
      transition: transform .2s, opacity .2s;
    }

    .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: 180;
      visibility: hidden;
      background: rgba(3, 14, 31, .58);
      opacity: 0;
      transition: opacity .25s, visibility .25s;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 190;
      width: min(390px, 90vw);
      overflow-y: auto;
      background: #fff;
      box-shadow: -20px 0 50px rgba(0, 20, 52, .2);
      transform: translateX(105%);
      transition: transform .28s ease;
    }

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

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

    .drawer-head > a {
      color: var(--primary);
      font-weight: 800;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      margin-left: auto;
      padding: 0;
      border: 0;
      border-radius: 50%;
      color: #fff;
      background: var(--primary-dark);
      font-size: 25px;
      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;
      padding: 14px 4px;
      border: 0;
      border-bottom: 1px solid #edf1f6;
      background: transparent;
      color: #1a2f4f;
      font-weight: 800;
      text-align: left;
      cursor: pointer;
    }

    .drawer-toggle::after {
      content: "＋";
      color: var(--primary);
    }

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

    .drawer-submenu {
      max-height: 0;
      overflow: hidden;
      padding: 0 10px;
      background: #f7f9fc;
      transition: max-height .3s ease, padding .3s ease;
    }

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

    .drawer-submenu a {
      display: block;
      padding: 10px 8px;
      color: #52627a;
      font-size: 14px;
    }

    .drawer-submenu a:hover {
      color: var(--primary);
    }

    .article-page {
      padding: 46px 0 80px;
    }

    .article-page .article-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      align-items: start;
      gap: 30px;
    }

    .article-page .article-main,
    .article-page .article-sidebar {
      min-width: 0;
    }

    .article-page .breadcrumb {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 20px;
      color: var(--muted);
      font-size: 14px;
    }

    .article-page .breadcrumb a:hover {
      color: var(--primary);
    }

    .article-page .article-card {
      overflow: hidden;
      border: 1px solid rgba(11, 61, 145, .09);
      border-radius: 22px;
      background: #fff;
      box-shadow: var(--shadow);
    }

    .article-page .article-header {
      padding: 42px 46px 30px;
      background:
        radial-gradient(circle at 90% 0, rgba(51, 202, 255, .16), transparent 35%),
        linear-gradient(145deg, #071b3d, #0b3d91);
      color: #fff;
    }

    .article-page .category-label {
      display: inline-flex;
      padding: 7px 12px;
      border: 1px solid rgba(255, 255, 255, .24);
      border-radius: 999px;
      color: #bcecff;
      background: rgba(255, 255, 255, .1);
      font-size: 13px;
      font-weight: 800;
    }

    .article-page h1 {
      margin: 18px 0;
      font-size: clamp(30px, 4.2vw, 50px);
      line-height: 1.22;
      letter-spacing: -.025em;
      overflow-wrap: anywhere;
    }

    .article-page .article-summary {
      max-width: 760px;
      margin: 0 0 22px;
      color: #d9e8ff;
      font-size: 18px;
    }

    .article-page .article-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 22px;
      color: #b8cbed;
      font-size: 14px;
    }

    .article-page .article-cover {
      width: 100%;
      max-height: 520px;
      object-fit: cover;
      background: #e8eef7;
    }

    .article-page .article-body {
      min-width: 0;
      max-width: 100%;
      overflow-x: auto;
      padding: 38px 46px 46px;
      color: #263b58;
      font-size: 17px;
    }

    .article-page .article-body h2,
    .article-page .article-body h3,
    .article-page .article-body h4 {
      color: #102b52;
      line-height: 1.35;
    }

    .article-page .article-body h2 {
      margin: 38px 0 15px;
      font-size: 28px;
    }

    .article-page .article-body h3 {
      margin: 30px 0 12px;
      font-size: 22px;
    }

    .article-page .article-body p {
      margin: 0 0 20px;
    }

    .article-page .article-body a {
      color: var(--primary);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .article-page .article-body img,
    .article-page .article-body video,
    .article-page .article-body iframe,
    .article-page .article-body table {
      max-width: 100%;
    }

    .article-page .article-body img {
      height: auto;
      margin: 25px auto;
      border-radius: 14px;
    }

    .article-page .article-body table {
      width: 100%;
      border-collapse: collapse;
    }

    .article-page .article-body th,
    .article-page .article-body td {
      padding: 11px;
      border: 1px solid var(--line);
      text-align: left;
    }

    .article-page .article-tags {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 9px;
      margin-top: 32px;
      padding-top: 24px;
      border-top: 1px solid var(--line);
    }

    .article-page .article-tags > span:first-child {
      color: #31445f;
      font-weight: 800;
    }

    .article-page .article-tags a {
      padding: 6px 11px;
      border-radius: 999px;
      color: var(--primary);
      background: var(--primary-light);
      text-decoration: none;
    }

    .article-page .post-navigation {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      margin-top: 24px;
    }

    .article-page .post-navigation a {
      min-width: 0;
      display: block;
      padding: 20px;
      border: 1px solid var(--line);
      border-radius: 15px;
      background: #fff;
      box-shadow: 0 8px 22px rgba(11, 61, 145, .05);
    }

    .article-page .post-navigation a:hover {
      border-color: #9cbce8;
      transform: translateY(-2px);
    }

    .article-page .post-navigation small {
      display: block;
      margin-bottom: 5px;
      color: var(--muted);
    }

    .article-page .post-navigation strong {
      display: block;
      color: #17345e;
      overflow-wrap: anywhere;
    }

    .article-page .post-next {
      text-align: right;
    }

    .article-page .sidebar-card {
      margin-bottom: 20px;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: #fff;
      box-shadow: 0 12px 35px rgba(11, 61, 145, .06);
    }

    .article-page .sidebar-card h2 {
      margin: 0 0 16px;
      color: #112f5d;
      font-size: 20px;
    }

    .article-page .sidebar-card p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .article-page .risk-list {
      margin: 15px 0 0;
      padding-left: 20px;
      color: #475b76;
      font-size: 14px;
    }

    .article-page .risk-list li + li {
      margin-top: 8px;
    }

    .article-page .sidebar-cta {
      display: block;
      margin-top: 18px;
      padding: 11px 14px;
      border-radius: 10px;
      color: #fff;
      background: var(--primary);
      font-weight: 800;
      text-align: center;
    }

    .article-page .related-section {
      margin-top: 52px;
    }

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

    .article-page .section-heading h2 {
      margin: 0;
      color: #102d59;
      font-size: 28px;
    }

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

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

    .article-page .related-card {
      min-width: 0;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 16px;
      background: #fff;
      box-shadow: 0 10px 28px rgba(11, 61, 145, .06);
      transition: transform .2s, box-shadow .2s;
    }

    .article-page .related-card:hover {
      box-shadow: 0 16px 34px rgba(11, 61, 145, .12);
      transform: translateY(-4px);
    }

    .article-page .related-card img {
      width: 100%;
      height: 170px;
      object-fit: cover;
      background: #e8eef7;
    }

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

    .article-page .related-body time {
      color: var(--muted);
      font-size: 13px;
    }

    .article-page .related-body h3 {
      margin: 8px 0;
      color: #18365f;
      font-size: 17px;
      line-height: 1.45;
      overflow-wrap: anywhere;
    }

    .article-page .related-body p {
      display: -webkit-box;
      overflow: hidden;
      margin: 0;
      color: var(--muted);
      font-size: 14px;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .footer {
      color: #cbd9ee;
      background: #061a39;
    }

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

    .footer .logo {
      color: #fff;
    }

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

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

    .footer-links {
      display: flex;
      align-items: flex-start;
      flex-direction: column;
      gap: 10px;
      font-size: 14px;
    }

    .footer-links a:hover {
      color: #69ddff;
    }

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

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

      .hamburger {
        display: flex;
      }

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

      .article-page .article-layout {
        grid-template-columns: minmax(0, 1fr);
      }

      .article-page .article-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
      }

      .article-page .sidebar-card {
        margin-bottom: 0;
      }
    }

    @media (max-width: 800px) {
      .topbar-inner,
      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 10px 0;
      }

      .topbar-links {
        flex-wrap: wrap;
        gap: 5px 16px;
      }

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

      .header-btns > .member-btn {
        display: none;
      }

      .article-page {
        padding-top: 28px;
      }

      .article-page .article-header,
      .article-page .article-body {
        padding: 28px 24px;
      }

      .article-page .article-summary {
        font-size: 16px;
      }

      .article-page .post-navigation,
      .article-page .article-sidebar {
        grid-template-columns: 1fr;
      }

      .article-page .post-next {
        text-align: left;
      }

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

      .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
        padding-top: 45px;
      }
    }

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

      .logo {
        font-size: 16px;
      }

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

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

      .article-page .article-card {
        border-radius: 16px;
      }

      .article-page .related-grid,
      .footer-grid {
        grid-template-columns: 1fr;
      }

      .article-page .section-heading {
        align-items: flex-start;
        flex-direction: column;
      }
    }