:root {
      --theme: #0B3D91;
      --template-theme: {主题色};
      --theme-dark: #072b68;
      --theme-soft: #eaf1fb;
      --ink: #172033;
      --muted: #657086;
      --line: #dfe5ed;
      --surface: #ffffff;
      --page: #f4f6f8;
      --accent: #d89b28;
      --footer: #111827;
      --shadow: 0 14px 36px rgba(23, 32, 51, 0.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;
      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 {
      color: inherit;
    }

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

    .topbar {
      color: #dbe7fb;
      background: var(--theme-dark);
      font-size: 13px;
    }

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

    .topbar-contact {
      display: flex;
      align-items: center;
      gap: 20px;
    }

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

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

    .header {
      position: relative;
      z-index: 50;
      background: var(--surface);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 3px 14px rgba(23, 32, 51, 0.04);
    }

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

    .logo {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--theme);
      font-size: 20px;
      font-weight: 800;
      white-space: nowrap;
    }

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

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

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

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

    .nav-link {
      position: relative;
      display: flex;
      align-items: center;
      padding: 0 13px;
      color: #2f394b;
      font-size: 15px;
      font-weight: 600;
      white-space: nowrap;
      transition: color 0.2s ease;
    }

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

    .nav-link.has-arrow {
      gap: 6px;
    }

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

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

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

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      visibility: hidden;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
      pointer-events: none;
    }

    .dropdown-panel {
      left: 50%;
      width: min(420px, calc(100vw - 32px));
      transform: translate(-50%, 8px);
    }

    .nav-item:hover .mega-menu,
    .nav-item:focus-within .mega-menu,
    .nav-item:hover .dropdown-panel,
    .nav-item:focus-within .dropdown-panel {
      visibility: visible;
      opacity: 1;
      pointer-events: auto;
    }

    .nav-item:hover .mega-menu,
    .nav-item:focus-within .mega-menu {
      transform: translateY(0);
    }

    .nav-item:hover .dropdown-panel,
    .nav-item:focus-within .dropdown-panel {
      transform: translate(-50%, 0);
    }

    .mega-shell,
    .dropdown-shell {
      background: var(--surface);
      border-top: 3px solid var(--theme);
      box-shadow: 0 24px 48px rgba(23, 32, 51, 0.16);
    }

    .mega-shell {
      max-height: calc(100vh - 120px);
      padding: 26px max(24px, calc((100vw - var(--container)) / 2));
      overflow-y: auto;
    }

    .dropdown-shell {
      padding: 22px;
    }

    .mega-layout {
      display: grid;
      grid-template-columns: 220px minmax(0, 1fr);
      gap: 30px;
    }

    .mega-title,
    .dropdown-title {
      margin: 0 0 14px;
      color: var(--ink);
      font-size: 14px;
      font-weight: 800;
    }

    .mega-category-links,
    .dropdown-list {
      display: grid;
      gap: 4px;
    }

    .mega-category-links a,
    .dropdown-list a {
      padding: 8px 10px;
      color: var(--muted);
      border-radius: 4px;
      transition: color 0.2s ease, background 0.2s ease;
    }

    .mega-category-links a:hover,
    .dropdown-list a:hover {
      color: var(--theme);
      background: var(--theme-soft);
    }

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

    .mega-card {
      min-width: 0;
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr);
      gap: 12px;
      padding: 12px;
      background: #f8fafc;
      border: 1px solid var(--line);
      border-radius: 6px;
      transition: border-color 0.2s ease, transform 0.2s ease;
    }

    .mega-card:hover {
      border-color: #a9bfe2;
      transform: translateY(-2px);
    }

    .mega-card img {
      width: 58px;
      height: 48px;
      object-fit: cover;
      background: #ffffff;
      border-radius: 4px;
    }

    .mega-card > span {
      min-width: 0;
      display: grid;
      align-content: start;
      gap: 4px;
      color: var(--muted);
      font-size: 12px;
    }

    .mega-card strong {
      overflow: hidden;
      color: var(--ink);
      font-size: 14px;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-stats {
      display: flex;
      flex-wrap: wrap;
      gap: 3px 8px;
    }

    .mega-summary {
      display: -webkit-box;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }

    .mega-footer {
      margin-top: 18px;
      padding-top: 14px;
      display: block;
      color: var(--theme);
      border-top: 1px solid var(--line);
      font-size: 14px;
      font-weight: 700;
    }

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

    .header-btns > a {
      min-height: 38px;
      padding: 8px 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      background: var(--theme);
      border: 1px solid var(--theme);
      border-radius: 4px;
      font-size: 14px;
      font-weight: 700;
    }

    .header-btns > a:hover {
      background: var(--theme-dark);
    }

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

    .hamburger span {
      width: 20px;
      height: 2px;
      display: block;
      background: var(--ink);
      transition: transform 0.2s ease, opacity 0.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;
      z-index: 90;
      inset: 0;
      visibility: hidden;
      opacity: 0;
      background: rgba(8, 15, 28, 0.58);
      transition: opacity 0.25s ease, visibility 0.25s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      z-index: 100;
      top: 0;
      right: 0;
      width: min(390px, 92vw);
      height: 100vh;
      overflow-y: auto;
      background: var(--surface);
      box-shadow: -20px 0 45px rgba(8, 15, 28, 0.18);
      transform: translateX(105%);
      transition: transform 0.25s ease;
    }

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

    .drawer-head {
      min-height: 74px;
      padding: 14px 18px;
      display: flex;
      align-items: center;
      gap: 10px;
      background: var(--theme);
      color: #ffffff;
    }

    .drawer-head > a {
      padding: 7px 11px;
      border: 1px solid rgba(255, 255, 255, 0.45);
      border-radius: 4px;
      font-weight: 700;
    }

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

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

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

    .drawer-toggle {
      position: relative;
    }

    .drawer-toggle::after {
      position: absolute;
      right: 6px;
      width: 8px;
      height: 8px;
      content: "";
      border-right: 2px solid var(--muted);
      border-bottom: 2px solid var(--muted);
      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 16px;
      display: block;
      color: var(--muted);
      border-bottom: 1px solid #e8edf3;
      font-size: 14px;
    }

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

    .tag-index-page {
      min-height: 620px;
    }

    .tag-index-page .page-banner {
      position: relative;
      overflow: hidden;
      color: #ffffff;
      background: var(--theme-dark);
      border-bottom: 4px solid var(--accent);
    }

    .tag-index-page .page-banner::before,
    .tag-index-page .page-banner::after {
      position: absolute;
      content: "";
      pointer-events: none;
    }

    .tag-index-page .page-banner::before {
      top: 24px;
      right: 8%;
      width: 260px;
      height: 90px;
      border-top: 1px solid rgba(255, 255, 255, 0.18);
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
      transform: skewX(-20deg);
    }

    .tag-index-page .page-banner::after {
      right: 20%;
      bottom: -52px;
      width: 150px;
      height: 150px;
      border: 1px solid rgba(216, 155, 40, 0.42);
      transform: rotate(45deg);
    }

    .tag-index-page .banner-inner {
      position: relative;
      z-index: 1;
      min-height: 250px;
      padding-top: 38px;
      padding-bottom: 42px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .tag-index-page .breadcrumb {
      margin-bottom: 23px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      color: #cbd8ed;
      font-size: 14px;
    }

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

    .tag-index-page .page-kicker {
      margin: 0 0 8px;
      color: #f0bf5a;
      font-size: 13px;
      font-weight: 800;
    }

    .tag-index-page h1 {
      max-width: 820px;
      margin: 0;
      font-size: clamp(34px, 5vw, 58px);
      line-height: 1.16;
      letter-spacing: 0;
    }

    .tag-index-page .banner-copy {
      max-width: 720px;
      margin: 16px 0 0;
      color: #d8e2f2;
      font-size: 16px;
    }

    .tag-index-page .index-section {
      padding: 58px 0 68px;
    }

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

    .tag-index-page .section-heading h2 {
      margin: 0;
      color: var(--ink);
      font-size: 28px;
      line-height: 1.3;
      letter-spacing: 0;
    }

    .tag-index-page .section-heading p {
      max-width: 580px;
      margin: 8px 0 0;
      color: var(--muted);
    }

    .tag-index-page .section-mark {
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

    .tag-index-page .tag-cloud-panel {
      position: relative;
      padding: 34px;
      overflow: hidden;
      background: var(--surface);
      border: 1px solid var(--line);
      border-top: 4px solid var(--theme);
      border-radius: 6px;
      box-shadow: var(--shadow);
    }

    .tag-index-page .tag-cloud-panel::after {
      position: absolute;
      right: -24px;
      bottom: -35px;
      width: 150px;
      height: 90px;
      content: "";
      opacity: 0.18;
      background: repeating-linear-gradient(
        135deg,
        var(--theme) 0,
        var(--theme) 2px,
        transparent 2px,
        transparent 10px
      );
      pointer-events: none;
    }

    .tag-index-page .tag-cloud {
      position: relative;
      z-index: 1;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
    }

    .tag-index-page .tag-item {
      min-height: 44px;
      padding: 9px 15px;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: #27344b;
      background: #f7f9fc;
      border: 1px solid #d9e0e9;
      border-radius: 4px;
      font-weight: 700;
      transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .tag-index-page .tag-item:nth-child(4n + 1) {
      color: var(--theme);
      background: var(--theme-soft);
      border-color: #b9cce9;
      font-size: 18px;
    }

    .tag-index-page .tag-item:nth-child(4n + 2) {
      border-left: 3px solid var(--accent);
      font-size: 15px;
    }

    .tag-index-page .tag-item:nth-child(4n + 3) {
      color: #26395c;
      font-size: 16px;
    }

    .tag-index-page .tag-item:hover {
      color: #ffffff;
      background: var(--theme);
      border-color: var(--theme);
      transform: translateY(-2px);
    }

    .tag-index-page .tag-count {
      min-width: 24px;
      height: 24px;
      padding: 0 6px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--muted);
      background: #ffffff;
      border-radius: 3px;
      font-size: 12px;
      font-weight: 700;
    }

    .tag-index-page .tag-item:hover .tag-count {
      color: var(--theme);
    }

    .tag-index-page .browse-guide {
      margin-top: 30px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      border: 1px solid var(--line);
      background: var(--surface);
    }

    .tag-index-page .guide-item {
      min-width: 0;
      padding: 25px;
      border-right: 1px solid var(--line);
    }

    .tag-index-page .guide-item:last-child {
      border-right: 0;
    }

    .tag-index-page .guide-number {
      width: 34px;
      height: 34px;
      margin-bottom: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      background: var(--theme);
      border-radius: 4px;
      font-size: 13px;
      font-weight: 800;
    }

    .tag-index-page .guide-item h3 {
      margin: 0 0 7px;
      font-size: 17px;
    }

    .tag-index-page .guide-item p {
      margin: 0;
      color: var(--muted);
      font-size: 14px;
    }

    .tag-index-page .index-actions {
      margin-top: 32px;
      padding: 24px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      color: #ffffff;
      background: #202b3d;
      border-left: 5px solid var(--accent);
    }

    .tag-index-page .index-actions h2 {
      margin: 0 0 4px;
      font-size: 20px;
    }

    .tag-index-page .index-actions p {
      margin: 0;
      color: #cbd4e1;
      font-size: 14px;
    }

    .tag-index-page .action-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .tag-index-page .action-links a {
      min-height: 42px;
      padding: 9px 15px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      border: 1px solid rgba(255, 255, 255, 0.35);
      border-radius: 4px;
      font-weight: 700;
      white-space: nowrap;
    }

    .tag-index-page .action-links a:first-child {
      color: var(--theme-dark);
      background: #ffffff;
      border-color: #ffffff;
    }

    .tag-index-page .action-links a:hover {
      color: var(--theme-dark);
      background: #f0bf5a;
      border-color: #f0bf5a;
    }

    .footer {
      color: #b9c3d2;
      background: var(--footer);
    }

    .footer-main {
      padding: 54px 0 42px;
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 42px;
    }

    .footer .logo {
      color: #ffffff;
    }

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

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

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

    .footer a {
      transition: color 0.2s ease;
    }

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

    .footer-contact strong {
      color: #dce3ed;
    }

    .footer-bottom {
      min-height: 68px;
      padding: 18px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid #293346;
      font-size: 13px;
    }

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

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

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

      .hamburger {
        display: flex;
      }

      .footer-main {
        grid-template-columns: 1.4fr 1fr 1fr;
      }

      .footer-brand {
        grid-column: 1 / -1;
      }
    }

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

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

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

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

      .header .logo span {
        max-width: 145px;
        overflow: hidden;
        font-size: 17px;
        text-overflow: ellipsis;
      }

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

      .header-btns > a {
        display: none;
      }

      .tag-index-page .banner-inner {
        min-height: 220px;
        padding-top: 28px;
        padding-bottom: 34px;
      }

      .tag-index-page h1 {
        font-size: 34px;
      }

      .tag-index-page .index-section {
        padding: 40px 0 50px;
      }

      .tag-index-page .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
      }

      .tag-index-page .section-heading h2 {
        font-size: 24px;
      }

      .tag-index-page .tag-cloud-panel {
        padding: 22px 18px;
      }

      .tag-index-page .tag-cloud {
        gap: 9px;
      }

      .tag-index-page .tag-item,
      .tag-index-page .tag-item:nth-child(4n + 1),
      .tag-index-page .tag-item:nth-child(4n + 2),
      .tag-index-page .tag-item:nth-child(4n + 3) {
        max-width: 100%;
        min-height: 40px;
        padding: 8px 11px;
        font-size: 14px;
        overflow-wrap: anywhere;
      }

      .tag-index-page .browse-guide {
        grid-template-columns: 1fr;
      }

      .tag-index-page .guide-item {
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

      .tag-index-page .guide-item:last-child {
        border-bottom: 0;
      }

      .tag-index-page .index-actions {
        padding: 22px;
        align-items: flex-start;
        flex-direction: column;
      }

      .footer-main {
        padding: 40px 0 32px;
        grid-template-columns: 1fr 1fr;
        gap: 30px 22px;
      }

      .footer-brand {
        grid-column: 1 / -1;
      }

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

    @media (max-width: 480px) {
      .footer-main {
        grid-template-columns: 1fr;
      }

      .footer-brand {
        grid-column: auto;
      }

      .tag-index-page .action-links {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
      }
    }