:root {
      --brand: #0B3D91;
      --theme-source: {主题色};
      --brand-dark: #072a67;
      --brand-soft: #eaf1fb;
      --ink: #172033;
      --muted: #657087;
      --line: #dce3ed;
      --surface: #ffffff;
      --page: #f4f7fb;
      --success: #147d64;
      --warning: #b76a16;
      --shadow: 0 14px 35px rgba(20, 39, 74, .09);
      --container: 1200px;
    }

    * {
      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;
      font-size: 15px;
      line-height: 1.7;
    }

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

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

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

    button {
      color: inherit;
    }

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

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

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

    .topbar span:last-child {
      display: flex;
      align-items: center;
      gap: 22px;
    }

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

    .topbar 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: 76px;
      display: flex;
      align-items: center;
      gap: 28px;
    }

    .logo {
      min-width: 190px;
      max-width: 260px;
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--brand-dark);
      font-size: 19px;
      font-weight: 800;
      line-height: 1.3;
    }

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

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

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

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

    .nav-link {
      position: relative;
      padding: 0 14px;
      display: flex;
      align-items: center;
      color: #29344b;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
      transition: color .2s ease;
    }

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

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

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

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

    .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: 70;
      visibility: hidden;
      opacity: 0;
      background: #ffffff;
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      transform: translateY(8px);
      transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .dropdown-panel {
      left: 0;
      width: 310px;
      padding: 10px;
    }

    .mega-menu {
      left: 50%;
      width: min(760px, calc(100vw - 40px));
      transform: translate(-50%, 8px);
    }

    .nav-item:hover > .dropdown-panel,
    .nav-item:focus-within > .dropdown-panel {
      visibility: visible;
      opacity: 1;
      transform: translateY(0);
    }

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

    .dropdown-panel > a:not(.mega-footer) {
      display: block;
      padding: 10px 12px;
      overflow: hidden;
      color: #303b51;
      border-radius: 4px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .dropdown-panel > a:not(.mega-footer):hover {
      color: var(--brand);
      background: var(--brand-soft);
    }

    .mega-grid {
      padding: 24px;
      display: grid;
      grid-template-columns: 190px minmax(0, 1fr);
      gap: 26px;
    }

    .mega-grid h4 {
      margin: 0 0 8px;
      color: var(--brand-dark);
      font-size: 16px;
    }

    .mega-grid p {
      margin: 0 0 13px;
      color: var(--muted);
      font-size: 13px;
      line-height: 1.65;
    }

    .mega-grid > div:first-child > a {
      display: block;
      padding: 6px 0;
      color: var(--brand);
      font-size: 13px;
      font-weight: 700;
    }

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

    .mega-card {
      min-width: 0;
      min-height: 72px;
      padding: 12px;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-content: center;
      column-gap: 9px;
      color: #2a354b;
      background: #f7f9fc;
      border: 1px solid #edf1f6;
      border-radius: 6px;
      transition: border-color .2s ease, background .2s ease;
    }

    .mega-card:hover {
      background: var(--brand-soft);
      border-color: #bad0ef;
    }

    .mega-card img {
      width: 28px;
      height: 28px;
      grid-row: 1 / span 2;
      object-fit: contain;
    }

    .mega-card b,
    .mega-card small {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card b {
      font-size: 13px;
    }

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

    .mega-footer {
      padding: 11px 18px;
      display: block;
      color: var(--brand);
      background: #f2f6fc;
      border-top: 1px solid var(--line);
      font-size: 13px;
      font-weight: 700;
      text-align: right;
    }

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

    .member-btn {
      display: inline-flex;
      align-items: center;
    }

    .open-btn {
      min-height: 38px;
      padding: 7px 17px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      background: var(--brand);
      border: 1px solid var(--brand);
      border-radius: 5px;
      font-size: 14px;
      font-weight: 700;
      transition: background .2s ease;
    }

    .open-btn:hover {
      background: var(--brand-dark);
    }

    .hamburger {
      width: 42px;
      height: 42px;
      padding: 9px;
      display: none;
      border: 0;
      background: transparent;
      cursor: pointer;
    }

    .hamburger span {
      width: 23px;
      height: 2px;
      margin: 5px auto;
      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: 90;
      visibility: hidden;
      opacity: 0;
      background: rgba(4, 14, 35, .58);
      transition: opacity .25s ease, visibility .25s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 100;
      width: min(390px, 92vw);
      height: 100vh;
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -15px 0 40px rgba(6, 29, 69, .18);
      transform: translateX(105%);
      transition: transform .25s ease;
    }

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

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

    .drawer-head > a {
      padding: 6px 12px;
      border: 1px solid rgba(255, 255, 255, .4);
      border-radius: 4px;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      margin-left: auto;
      color: #ffffff;
      background: transparent;
      border: 0;
      font-size: 29px;
      line-height: 1;
      cursor: pointer;
    }

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

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

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

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

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

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

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

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

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

    .tool-detail-page {
      min-width: 0;
    }

    .tool-detail-page .detail-banner {
      color: #ffffff;
      background: linear-gradient(115deg, #061d45 0%, #0B3D91 58%, #14647e 100%);
      border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .tool-detail-page .detail-banner-inner {
      min-height: 300px;
      padding-top: 48px;
      padding-bottom: 52px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .tool-detail-page .breadcrumb {
      margin-bottom: 26px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      color: #c3d5f4;
      font-size: 13px;
    }

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

    .tool-detail-page .tool-heading {
      max-width: 900px;
      display: grid;
      grid-template-columns: 82px minmax(0, 1fr);
      align-items: center;
      gap: 22px;
    }

    .tool-detail-page .tool-icon {
      width: 82px;
      height: 82px;
      padding: 15px;
      object-fit: contain;
      background: #ffffff;
      border: 1px solid rgba(255, 255, 255, .7);
      border-radius: 8px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, .16);
    }

    .tool-detail-page .tool-heading h1 {
      margin: 0 0 8px;
      color: #ffffff;
      font-size: clamp(30px, 4vw, 48px);
      line-height: 1.2;
      letter-spacing: 0;
      overflow-wrap: anywhere;
    }

    .tool-detail-page .tool-heading p {
      margin: 0;
      color: #dce8fa;
      font-size: 16px;
      line-height: 1.8;
    }

    .tool-detail-page .tool-meta {
      margin-top: 22px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .tool-detail-page .tool-meta span {
      padding: 5px 10px;
      color: #e8f2ff;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 4px;
      font-size: 13px;
    }

    .tool-detail-page .detail-layout {
      padding-top: 38px;
      padding-bottom: 64px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 320px;
      align-items: start;
      gap: 28px;
    }

    .tool-detail-page .detail-content,
    .tool-detail-page .related-tools,
    .tool-detail-page .notice-panel {
      background: var(--surface);
      border: 1px solid var(--line);
      border-radius: 7px;
      box-shadow: 0 8px 24px rgba(20, 39, 74, .05);
    }

    .tool-detail-page .detail-content {
      min-width: 0;
      max-width: 100%;
      padding: 34px;
      overflow-x: auto;
    }

    .tool-detail-page .content-title {
      margin: 0 0 24px;
      padding-bottom: 15px;
      color: var(--ink);
      border-bottom: 1px solid var(--line);
      font-size: 22px;
      line-height: 1.4;
    }

    .tool-detail-page .tool-body {
      min-width: 0;
      max-width: 100%;
      overflow-x: auto;
      color: #354158;
      font-size: 16px;
      line-height: 1.9;
      overflow-wrap: anywhere;
    }

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

    .tool-detail-page .tool-body img {
      height: auto;
    }

    .tool-detail-page .tool-body iframe {
      width: 100%;
    }

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

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

    .tool-detail-page .tool-body a {
      color: var(--brand);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .tool-detail-page .tool-body h2,
    .tool-detail-page .tool-body h3,
    .tool-detail-page .tool-body h4 {
      color: var(--ink);
      line-height: 1.45;
    }

    .tool-detail-page .tool-body pre,
    .tool-detail-page .tool-body code {
      max-width: 100%;
      overflow-x: auto;
    }

    .tool-detail-page .detail-update {
      margin-top: 30px;
      padding-top: 18px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 10px;
      color: var(--muted);
      border-top: 1px solid var(--line);
      font-size: 13px;
    }

    .tool-detail-page .sidebar {
      display: grid;
      gap: 20px;
    }

    .tool-detail-page .related-tools {
      padding: 22px;
    }

    .tool-detail-page .related-tools h2,
    .tool-detail-page .notice-panel h2 {
      margin: 0 0 16px;
      color: var(--ink);
      font-size: 18px;
      line-height: 1.4;
    }

    .tool-detail-page .related-tool {
      min-width: 0;
      padding: 14px 0;
      display: grid;
      grid-template-columns: 44px minmax(0, 1fr);
      gap: 12px;
      border-bottom: 1px solid var(--line);
    }

    .tool-detail-page .related-tool:first-of-type {
      padding-top: 3px;
    }

    .tool-detail-page .related-tool:last-child {
      padding-bottom: 0;
      border-bottom: 0;
    }

    .tool-detail-page .related-tool img {
      width: 44px;
      height: 44px;
      padding: 6px;
      object-fit: contain;
      background: var(--brand-soft);
      border: 1px solid #d4e1f3;
      border-radius: 6px;
    }

    .tool-detail-page .related-tool b,
    .tool-detail-page .related-tool small {
      display: block;
      overflow: hidden;
    }

    .tool-detail-page .related-tool b {
      color: #26334a;
      font-size: 14px;
      line-height: 1.45;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .tool-detail-page .related-tool small {
      margin-top: 3px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.55;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .tool-detail-page .related-tool:hover b {
      color: var(--brand);
    }

    .tool-detail-page .notice-panel {
      padding: 22px;
      border-top: 3px solid var(--warning);
    }

    .tool-detail-page .notice-panel p {
      margin: 0 0 16px;
      color: var(--muted);
      font-size: 13px;
    }

    .tool-detail-page .sidebar-action {
      min-height: 42px;
      padding: 9px 15px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      background: var(--brand);
      border-radius: 5px;
      font-weight: 700;
    }

    .tool-detail-page .sidebar-action:hover {
      background: var(--brand-dark);
    }

    .footer {
      color: #cbd5e6;
      background: #07162f;
    }

    .footer .container {
      padding-top: 48px;
      padding-bottom: 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
      gap: 36px;
    }

    .footer h4,
    .footer-brand strong {
      margin: 0 0 15px;
      display: block;
      color: #ffffff;
      font-size: 16px;
    }

    .footer p {
      margin: 0 0 8px;
      color: #aebbd0;
      font-size: 13px;
      line-height: 1.75;
    }

    .footer-grid > div > a {
      margin-bottom: 8px;
      display: block;
      color: #bdc8d9;
      font-size: 13px;
      transition: color .2s ease;
    }

    .footer-grid > div > a:hover {
      color: #ffffff;
    }

    .footer-bottom {
      margin-top: 35px;
      padding-top: 18px;
      display: flex;
      justify-content: space-between;
      gap: 20px;
      color: #8391a8;
      border-top: 1px solid rgba(255, 255, 255, .1);
      font-size: 12px;
    }

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

      .hamburger {
        display: block;
      }

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

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

    @media (max-width: 860px) {
      .tool-detail-page .detail-layout {
        grid-template-columns: minmax(0, 1fr);
      }

      .tool-detail-page .sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

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

      .topbar .container {
        padding: 7px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
      }

      .topbar span:last-child {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
      }

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

      .logo {
        min-width: 0;
        max-width: 170px;
        font-size: 16px;
      }

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

      .member-btn {
        display: none;
      }

      .open-btn {
        min-height: 36px;
        padding: 6px 12px;
      }

      .tool-detail-page .detail-banner-inner {
        min-height: 330px;
        padding-top: 34px;
        padding-bottom: 38px;
      }

      .tool-detail-page .breadcrumb {
        margin-bottom: 20px;
      }

      .tool-detail-page .tool-heading {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 14px;
      }

      .tool-detail-page .tool-icon {
        width: 62px;
        height: 62px;
        padding: 11px;
      }

      .tool-detail-page .tool-heading h1 {
        font-size: 29px;
      }

      .tool-detail-page .tool-heading p {
        grid-column: 1 / -1;
        font-size: 14px;
      }

      .tool-detail-page .detail-layout {
        padding-top: 22px;
        padding-bottom: 42px;
      }

      .tool-detail-page .detail-content {
        padding: 22px 18px;
      }

      .tool-detail-page .content-title {
        font-size: 19px;
      }

      .tool-detail-page .tool-body {
        font-size: 15px;
      }

      .tool-detail-page .sidebar {
        grid-template-columns: minmax(0, 1fr);
      }

      .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
      }

      .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
      }
    }