:root {
      --theme: #0B3D91;
      --theme-dark: #072b68;
      --theme-soft: #eaf1fc;
      --accent: #ff765f;
      --cream: #fff9ef;
      --ink: #202632;
      --muted: #667085;
      --line: #e5e9f0;
      --white: #ffffff;
      --surface: #f6f8fc;
      --shadow: 0 18px 48px rgba(11, 61, 145, 0.12);
      --radius: 22px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

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

    body,
    button,
    input {
      font: inherit;
    }

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

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

    button {
      color: inherit;
    }

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

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

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

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

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

    .topbar a:hover {
      color: var(--white);
    }

    .header {
      position: relative;
      z-index: 50;
      background: rgba(255, 255, 255, 0.98);
      border-bottom: 1px solid var(--line);
      box-shadow: 0 5px 20px rgba(32, 38, 50, 0.04);
    }

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

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

    .logo img {
      width: 42px;
      height: 42px;
      flex: 0 0 auto;
      border-radius: 12px;
      object-fit: contain;
      background: var(--white);
    }

    .logo span {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .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: static;
      display: flex;
      align-items: stretch;
    }

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

    .nav-link::after {
      position: absolute;
      right: 13px;
      bottom: 15px;
      left: 13px;
      height: 2px;
      content: "";
      background: var(--theme);
      border-radius: 2px;
      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);
      transition: transform 0.2s ease;
    }

    .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);
    }

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

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

    .dropdown-panel {
      width: 320px;
      margin-left: -20px;
    }

    .mega-menu {
      right: 0;
      left: 0;
    }

    .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-inner,
    .mega-inner {
      background: var(--white);
      border: 1px solid var(--line);
      box-shadow: 0 24px 55px rgba(18, 35, 63, 0.16);
    }

    .dropdown-inner {
      padding: 13px;
      border-radius: 0 0 18px 18px;
    }

    .dropdown-inner > a:not(.mega-footer) {
      padding: 10px 12px;
      display: block;
      overflow: hidden;
      color: #344054;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
      text-overflow: ellipsis;
      white-space: nowrap;
      transition: background 0.2s ease, color 0.2s ease;
    }

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

    .mega-inner {
      width: min(1180px, calc(100% - 40px));
      max-height: calc(100vh - 130px);
      margin: 0 auto;
      padding: 25px;
      overflow-y: auto;
      border-top: 3px solid var(--theme);
      border-radius: 0 0 22px 22px;
    }

    .mega-heading {
      margin: 0 0 14px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: 0.08em;
    }

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

    .mega-card {
      min-width: 0;
      padding: 12px;
      display: flex;
      align-items: center;
      gap: 12px;
      background: #fafbfe;
      border: 1px solid #edf0f5;
      border-radius: 14px;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    }

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

    .mega-card img {
      width: 48px;
      height: 48px;
      flex: 0 0 auto;
      object-fit: contain;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 11px;
    }

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

    .mega-card strong,
    .mega-card small {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .mega-card strong {
      color: #263245;
      font-size: 14px;
      white-space: nowrap;
    }

    .mega-card small {
      margin-top: 2px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.45;
      white-space: nowrap;
    }

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

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

    .mega-links a {
      padding: 8px 10px;
      color: #475467;
      background: #f7f9fc;
      border-radius: 9px;
      font-size: 14px;
      font-weight: 600;
    }

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

    .mega-footer {
      margin-top: 16px;
      padding: 11px 14px;
      display: block;
      color: var(--theme);
      background: var(--theme-soft);
      border-radius: 11px;
      font-size: 14px;
      font-weight: 800;
      text-align: center;
    }

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

    .member-btn,
    .open-btn {
      padding: 9px 14px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 800;
      white-space: nowrap;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .member-btn {
      color: var(--theme);
      background: var(--theme-soft);
    }

    .open-btn {
      color: var(--white);
      background: var(--theme);
      box-shadow: 0 8px 18px rgba(11, 61, 145, 0.2);
    }

    .member-btn:hover,
    .open-btn:hover {
      transform: translateY(-2px);
    }

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

    .hamburger span {
      width: 20px;
      height: 2px;
      display: block;
      background: var(--ink);
      border-radius: 3px;
      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: 79;
      visibility: hidden;
      opacity: 0;
      background: rgba(10, 19, 34, 0.58);
      backdrop-filter: blur(3px);
      transition: opacity 0.25s ease, visibility 0.25s;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 80;
      width: min(390px, 88vw);
      overflow-y: auto;
      background: var(--white);
      box-shadow: -24px 0 60px rgba(20, 31, 50, 0.2);
      transform: translateX(105%);
      transition: transform 0.28s ease;
    }

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

    .drawer-head {
      min-height: 72px;
      padding: 15px 18px;
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--white);
      background: var(--theme);
    }

    .drawer-head strong {
      min-width: 0;
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

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

    .drawer-close {
      width: 36px;
      height: 36px;
      padding: 0;
      cursor: pointer;
      color: var(--white);
      background: rgba(255, 255, 255, 0.14);
      border: 0;
      border-radius: 9px;
      font-size: 26px;
      line-height: 1;
    }

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

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

    .drawer-toggle {
      position: relative;
    }

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

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

    .drawer-submenu {
      max-height: 0;
      padding-left: 12px;
      overflow: hidden;
      background: #f8faff;
      transition: max-height 0.3s ease;
    }

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

    .drawer-submenu a {
      padding: 10px 12px;
      display: block;
      color: #566176;
      border-bottom: 1px solid #e9edf5;
      font-size: 14px;
    }

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

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

    .tag-index-page .tag-intro {
      position: relative;
      padding: 74px 0 120px;
      color: var(--white);
      background:
        radial-gradient(circle at 14% 30%, rgba(255, 118, 95, 0.32), transparent 25%),
        radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.13), transparent 23%),
        linear-gradient(135deg, var(--theme-dark), var(--theme));
    }

    .tag-index-page .tag-intro::before,
    .tag-index-page .tag-intro::after {
      position: absolute;
      content: "";
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-radius: 50%;
    }

    .tag-index-page .tag-intro::before {
      top: -130px;
      right: -80px;
      width: 390px;
      height: 390px;
    }

    .tag-index-page .tag-intro::after {
      bottom: -170px;
      left: -100px;
      width: 340px;
      height: 340px;
    }

    .tag-index-page .tag-intro-inner {
      position: relative;
      z-index: 1;
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }

    .tag-index-page .eyebrow {
      margin: 0 0 14px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: #ffe0d7;
      font-size: 14px;
      font-weight: 800;
      letter-spacing: 0.12em;
    }

    .tag-index-page .eyebrow::before,
    .tag-index-page .eyebrow::after {
      width: 24px;
      height: 1px;
      content: "";
      background: currentColor;
    }

    .tag-index-page h1 {
      margin: 0;
      font-size: clamp(36px, 6vw, 68px);
      line-height: 1.12;
      letter-spacing: -0.045em;
    }

    .tag-index-page .lead {
      max-width: 680px;
      margin: 20px auto 0;
      color: #dbe8ff;
      font-size: 17px;
    }

    .tag-index-page .intro-actions {
      margin-top: 28px;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
    }

    .tag-index-page .intro-actions a {
      padding: 11px 18px;
      color: var(--theme-dark);
      background: var(--white);
      border-radius: 999px;
      font-weight: 800;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }

    .tag-index-page .intro-actions a:last-child {
      color: var(--white);
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.3);
      box-shadow: none;
    }

    .tag-index-page .tag-content {
      position: relative;
      z-index: 2;
      margin-top: -65px;
      padding-bottom: 82px;
    }

    .tag-index-page .tag-panel {
      padding: 34px;
      background: var(--cream);
      border: 1px solid rgba(255, 118, 95, 0.19);
      border-radius: 28px;
      box-shadow: var(--shadow);
    }

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

    .tag-index-page .section-head h2 {
      margin: 0 0 5px;
      color: var(--ink);
      font-size: clamp(26px, 4vw, 38px);
      line-height: 1.25;
    }

    .tag-index-page .section-head p {
      margin: 0;
      color: var(--muted);
    }

    .tag-index-page .tag-count-mark {
      padding: 8px 13px;
      flex: 0 0 auto;
      color: #a64031;
      background: #ffe1d8;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 800;
    }

    .tag-index-page .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 13px;
    }

    .tag-index-page .tag-chip {
      position: relative;
      min-height: 52px;
      padding: 11px 17px;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      color: #303744;
      background: var(--white);
      border: 1px solid #eadfd7;
      border-radius: 14px;
      box-shadow: 0 8px 18px rgba(36, 43, 56, 0.055);
      font-weight: 800;
      transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .tag-index-page .tag-chip::before {
      color: var(--accent);
      content: "#";
      font-weight: 900;
    }

    .tag-index-page .tag-chip small {
      padding: 2px 7px;
      color: var(--theme);
      background: var(--theme-soft);
      border-radius: 999px;
      font-size: 11px;
      font-weight: 800;
    }

    .tag-index-page .tag-chip:nth-child(4n + 1) {
      font-size: 18px;
    }

    .tag-index-page .tag-chip:nth-child(5n + 2) {
      color: var(--theme);
      background: #eef4ff;
      border-color: #c8d7f1;
    }

    .tag-index-page .tag-chip:nth-child(6n + 3) {
      color: #8c3a2e;
      background: #fff0eb;
      border-color: #ffd1c7;
    }

    .tag-index-page .tag-chip:hover {
      z-index: 1;
      color: var(--white);
      background: var(--theme);
      border-color: var(--theme);
      box-shadow: 0 14px 28px rgba(11, 61, 145, 0.2);
      transform: translateY(-4px) rotate(-1deg);
    }

    .tag-index-page .tag-chip:hover::before,
    .tag-index-page .tag-chip:hover small {
      color: var(--white);
    }

    .tag-index-page .tag-chip:hover small {
      background: rgba(255, 255, 255, 0.18);
    }

    .tag-index-page .guide-grid {
      margin-top: 30px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .tag-index-page .guide-card {
      padding: 24px;
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 20px;
    }

    .tag-index-page .guide-icon {
      width: 45px;
      height: 45px;
      margin-bottom: 15px;
      display: grid;
      place-items: center;
      color: var(--white);
      background: var(--theme);
      border-radius: 13px;
      font-size: 20px;
      font-weight: 900;
    }

    .tag-index-page .guide-card:nth-child(2) .guide-icon {
      background: var(--accent);
    }

    .tag-index-page .guide-card:nth-child(3) .guide-icon {
      background: #303744;
    }

    .tag-index-page .guide-card h3 {
      margin: 0 0 8px;
      font-size: 18px;
    }

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

    .tag-index-page .risk-note {
      margin-top: 30px;
      padding: 19px 22px;
      display: flex;
      align-items: flex-start;
      gap: 13px;
      color: #5d4a36;
      background: #fff7e6;
      border: 1px solid #f2dfb9;
      border-radius: 16px;
      font-size: 14px;
    }

    .tag-index-page .risk-note strong {
      color: #8b5d18;
      white-space: nowrap;
    }

    .footer {
      padding: 62px 0 0;
      color: #c8d4e8;
      background: #111d31;
    }

    .footer-grid {
      padding-bottom: 40px;
      display: grid;
      grid-template-columns: 1.45fr 1fr 1fr 1fr;
      gap: 40px;
    }

    .footer .logo {
      margin-bottom: 17px;
      color: var(--white);
    }

    .footer-brand p,
    .footer-grid > div > p {
      margin: 9px 0;
      color: #aebbd0;
      font-size: 14px;
    }

    .footer h3 {
      margin: 6px 0 16px;
      color: var(--white);
      font-size: 16px;
    }

    .footer-grid > div:not(.footer-brand) > a {
      margin: 8px 0;
      display: block;
      color: #b8c5d9;
      font-size: 14px;
      transition: color 0.2s ease, transform 0.2s ease;
    }

    .footer-grid > div:not(.footer-brand) > a:hover {
      color: var(--white);
      transform: translateX(3px);
    }

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

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

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

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

      .hamburger {
        display: flex;
      }
    }

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

      .topbar .container {
        padding: 8px 0;
        align-items: flex-start;
      }

      .topbar-links {
        align-items: flex-end;
        flex-direction: column;
        gap: 2px;
      }

      .tag-index-page .tag-intro {
        padding: 58px 0 100px;
      }

      .tag-index-page .tag-panel {
        padding: 25px 20px;
        border-radius: 22px;
      }

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

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

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

    @media (max-width: 560px) {
      .topbar .container {
        display: block;
        text-align: center;
      }

      .topbar-links {
        margin-top: 4px;
        align-items: center;
      }

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

      .header .logo {
        max-width: calc(100% - 55px);
        font-size: 17px;
      }

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

      .member-btn,
      .open-btn {
        display: none;
      }

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

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

      .tag-index-page .intro-actions {
        align-items: stretch;
        flex-direction: column;
      }

      .tag-index-page .tag-content {
        margin-top: -52px;
        padding-bottom: 60px;
      }

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

      .tag-index-page .tag-chip,
      .tag-index-page .tag-chip:nth-child(4n + 1) {
        min-height: 44px;
        padding: 8px 12px;
        font-size: 14px;
      }

      .tag-index-page .risk-note {
        flex-direction: column;
        gap: 5px;
      }

      .footer {
        padding-top: 46px;
      }

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

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