:root {
      --primary: #0B3D91;
      --template-theme: {主题色};
      --primary-dark: #07285f;
      --primary-light: #eaf1fc;
      --ink: #142033;
      --muted: #66758a;
      --line: #dfe5ed;
      --surface: #ffffff;
      --page: #f5f7fa;
      --accent: #00b8d9;
      --success: #1a8f67;
      --shadow: 0 14px 38px rgba(17, 36, 65, .12);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--page);
      font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
      line-height: 1.7;
      letter-spacing: 0;
    }

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

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

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

    button {
      color: inherit;
    }

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

    .topbar {
      color: #dbe8ff;
      background: #061b3d;
      font-size: 13px;
    }

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

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

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

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

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

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

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

    .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: flex;
      align-items: center;
      padding: 0 13px;
      color: #27364b;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

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

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

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

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

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

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

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

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

    .dropdown-title,
    .mega-heading {
      margin-bottom: 12px;
      color: var(--primary-dark);
      font-size: 14px;
      font-weight: 800;
    }

    .dropdown-panel > a {
      display: block;
      padding: 9px 0;
      border-top: 1px solid #edf0f4;
      color: #47566b;
      font-size: 13px;
    }

    .dropdown-panel > a:hover {
      color: var(--primary);
    }

    .mega-menu {
      left: 50%;
      width: min(720px, 78vw);
      padding: 24px;
      border-radius: 0 0 6px 6px;
      transform: translate(-50%, 8px);
    }

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

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

    .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-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
      gap: 28px;
    }

    .mega-list {
      display: grid;
      gap: 6px;
    }

    .mega-list > a {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 11px;
      padding: 8px;
      border-radius: 4px;
    }

    .mega-list > a:hover {
      background: var(--primary-light);
    }

    .mega-list img {
      flex: 0 0 auto;
      width: 38px;
      height: 38px;
      border: 1px solid #e5eaf0;
      border-radius: 4px;
      background: #ffffff;
      object-fit: contain;
    }

    .mega-list a > span {
      min-width: 0;
    }

    .mega-item-title,
    .mega-item-meta {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-item-title {
      color: #24344a;
      font-size: 13px;
      font-weight: 700;
    }

    .mega-item-meta {
      margin-top: 2px;
      color: #7b8798;
      font-size: 11px;
    }

    .mega-tools,
    .mega-categories {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .mega-tools span,
    .mega-categories a {
      padding: 7px 10px;
      border: 1px solid #dfe6ef;
      border-radius: 4px;
      color: #526176;
      background: #f8fafc;
      font-size: 12px;
    }

    .mega-categories a:hover {
      color: var(--primary);
      border-color: #a9bee1;
      background: var(--primary-light);
    }

    .mega-footer {
      display: inline-flex;
      margin-top: 18px;
      color: var(--primary);
      font-size: 13px;
      font-weight: 800;
    }

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

    .member-link {
      color: var(--primary);
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }

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

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

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

    .hamburger span {
      width: 20px;
      height: 2px;
      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: 190;
      visibility: hidden;
      opacity: 0;
      background: rgba(5, 16, 34, .58);
      transition: opacity .25s ease, visibility .25s;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 200;
      width: min(390px, 90vw);
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -16px 0 36px rgba(9, 23, 45, .2);
      transform: translateX(105%);
      transition: transform .25s ease;
    }

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

    .drawer-head {
      min-height: 72px;
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 20px;
      color: #ffffff;
      background: var(--primary-dark);
    }

    .drawer-head > span {
      margin-right: auto;
      font-weight: 800;
    }

    .drawer-head > a {
      color: #b9e9f4;
      font-size: 14px;
      font-weight: 700;
    }

    .drawer-close {
      width: 36px;
      height: 36px;
      padding: 0;
      border: 1px solid rgba(255, 255, 255, .3);
      border-radius: 4px;
      color: #ffffff;
      background: transparent;
      font-size: 25px;
      line-height: 1;
      cursor: pointer;
    }

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

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      min-height: 48px;
      display: flex;
      align-items: center;
      padding: 0;
      border: 0;
      border-bottom: 1px solid #edf0f4;
      background: transparent;
      color: #26364b;
      font-size: 15px;
      font-weight: 700;
      text-align: left;
      cursor: pointer;
    }

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

    .drawer-toggle::after {
      content: "+";
      position: absolute;
      right: 2px;
      color: var(--primary);
      font-size: 20px;
      font-weight: 400;
    }

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

    .drawer-submenu {
      display: none;
      padding: 8px 0 10px 14px;
      border-bottom: 1px solid #edf0f4;
    }

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

    .drawer-submenu a {
      padding: 8px 0;
      color: #65748a;
      font-size: 13px;
    }

    .article-page {
      min-width: 0;
    }

    .article-page .article-banner {
      position: relative;
      overflow: hidden;
      color: #ffffff;
      background:
        linear-gradient(120deg, rgba(4, 23, 55, .98), rgba(11, 61, 145, .9)),
        #071d42;
    }

    .article-page .article-banner::after {
      content: "";
      position: absolute;
      right: 7%;
      bottom: -92px;
      width: 360px;
      height: 180px;
      border: 1px solid rgba(0, 184, 217, .3);
      border-radius: 50%;
      transform: rotate(-10deg);
    }

    .article-page .banner-inner {
      position: relative;
      z-index: 1;
      padding: 28px 0 32px;
    }

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

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

    .article-page .article-category {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      margin-bottom: 12px;
      padding: 0 10px;
      border: 1px solid rgba(100, 224, 244, .42);
      border-radius: 4px;
      color: #8cecff;
      background: rgba(0, 184, 217, .1);
      font-size: 12px;
      font-weight: 800;
    }

    .article-page .article-title {
      max-width: 900px;
      margin: 0;
      font-size: 38px;
      line-height: 1.3;
      letter-spacing: 0;
      overflow-wrap: anywhere;
    }

    .article-page .article-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 12px 24px;
      margin-top: 18px;
      color: #c9d6e9;
      font-size: 13px;
    }

    .article-page .article-meta span {
      display: inline-flex;
      align-items: center;
      gap: 7px;
    }

    .article-page .article-meta span::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent);
    }

    .article-page .article-layout {
      min-width: 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 300px;
      align-items: start;
      gap: 28px;
      padding-top: 34px;
      padding-bottom: 56px;
    }

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

    .article-page .article-panel {
      min-width: 0;
      padding: 38px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #ffffff;
      box-shadow: 0 10px 30px rgba(27, 45, 72, .06);
    }

    .article-page .article-summary {
      margin: 0 0 28px;
      padding: 18px 20px;
      border-left: 4px solid var(--accent);
      color: #405168;
      background: #f0f6fd;
      font-size: 15px;
    }

    .article-page .article-content {
      min-width: 0;
      max-width: 100%;
      overflow-x: auto;
      color: #29384c;
      font-size: 16px;
      line-height: 1.9;
    }

    .article-page .article-content h2,
    .article-page .article-content h3,
    .article-page .article-content h4 {
      color: #15263d;
      line-height: 1.45;
      letter-spacing: 0;
    }

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

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

    .article-page .article-content img {
      height: auto;
      margin: 24px auto;
    }

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

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

    .article-page .article-tags {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 9px;
      margin-top: 30px;
      padding-top: 22px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 13px;
    }

    .article-page .article-tags strong {
      color: var(--ink);
    }

    .article-page .article-tags a {
      padding: 5px 9px;
      border: 1px solid #d8e1ed;
      border-radius: 4px;
      color: var(--primary);
      background: #f8fbff;
    }

    .article-page .article-nav {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      margin-top: 20px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #ffffff;
    }

    .article-page .article-nav a {
      min-width: 0;
      display: block;
      padding: 18px 20px;
    }

    .article-page .article-nav a + a {
      border-left: 1px solid var(--line);
      text-align: right;
    }

    .article-page .article-nav span {
      display: block;
      margin-bottom: 5px;
      color: var(--muted);
      font-size: 12px;
    }

    .article-page .article-nav strong {
      display: block;
      overflow: hidden;
      color: #26374e;
      font-size: 14px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

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

    .article-page .sidebar-card {
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #ffffff;
    }

    .article-page .sidebar-card + .sidebar-card {
      margin-top: 18px;
    }

    .article-page .sidebar-title {
      margin: 0 0 15px;
      padding-bottom: 11px;
      border-bottom: 2px solid var(--primary);
      color: #17283f;
      font-size: 17px;
      line-height: 1.4;
    }

    .article-page .market-note {
      color: #5e6d80;
      font-size: 13px;
    }

    .article-page .market-note p {
      margin: 0 0 14px;
    }

    .article-page .market-note a {
      min-height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 4px;
      color: #ffffff;
      background: var(--primary);
      font-weight: 800;
    }

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

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

    .article-page .related-heading h2 {
      margin: 0;
      color: #17283f;
      font-size: 23px;
      letter-spacing: 0;
    }

    .article-page .related-heading a {
      color: var(--primary);
      font-size: 13px;
      font-weight: 800;
    }

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

    .article-page .related-card {
      min-width: 0;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 6px;
      background: #ffffff;
    }

    .article-page .related-card img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
      background: #e8edf4;
    }

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

    .article-page .related-body h3 {
      min-height: 44px;
      margin: 0 0 9px;
      overflow: hidden;
      color: #26374e;
      font-size: 14px;
      line-height: 1.55;
    }

    .article-page .related-body p {
      min-height: 42px;
      margin: 0 0 10px;
      overflow: hidden;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.7;
    }

    .article-page .related-meta {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      color: #8490a0;
      font-size: 11px;
    }

    .article-page .sidebar-related {
      display: grid;
    }

    .article-page .sidebar-related a {
      display: grid;
      grid-template-columns: 72px minmax(0, 1fr);
      align-items: center;
      gap: 10px;
      padding: 11px 0;
      border-bottom: 1px solid #edf0f4;
    }

    .article-page .sidebar-related a:last-child {
      border-bottom: 0;
    }

    .article-page .sidebar-related img {
      width: 72px;
      height: 50px;
      border-radius: 3px;
      object-fit: cover;
      background: #e8edf4;
    }

    .article-page .sidebar-related span {
      min-width: 0;
      overflow: hidden;
      color: #34445a;
      font-size: 12px;
      line-height: 1.55;
    }

    .footer {
      color: #bbc8db;
      background: #071a38;
    }

    .footer .container {
      padding-top: 46px;
      padding-bottom: 22px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.35fr .85fr .85fr 1fr;
      gap: 38px;
    }

    .footer-brand img {
      width: 46px;
      height: 46px;
      object-fit: contain;
    }

    .footer h3,
    .footer h4 {
      color: #ffffff;
      letter-spacing: 0;
    }

    .footer h3 {
      margin: 11px 0 9px;
      font-size: 19px;
    }

    .footer h4 {
      margin: 0 0 15px;
      font-size: 14px;
    }

    .footer p {
      max-width: 330px;
      margin: 0;
      font-size: 13px;
      line-height: 1.8;
    }

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

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

    .footer-contact span {
      overflow-wrap: anywhere;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 22px;
      margin-top: 38px;
      padding-top: 19px;
      border-top: 1px solid rgba(255, 255, 255, .12);
      color: #8798b0;
      font-size: 12px;
    }

    @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) 270px;
      }
    }

    @media (max-width: 860px) {
      .article-page .article-title {
        font-size: 30px;
      }

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

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

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

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

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

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

      .topbar-inner {
        min-height: 40px;
      }

      .topbar-inner > span {
        display: none;
      }

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

      .topbar-links a {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

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

      .logo {
        min-width: 0;
        max-width: calc(100% - 54px);
        font-size: 16px;
      }

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

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

      .article-page .banner-inner {
        padding: 22px 0 26px;
      }

      .article-page .breadcrumb {
        margin-bottom: 13px;
      }

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

      .article-page .article-meta {
        gap: 8px 15px;
      }

      .article-page .article-layout {
        gap: 22px;
        padding-top: 22px;
        padding-bottom: 38px;
      }

      .article-page .article-panel {
        padding: 22px 18px;
      }

      .article-page .article-summary {
        padding: 14px 15px;
      }

      .article-page .article-content {
        font-size: 15px;
      }

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

      .article-page .article-nav a + a {
        border-top: 1px solid var(--line);
        border-left: 0;
        text-align: left;
      }

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

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

      .article-page .related-body h3,
      .article-page .related-body p {
        min-height: 0;
      }

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

      .footer-bottom {
        flex-direction: column;
        gap: 8px;
      }
    }