:root {
      --theme: #0B3D91;
      --template-theme: {主题色};
      --theme-dark: #072b68;
      --theme-soft: #eaf1fb;
      --accent: #c2185b;
      --accent-dark: #981244;
      --text: #172033;
      --muted: #667085;
      --line: #e4e7ec;
      --surface: #ffffff;
      --background: #f5f7fa;
      --shadow: 0 14px 38px rgba(16, 24, 40, 0.09);
      --container: 1180px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--text);
      background: var(--background);
      font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
      line-height: 1.6;
    }

    body.drawer-lock {
      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: #dce8ff;
      background: #071b3c;
      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;
      background: rgba(255, 255, 255, 0.98);
      border-bottom: 1px solid var(--line);
    }

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

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

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

    .main-nav {
      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: relative;
      display: flex;
      align-items: stretch;
    }

    .nav-link {
      position: relative;
      min-height: 76px;
      padding: 0 14px;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #344054;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
      transition: color 0.2s ease;
    }

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

    .nav-link.active::after {
      position: absolute;
      right: 14px;
      bottom: 0;
      left: 14px;
      height: 3px;
      background: var(--accent);
      content: "";
    }

    .has-arrow::after {
      width: 6px;
      height: 6px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      content: "";
      transform: translateY(-2px) rotate(45deg);
      transition: transform 0.2s ease;
    }

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

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

    .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;
      pointer-events: auto;
      transform: translateY(0);
    }

    .dropdown-panel {
      width: 270px;
      padding: 10px;
      background: var(--surface);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
    }

    .dropdown-panel a {
      padding: 10px 12px;
      display: block;
      color: #344054;
      border-radius: 4px;
      font-size: 14px;
    }

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

    .mega-menu {
      left: 50%;
      width: 590px;
      padding: 20px;
      background: var(--surface);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      transform: translate(-50%, 8px);
    }

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

    .mega-menu-wide {
      width: min(820px, calc(100vw - 40px));
    }

    .mega-head {
      margin-bottom: 14px;
      padding-bottom: 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      border-bottom: 1px solid var(--line);
    }

    .mega-head strong {
      color: var(--theme);
      font-size: 16px;
    }

    .mega-head span {
      color: var(--muted);
      font-size: 12px;
    }

    .mega-category-list {
      margin-bottom: 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .mega-category-list a {
      padding: 6px 10px;
      color: #475467;
      background: #f2f4f7;
      border-radius: 4px;
      font-size: 12px;
    }

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

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

    .mega-card {
      min-width: 0;
      padding: 10px;
      display: flex;
      align-items: center;
      gap: 11px;
      border: 1px solid transparent;
      border-radius: 6px;
      transition: border-color 0.2s ease, background 0.2s ease;
    }

    .mega-card:hover {
      background: #f8fafc;
      border-color: var(--line);
    }

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

    .mega-card-body {
      min-width: 0;
      display: block;
    }

    .mega-card-body strong,
    .mega-card-body p,
    .mega-card-body small {
      overflow: hidden;
      display: block;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-card-body strong {
      margin-bottom: 2px;
      color: #1d2939;
      font-size: 13px;
    }

    .mega-card-body p {
      margin: 0 0 2px;
      color: var(--muted);
      font-size: 12px;
    }

    .mega-card-body small {
      color: #98a2b3;
      font-size: 11px;
    }

    .mega-footer {
      margin-top: 14px;
      padding-top: 12px;
      display: block;
      color: var(--theme);
      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-entry {
      display: inline-flex;
      align-items: center;
    }

    .account-entry {
      min-height: 38px;
      padding: 0 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      background: var(--theme);
      border-radius: 5px;
      font-size: 14px;
      font-weight: 700;
      transition: background 0.2s ease;
    }

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

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

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

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      z-index: 100;
      width: min(390px, 88vw);
      height: 100vh;
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -18px 0 44px rgba(16, 24, 40, 0.18);
      transform: translateX(105%);
      transition: transform 0.25s ease;
    }

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

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

    .drawer-head > a {
      color: var(--theme);
      font-size: 14px;
      font-weight: 700;
    }

    .drawer-close {
      width: 38px;
      height: 38px;
      margin-left: auto;
      padding: 0;
      color: #344054;
      background: #f2f4f7;
      border: 0;
      border-radius: 5px;
      font-size: 26px;
      line-height: 1;
      cursor: pointer;
    }

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

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

    .drawer-toggle {
      justify-content: space-between;
    }

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

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

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

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

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

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

    .tag-index-page .tag-heading-band {
      padding: 68px 0 58px;
      color: #ffffff;
      background: var(--theme);
      border-bottom: 5px solid var(--accent);
    }

    .tag-index-page .tag-kicker {
      margin: 0 0 10px;
      color: #d8e6ff;
      font-size: 13px;
      font-weight: 700;
    }

    .tag-index-page h1 {
      margin: 0;
      max-width: 760px;
      font-size: 42px;
      line-height: 1.22;
      letter-spacing: 0;
    }

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

    .tag-index-page .tag-directory {
      padding: 54px 0 72px;
    }

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

    .tag-index-page .directory-head h2 {
      margin: 0 0 5px;
      color: #101828;
      font-size: 27px;
      line-height: 1.3;
      letter-spacing: 0;
    }

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

    .tag-index-page .directory-mark {
      color: var(--accent);
      font-size: 13px;
      font-weight: 800;
    }

    .tag-index-page .tag-cloud {
      padding: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 12px;
      background: var(--surface);
      border: 1px solid var(--line);
      border-top: 4px solid var(--accent);
      border-radius: 8px;
      box-shadow: 0 12px 32px rgba(16, 24, 40, 0.06);
    }

    .tag-index-page .tag-cloud a {
      min-height: 44px;
      padding: 9px 14px;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: #26354f;
      background: #f7f8fa;
      border: 1px solid #e1e5eb;
      border-radius: 5px;
      font-size: 15px;
      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-cloud a:nth-child(4n+1) {
      color: var(--accent-dark);
      background: #fff3f7;
      border-color: #f5cada;
      font-size: 17px;
    }

    .tag-index-page .tag-cloud a:nth-child(4n+2) {
      color: var(--theme);
      background: var(--theme-soft);
      border-color: #cbdcf5;
    }

    .tag-index-page .tag-cloud a:nth-child(5n) {
      font-size: 18px;
    }

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

    .tag-index-page .tag-cloud span {
      min-width: 26px;
      padding: 1px 6px;
      color: var(--muted);
      background: #ffffff;
      border-radius: 3px;
      font-size: 11px;
      font-weight: 600;
      text-align: center;
    }

    .tag-index-page .tag-cloud a:hover span {
      color: var(--accent-dark);
    }

    .tag-index-page .tag-guide {
      margin-top: 26px;
      padding: 24px 26px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0;
      background: #ffffff;
      border: 1px solid var(--line);
      border-radius: 8px;
    }

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

    .tag-index-page .guide-item:first-child {
      padding-left: 0;
    }

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

    .tag-index-page .guide-number {
      margin-bottom: 6px;
      display: block;
      color: var(--accent);
      font-size: 13px;
      font-weight: 800;
    }

    .tag-index-page .guide-item strong {
      display: block;
      color: #1d2939;
      font-size: 16px;
    }

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

    .tag-index-page .tag-cta {
      margin-top: 26px;
      padding: 24px 28px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      color: #ffffff;
      background: #172033;
      border-radius: 8px;
    }

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

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

    .tag-index-page .tag-cta a {
      min-height: 42px;
      padding: 0 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      color: #ffffff;
      background: var(--accent);
      border-radius: 5px;
      font-size: 14px;
      font-weight: 800;
    }

    .tag-index-page .tag-cta a:hover {
      background: var(--accent-dark);
    }

    .footer {
      color: #cbd5e1;
      background: #09162d;
    }

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

    .footer .logo {
      color: #ffffff;
    }

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

    .footer-social {
      color: #ffffff;
      font-size: 14px;
    }

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

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

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

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

    .footer-contact {
      display: grid;
      gap: 13px;
      color: #b9c5d7;
      font-size: 13px;
    }

    .footer-contact span {
      color: #8190a5;
    }

    .footer-bottom {
      min-height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      color: #8290a4;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 12px;
    }

    @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 {
        min-height: 42px;
      }

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

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

      .topbar-contact a {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

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

      .header .logo span {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
      }

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

      .header-btns {
        gap: 7px;
      }

      .member-entry {
        display: none;
      }

      .account-entry {
        min-height: 36px;
        padding: 0 12px;
      }

      .hamburger {
        width: 38px;
        height: 38px;
      }

      .tag-index-page .tag-heading-band {
        padding: 46px 0 42px;
      }

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

      .tag-index-page .tag-intro {
        font-size: 15px;
      }

      .tag-index-page .tag-directory {
        padding: 38px 0 52px;
      }

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

      .tag-index-page .directory-head h2 {
        font-size: 23px;
      }

      .tag-index-page .tag-cloud {
        padding: 20px 14px;
        justify-content: flex-start;
        gap: 9px;
      }

      .tag-index-page .tag-cloud a,
      .tag-index-page .tag-cloud a:nth-child(4n+1),
      .tag-index-page .tag-cloud a:nth-child(5n) {
        max-width: 100%;
        min-height: 40px;
        font-size: 14px;
      }

      .tag-index-page .tag-guide {
        grid-template-columns: 1fr;
        padding: 9px 20px;
      }

      .tag-index-page .guide-item,
      .tag-index-page .guide-item:first-child,
      .tag-index-page .guide-item:last-child {
        padding: 17px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
      }

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

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

      .tag-index-page .tag-cta a {
        width: 100%;
      }

      .footer-main {
        padding: 42px 0 32px;
        grid-template-columns: 1fr 1fr;
        gap: 34px 24px;
      }

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

      .footer-bottom {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
      }
    }

    @media (max-width: 480px) {
      .topbar-contact a {
        font-size: 11px;
      }

      .header .logo span {
        max-width: 92px;
        font-size: 16px;
      }

      .account-entry {
        padding: 0 10px;
        font-size: 13px;
      }

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

      .tag-index-page .tag-cloud a {
        flex: 1 1 calc(50% - 9px);
        justify-content: space-between;
      }

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

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