:root {
      --theme: #0B3D91;
      --theme-dark: #072b67;
      --theme-deep: #061c3f;
      --theme-soft: #eaf1ff;
      --accent: #f2b544;
      --ink: #182234;
      --muted: #647084;
      --line: #dfe6ef;
      --surface: #ffffff;
      --background: #f5f7fb;
      --success: #18795a;
      --shadow: 0 18px 48px rgba(10, 35, 78, 0.12);
      --radius: 18px;
      --container: 1200px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--background);
      font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, 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 {
      font: inherit;
    }

    button {
      cursor: pointer;
    }

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

    .topbar {
      color: #dce9ff;
      background: var(--theme-deep);
      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 {
      color: #ffffff;
    }

    .header {
      position: relative;
      z-index: 50;
      border-bottom: 1px solid rgba(11, 61, 145, 0.1);
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 5px 22px rgba(14, 38, 75, 0.05);
    }

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

    .logo {
      min-width: 150px;
      display: inline-flex;
      align-items: center;
      gap: 11px;
      color: var(--theme-deep);
      font-size: 19px;
      font-weight: 800;
      letter-spacing: -0.02em;
    }

    .logo img {
      width: 42px;
      height: 42px;
      border-radius: 11px;
      object-fit: contain;
      background: #ffffff;
    }

    .main-nav {
      flex: 1;
      align-self: stretch;
    }

    .nav-list {
      height: 100%;
      margin: 0;
      padding: 0;
      display: flex;
      justify-content: center;
      list-style: none;
    }

    .nav-item {
      position: relative;
      height: 100%;
      display: flex;
      align-items: center;
    }

    .nav-link {
      height: 100%;
      padding: 0 13px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #25344b;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
      transition: color 0.2s ease, background 0.2s ease;
    }

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

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

    .nav-item:hover .has-arrow::after,
    .nav-item:focus-within .has-arrow::after {
      transform: rotate(225deg) translate(-1px, -1px);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      z-index: 70;
      visibility: hidden;
      opacity: 0;
      pointer-events: none;
      transform: translate(-50%, 10px);
      border: 1px solid var(--line);
      border-radius: 0 0 18px 18px;
      background: #ffffff;
      box-shadow: var(--shadow);
      transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .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;
      pointer-events: auto;
      transform: translate(-50%, 0);
    }

    .dropdown-panel {
      width: 300px;
      padding: 14px;
    }

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

    .dropdown-panel > a:not(.dropdown-all):hover {
      color: var(--theme);
      background: var(--theme-soft);
    }

    .dropdown-all,
    .mega-footer {
      margin-top: 10px;
      padding: 11px 14px;
      display: block;
      border-radius: 10px;
      color: #ffffff;
      background: var(--theme);
      text-align: center;
      font-size: 13px;
      font-weight: 800;
    }

    .mega-menu {
      width: min(900px, calc(100vw - 48px));
      padding: 22px;
    }

    .mega-menu-video,
    .mega-menu-products {
      width: min(980px, calc(100vw - 48px));
    }

    .mega-title {
      margin: 0 0 13px;
      color: var(--theme-deep);
      font-size: 15px;
      font-weight: 800;
    }

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

    .mega-categories a {
      padding: 6px 11px;
      border: 1px solid #d9e4f7;
      border-radius: 999px;
      color: var(--theme);
      background: #f7faff;
      font-size: 12px;
      font-weight: 700;
    }

    .mega-categories a:hover {
      color: #ffffff;
      border-color: var(--theme);
      background: var(--theme);
    }

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

    .mega-card {
      min-width: 0;
      padding: 11px;
      display: flex;
      align-items: flex-start;
      gap: 10px;
      border: 1px solid #e5eaf2;
      border-radius: 12px;
      background: #ffffff;
      transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

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

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

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

    .mega-card strong {
      display: block;
      overflow: hidden;
      color: #17253a;
      font-size: 13px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

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

    .mega-card small {
      display: block;
      overflow: hidden;
      color: #748197;
      font-size: 10px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

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

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

    .header-account {
      padding: 9px 16px;
      border-radius: 9px;
      color: #ffffff;
      background: var(--theme);
      font-size: 13px;
      font-weight: 800;
      box-shadow: 0 8px 18px rgba(11, 61, 145, 0.2);
    }

    .header-account:hover {
      background: var(--theme-dark);
    }

    .hamburger {
      width: 43px;
      height: 43px;
      padding: 10px;
      display: none;
      border: 1px solid #dce3ee;
      border-radius: 10px;
      background: #ffffff;
    }

    .hamburger span {
      width: 100%;
      height: 2px;
      margin: 4px 0;
      display: block;
      border-radius: 2px;
      background: var(--theme-deep);
      transition: transform 0.2s ease, opacity 0.2s 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;
      inset: 0;
      z-index: 90;
      visibility: hidden;
      opacity: 0;
      background: rgba(3, 15, 35, 0.62);
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 100;
      width: min(390px, 92vw);
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -20px 0 50px rgba(0, 0, 0, 0.18);
      transform: translateX(105%);
      transition: transform 0.28s ease;
    }

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

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

    .member-drawer {
      min-width: 0;
      flex: 1;
    }

    .drawer-head > a {
      padding: 7px 12px;
      border-radius: 8px;
      color: #ffffff;
      background: var(--theme);
      font-size: 13px;
      font-weight: 800;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      border: 0;
      border-radius: 9px;
      color: #26354a;
      background: #e9eef6;
      font-size: 26px;
      line-height: 1;
    }

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

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      padding: 13px 4px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 0;
      border-bottom: 1px solid #e7ebf1;
      color: #20314a;
      background: transparent;
      text-align: left;
      font-size: 15px;
      font-weight: 800;
    }

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

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

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

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

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

    .drawer-submenu a:hover {
      color: var(--theme);
      background: var(--theme-soft);
    }

    .tools-page {
      min-height: 620px;
      overflow: hidden;
    }

    .tools-page .tools-hero {
      position: relative;
      padding: 78px 0 70px;
      color: #ffffff;
      background:
        radial-gradient(circle at 15% 20%, rgba(242, 181, 68, 0.22), transparent 26%),
        radial-gradient(circle at 82% 25%, rgba(81, 147, 255, 0.28), transparent 30%),
        linear-gradient(145deg, #061c3f 0%, #0b3d91 55%, #1261bd 100%);
    }

    .tools-page .tools-hero::before,
    .tools-page .tools-hero::after {
      position: absolute;
      content: "";
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 50%;
    }

    .tools-page .tools-hero::before {
      width: 360px;
      height: 360px;
      right: -100px;
      bottom: -220px;
    }

    .tools-page .tools-hero::after {
      width: 190px;
      height: 190px;
      top: -110px;
      left: 8%;
    }

    .tools-page .breadcrumb {
      position: relative;
      z-index: 1;
      margin-bottom: 24px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      color: #cadcff;
      font-size: 13px;
    }

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

    .tools-page .tools-hero-content {
      position: relative;
      z-index: 1;
      max-width: 840px;
      margin: 0 auto;
      text-align: center;
    }

    .tools-page .eyebrow {
      margin-bottom: 13px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #ffe2a7;
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.08em;
    }

    .tools-page .eyebrow::before,
    .tools-page .eyebrow::after {
      width: 28px;
      height: 1px;
      content: "";
      background: currentColor;
    }

    .tools-page .tools-hero h1 {
      margin: 0;
      font-size: clamp(36px, 5vw, 62px);
      line-height: 1.12;
      letter-spacing: -0.045em;
    }

    .tools-page .tools-hero p {
      max-width: 720px;
      margin: 20px auto 0;
      color: #dbe8ff;
      font-size: 17px;
    }

    .tools-page .hero-points {
      margin: 30px 0 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      list-style: none;
    }

    .tools-page .hero-points li {
      padding: 8px 14px;
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(7px);
      font-size: 13px;
    }

    .tools-page .tool-directory {
      position: relative;
      z-index: 3;
      padding: 0 0 82px;
    }

    .tools-page .directory-panel {
      margin-top: -30px;
      padding: 25px;
      border: 1px solid rgba(11, 61, 145, 0.1);
      border-radius: 22px;
      background: #ffffff;
      box-shadow: var(--shadow);
    }

    .tools-page .directory-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .tools-page .directory-title h2 {
      margin: 0;
      color: var(--theme-deep);
      font-size: 27px;
      line-height: 1.3;
    }

    .tools-page .directory-title p {
      margin: 5px 0 0;
      color: var(--muted);
      font-size: 14px;
    }

    .tools-page .tool-search {
      width: min(390px, 100%);
      padding: 5px 5px 5px 16px;
      display: flex;
      align-items: center;
      gap: 8px;
      border: 1px solid #dbe3ef;
      border-radius: 12px;
      background: #f8faff;
    }

    .tools-page .tool-search input {
      min-width: 0;
      flex: 1;
      padding: 8px 0;
      border: 0;
      outline: 0;
      color: var(--ink);
      background: transparent;
    }

    .tools-page .tool-search button {
      padding: 9px 15px;
      border: 0;
      border-radius: 9px;
      color: #ffffff;
      background: var(--theme);
      font-size: 13px;
      font-weight: 800;
    }

    .tools-page .tool-grid {
      margin-top: 25px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .tools-page .tool-card {
      min-width: 0;
      padding: 22px;
      display: flex;
      flex-direction: column;
      border: 1px solid #e1e7f0;
      border-radius: 17px;
      background: #ffffff;
      transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    }

    .tools-page .tool-card:hover {
      border-color: #9fbce7;
      transform: translateY(-5px);
      box-shadow: 0 17px 35px rgba(11, 61, 145, 0.12);
    }

    .tools-page .tool-icon {
      width: 60px;
      height: 60px;
      padding: 10px;
      display: grid;
      place-items: center;
      border-radius: 15px;
      background: linear-gradient(145deg, #e7effd, #f7faff);
      box-shadow: inset 0 0 0 1px rgba(11, 61, 145, 0.08);
    }

    .tools-page .tool-icon img {
      width: 40px;
      height: 40px;
      object-fit: contain;
    }

    .tools-page .tool-card h3 {
      margin: 18px 0 8px;
      color: #16263d;
      font-size: 19px;
      line-height: 1.35;
    }

    .tools-page .tool-card p {
      margin: 0 0 20px;
      display: -webkit-box;
      overflow: hidden;
      color: var(--muted);
      font-size: 14px;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 3;
    }

    .tools-page .tool-link {
      margin-top: auto;
      padding-top: 15px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid #edf0f5;
      color: var(--theme);
      font-size: 14px;
      font-weight: 800;
    }

    .tools-page .tool-link::after {
      content: "→";
      font-size: 19px;
      transition: transform 0.2s ease;
    }

    .tools-page .tool-card:hover .tool-link::after {
      transform: translateX(4px);
    }

    .tools-page .usage-section {
      padding: 82px 0;
      background: #ffffff;
    }

    .tools-page .section-heading {
      max-width: 700px;
      margin: 0 auto 38px;
      text-align: center;
    }

    .tools-page .section-heading span {
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.1em;
    }

    .tools-page .section-heading h2 {
      margin: 8px 0 10px;
      color: var(--theme-deep);
      font-size: clamp(28px, 4vw, 40px);
      line-height: 1.25;
    }

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

    .tools-page .usage-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 22px;
    }

    .tools-page .usage-card {
      position: relative;
      padding: 29px;
      overflow: hidden;
      border: 1px solid #e1e7f0;
      border-radius: 18px;
      background: #f9fbff;
    }

    .tools-page .usage-number {
      position: absolute;
      top: -13px;
      right: 12px;
      color: rgba(11, 61, 145, 0.07);
      font-size: 84px;
      font-weight: 900;
      line-height: 1;
    }

    .tools-page .usage-card h3 {
      position: relative;
      margin: 0 0 10px;
      color: var(--theme-deep);
      font-size: 19px;
    }

    .tools-page .usage-card p {
      position: relative;
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .tools-page .notice-section {
      padding: 76px 0;
    }

    .tools-page .notice-panel {
      padding: 38px;
      display: grid;
      grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
      align-items: center;
      gap: 34px;
      border-radius: 22px;
      color: #ffffff;
      background: linear-gradient(135deg, var(--theme-deep), var(--theme));
      box-shadow: var(--shadow);
    }

    .tools-page .notice-panel h2 {
      margin: 0 0 11px;
      font-size: 29px;
    }

    .tools-page .notice-panel p {
      margin: 0;
      color: #d6e4ff;
    }

    .tools-page .notice-actions {
      display: flex;
      justify-content: flex-end;
      gap: 12px;
    }

    .tools-page .notice-actions a {
      padding: 12px 19px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 800;
      text-align: center;
    }

    .tools-page .notice-primary {
      color: var(--theme-deep);
      background: var(--accent);
    }

    .tools-page .notice-secondary {
      border: 1px solid rgba(255, 255, 255, 0.32);
      color: #ffffff;
      background: rgba(255, 255, 255, 0.07);
    }

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

    .footer-main {
      padding: 58px 0 42px;
      display: grid;
      grid-template-columns: 1.45fr 1fr 1fr 1fr;
      gap: 38px;
    }

    .footer .logo {
      color: #ffffff;
    }

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

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

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

    .footer-links a,
    .footer-contact a {
      color: #b8c6da;
      font-size: 14px;
      transition: color 0.2s ease;
    }

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

    .footer-contact p {
      margin: 0 0 9px;
      color: #9fb0c9;
      font-size: 14px;
      overflow-wrap: anywhere;
    }

    .footer-bottom {
      min-height: 62px;
      padding: 14px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      color: #889ab5;
      font-size: 13px;
    }

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

      .hamburger {
        display: block;
      }

      .header-inner {
        justify-content: space-between;
      }

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

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

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

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

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

      .topbar-contact {
        flex-wrap: wrap;
        gap: 4px 16px;
      }

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

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

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

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

      .tools-page .tools-hero {
        padding: 55px 0 65px;
      }

      .tools-page .tools-hero p {
        font-size: 15px;
      }

      .tools-page .directory-panel {
        padding: 19px;
      }

      .tools-page .directory-head {
        align-items: stretch;
        flex-direction: column;
      }

      .tools-page .tool-search {
        width: 100%;
      }

      .tools-page .tool-grid,
      .tools-page .usage-grid {
        grid-template-columns: 1fr;
      }

      .tools-page .tool-card {
        padding: 19px;
      }

      .tools-page .usage-section,
      .tools-page .notice-section {
        padding: 60px 0;
      }

      .tools-page .notice-panel {
        padding: 28px 22px;
        grid-template-columns: 1fr;
      }

      .tools-page .notice-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
      }

      .footer-main {
        padding: 45px 0 34px;
        grid-template-columns: 1fr;
        gap: 29px;
      }

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

    @media (max-width: 430px) {
      .tools-page .tool-search {
        padding-left: 12px;
      }

      .tools-page .tool-search button {
        padding-inline: 11px;
      }

      .tools-page .hero-points {
        align-items: stretch;
        flex-direction: column;
      }

      .tools-page .hero-points li {
        text-align: center;
      }

      .tools-page .notice-actions {
        flex-direction: column;
      }
    }