:root {
      --theme: #0B3D91;
      --theme-dark: #08295f;
      --ink: #122033;
      --muted: #6c7b90;
      --line: #dce4ef;
      --soft: #f3f6fa;
      --white: #ffffff;
      --accent: #16c4d8;
      --shadow: 0 18px 50px rgba(22, 45, 78, .1);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: #f7f9fc;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
      line-height: 1.6;
    }

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

    button {
      font: inherit;
    }

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

    .topbar {
      color: #cdd9ec;
      background: #071932;
      font-size: 13px;
    }

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

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

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

    .topbar a:hover {
      color: #58e1ed;
    }

    .header {
      position: relative;
      z-index: 20;
      background: rgba(255, 255, 255, .97);
      border-bottom: 1px solid var(--line);
    }

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

    .logo {
      display: inline-flex;
      align-items: center;
      flex: 0 0 auto;
      gap: 11px;
      color: var(--theme-dark);
      font-size: 19px;
      font-weight: 800;
      letter-spacing: 0;
    }

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

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

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

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

    .nav-link {
      height: 42px;
      display: inline-flex;
      align-items: center;
      padding: 0 13px;
      color: #29384e;
      font-size: 14px;
      font-weight: 600;
      border-radius: 5px;
      transition: background .2s ease, color .2s ease;
    }

    .nav-link:hover,
    .nav-link:focus-visible {
      color: var(--theme);
      background: #edf3fb;
    }

    .has-arrow::after {
      content: "";
      width: 6px;
      height: 6px;
      margin: -3px 0 0 8px;
      border-right: 1.5px solid currentColor;
      border-bottom: 1.5px solid currentColor;
      transform: rotate(45deg);
    }

    .dropdown-panel,
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      z-index: 30;
      width: 330px;
      padding: 20px;
      visibility: hidden;
      opacity: 0;
      transform: translate(-50%, 8px);
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 0 0 8px 8px;
      box-shadow: var(--shadow);
      transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }

    .mega-menu {
      width: min(760px, 80vw);
      padding: 24px;
    }

    .nav-item::after {
      content: "";
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      height: 12px;
    }

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

    .dropdown-title,
    .mega-heading {
      margin-bottom: 11px;
      color: var(--theme);
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .04em;
    }

    .dropdown-panel > a:not(.mega-footer) {
      display: block;
      padding: 9px 0;
      color: #314157;
      font-size: 13px;
      border-bottom: 1px solid #edf1f6;
    }

    .dropdown-panel > a:last-child {
      margin-top: 10px;
      color: var(--theme);
      font-weight: 700;
      border-bottom: 0;
    }

    .mega-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }

    .mega-list {
      display: grid;
      gap: 7px;
    }

    .mega-list > a {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 7px;
      border-radius: 5px;
      transition: background .2s ease;
    }

    .mega-list > a:hover {
      background: #f1f5fa;
    }

    .mega-list img {
      width: 38px;
      height: 38px;
      flex: 0 0 38px;
      object-fit: contain;
      border-radius: 5px;
      background: #eef3f9;
    }

    .mega-item-title,
    .mega-item-meta {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mega-item-title {
      color: #263650;
      font-size: 13px;
      font-weight: 700;
    }

    .mega-item-meta {
      max-width: 260px;
      color: #8190a3;
      font-size: 11px;
    }

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

    .mega-categories a,
    .mega-tools span {
      display: inline-flex;
      padding: 6px 10px;
      color: #52647d;
      background: #f2f6fb;
      border-radius: 4px;
      font-size: 12px;
    }

    .mega-tools {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin: 18px 0;
    }

    .mega-footer {
      display: inline-flex;
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }

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

    .member-link {
      color: var(--theme);
      font-size: 13px;
      font-weight: 700;
    }

    .account-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 0 15px;
      color: #fff;
      background: var(--theme);
      border-radius: 4px;
      font-size: 13px;
      font-weight: 700;
    }

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

    .hamburger {
      display: none;
      width: 42px;
      height: 42px;
      padding: 9px;
      cursor: pointer;
      background: transparent;
      border: 1px solid var(--line);
      border-radius: 4px;
    }

    .hamburger span {
      display: block;
      width: 22px;
      height: 2px;
      margin: 4px auto;
      background: var(--theme);
      transition: transform .2s ease, opacity .2s ease;
    }

    .hamburger.active span:first-child {
      transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:last-child {
      transform: translateY(-6px) rotate(-45deg);
    }

    .drawer-overlay {
      position: fixed;
      inset: 0;
      z-index: 40;
      visibility: hidden;
      opacity: 0;
      background: rgba(5, 18, 39, .52);
      transition: opacity .25s ease, visibility .25s ease;
    }

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

    .mobile-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: 50;
      width: min(360px, 88vw);
      overflow-y: auto;
      visibility: hidden;
      transform: translateX(100%);
      background: #fff;
      box-shadow: -12px 0 35px rgba(5, 24, 54, .18);
      transition: transform .25s ease, visibility .25s ease;
    }

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

    .drawer-head {
      min-height: 72px;
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 0 20px;
      color: #fff;
      background: var(--theme-dark);
      font-weight: 700;
    }

    .drawer-head span {
      flex: 1;
    }

    .drawer-head a {
      padding: 6px 10px;
      color: #06265d;
      background: #64e3ed;
      border-radius: 3px;
      font-size: 12px;
    }

    .drawer-close {
      padding: 0;
      color: #fff;
      cursor: pointer;
      background: transparent;
      border: 0;
      font-size: 27px;
      line-height: 1;
    }

    .drawer-menu {
      padding: 14px 20px 30px;
    }

    .drawer-link,
    .drawer-toggle {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 48px;
      padding: 0;
      color: #263750;
      text-align: left;
      background: transparent;
      border: 0;
      border-bottom: 1px solid #e7edf4;
      font-size: 15px;
      font-weight: 700;
    }

    .drawer-toggle::after {
      content: "+";
      color: var(--theme);
      font-size: 20px;
      font-weight: 400;
    }

    .drawer-toggle.active::after {
      content: "−";
    }

    .drawer-submenu {
      display: none;
      padding: 5px 0 8px 14px;
    }

    .drawer-submenu.open {
      display: block;
    }

    .drawer-submenu a {
      display: block;
      padding: 8px 0;
      color: #66758a;
      font-size: 13px;
    }

    .tag-index-page {
      min-height: 580px;
      padding: 72px 0 100px;
      background:
        radial-gradient(circle at 88% 8%, rgba(22, 196, 216, .09), transparent 28%),
        #f7f9fc;
    }

    .tag-hero {
      position: relative;
      max-width: 780px;
      margin: 0 auto 46px;
      text-align: center;
    }

    .tag-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      margin-bottom: 15px;
      color: var(--theme);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: .16em;
    }

    .tag-eyebrow::before {
      content: "";
      width: 26px;
      height: 2px;
      background: var(--accent);
    }

    .tag-hero h1 {
      margin: 0;
      color: #102341;
      font-size: clamp(32px, 5vw, 56px);
      line-height: 1.12;
      letter-spacing: 0;
    }

    .tag-hero p {
      max-width: 610px;
      margin: 18px auto 0;
      color: var(--muted);
      font-size: 16px;
    }

    .tag-panel {
      max-width: 1040px;
      margin: 0 auto;
      padding: 34px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 8px;
      box-shadow: var(--shadow);
    }

    .tag-panel-head {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 20px;
      padding-bottom: 20px;
      border-bottom: 1px solid #e7edf4;
    }

    .tag-panel-head h2 {
      margin: 0;
      color: #193257;
      font-size: 22px;
    }

    .tag-panel-head p {
      margin: 0;
      color: var(--muted);
      font-size: 13px;
    }

    .tag-cloud {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 13px;
      padding: 42px 18px 24px;
    }

    .tag-cloud a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      padding: 8px 15px;
      color: #315071;
      background: #f0f5fb;
      border: 1px solid #dce7f3;
      border-radius: 22px;
      font-size: 14px;
      transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
    }

    .tag-cloud a:nth-child(3n) {
      color: #087b96;
      background: #eaf9fb;
      border-color: #c8edf1;
    }

    .tag-cloud a:nth-child(4n) {
      color: #fff;
      background: var(--theme);
      border-color: var(--theme);
    }

    .tag-cloud a:hover {
      color: #fff;
      background: var(--theme-dark);
      border-color: var(--theme-dark);
      transform: translateY(-2px);
    }

    .tag-count {
      color: inherit;
      opacity: .68;
      font-size: 11px;
    }

    .tag-note {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding-top: 22px;
      color: #8592a4;
      border-top: 1px solid #edf1f6;
      font-size: 13px;
      text-align: center;
    }

    .tag-note strong {
      color: var(--theme);
      font-size: 18px;
    }

    .footer {
      color: #c9d5e5;
      background: #071932;
    }

    .footer .container {
      padding-top: 54px;
    }

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

    .footer-brand img {
      width: 40px;
      height: 40px;
      object-fit: contain;
      margin-bottom: 10px;
    }

    .footer-brand h3 {
      margin: 0 0 10px;
      color: #fff;
      font-size: 18px;
    }

    .footer-brand p {
      max-width: 290px;
      margin: 0;
      color: #91a4bf;
      font-size: 13px;
    }

    .footer h4 {
      margin: 5px 0 16px;
      color: #fff;
      font-size: 14px;
    }

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

    .footer-links a,
    .footer-contact span {
      color: #91a4bf;
      font-size: 13px;
    }

    .footer-links a:hover {
      color: #62e0ec;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding: 18px 0 22px;
      color: #7890ae;
      border-top: 1px solid rgba(192, 212, 238, .14);
      font-size: 12px;
    }

    @media (max-width: 980px) {
      .header-inner {
        gap: 18px;
      }

      .nav-list {
        gap: 0;
      }

      .nav-link {
        padding: 0 8px;
      }

      .member-link {
        display: none;
      }

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

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

      .topbar-inner {
        min-height: 34px;
        justify-content: center;
      }

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

      .topbar-links {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        font-size: 12px;
      }

      .header-inner {
        min-height: 68px;
        justify-content: space-between;
      }

      .main-nav {
        display: none;
      }

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

      .hamburger {
        display: block;
      }

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

      .tag-hero {
        margin-bottom: 30px;
      }

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

      .tag-hero p {
        font-size: 14px;
      }

      .tag-panel {
        padding: 23px 16px;
      }

      .tag-panel-head {
        display: block;
      }

      .tag-panel-head h2 {
        margin-bottom: 5px;
        font-size: 19px;
      }

      .tag-cloud {
        gap: 9px;
        padding: 28px 0 20px;
      }

      .tag-cloud a {
        min-height: 38px;
        padding: 7px 12px;
        font-size: 13px;
      }

      .footer .container {
        padding-top: 38px;
      }

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

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

      .footer-bottom {
        display: block;
      }

      .footer-bottom span {
        display: block;
        margin-top: 6px;
      }
    }

    @media (max-width: 420px) {
      .account-btn {
        display: none;
      }

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

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