:root {
            --site-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
        }

        body {
            font-family: var(--site-font-family);
            background-color: #050505;
            color: #FFFFFF;
        }
        .font-sans { font-family: var(--site-font-family) !important; }
        .text-primary-accent { color: #b7c900; }
        .bg-primary-accent { background-color: #b7c900; }
        .border-primary-accent { border-color: #b7c900; }
        
        .technical-grid {
            background-size: 40px 40px;
            background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                              linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
        }

        @keyframes scroll-marquee {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .animate-marquee {
            animation: scroll-marquee 40s linear infinite;
        }

        @media (prefers-reduced-motion: reduce) {
            .animate-marquee {
                animation: none;
            }
        }
        
        .marquee-container:hover .animate-marquee,
        .marquee-container:active .animate-marquee {
            animation-play-state: paused;
        }

.site-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.125em;
}

.mobile-menu-button,
.mobile-menu {
  display: none;
}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  body > header {
    padding: 12px 16px !important;
    gap: 12px;
  }

  body > header > div:first-child {
    min-width: 0;
    gap: 12px;
  }

  body > header > div:first-child > a {
    min-width: 0;
    gap: 10px;
  }

  body > header > div:first-child h2 {
    max-width: 58vw;
    overflow: hidden;
    font-size: 16px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body > header > div:first-child .size-6 {
    width: 20px !important;
    height: 20px !important;
  }

  body > header > div:last-child {
    flex: 0 0 auto;
    gap: 0;
  }

  body > header > div:last-child > a {
    display: none !important;
  }

  .mobile-menu-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid #2f3336;
    background: #131313;
    color: #ffffff;
    cursor: pointer;
  }

  .mobile-menu-button:hover,
  .mobile-menu-button[aria-expanded="true"] {
    border-color: #b7c900;
    color: #b7c900;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: block;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu-scrim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    opacity: 0;
    transition: opacity 180ms ease;
  }

  .mobile-menu.is-open .mobile-menu-scrim {
    opacity: 1;
  }

  .mobile-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: min(82vw, 320px);
    height: 100%;
    flex-direction: column;
    border-left: 1px solid #2f3336;
    background: #131313;
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.42);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .mobile-menu.is-open .mobile-menu-panel {
    transform: translateX(0);
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 16px;
    border-bottom: 1px solid #2f3336;
  }

  .mobile-menu-head b {
    display: block;
    color: #ffffff;
    font-size: 15px;
    letter-spacing: 0.08em;
  }

  .mobile-menu-head > div span {
    display: block;
    margin-top: 3px;
    color: #a0a0a0;
    font-size: 12px;
  }

  .mobile-menu-close {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid #2f3336;
    background: #0e0e0e;
    color: #ffffff;
    cursor: pointer;
  }

  .mobile-menu-close:hover {
    border-color: #b7c900;
    color: #b7c900;
  }

  .mobile-menu-close .site-icon {
    font-size: 22px;
  }

  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
  }

  .mobile-menu-links a {
    padding: 16px 20px;
    border-bottom: 1px solid #2f3336;
    color: #e5e2e1;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }

  .mobile-menu-links a:hover,
  .mobile-menu-links a:active {
    background: #1c1b1b;
    color: #b7c900;
  }

  .mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding: 18px;
    border-top: 1px solid #2f3336;
  }

  .mobile-menu-contact a {
    color: #c7c8ae;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-all;
  }

  .mobile-menu-contact .mobile-menu-primary {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    background: #b7c900;
    color: #050505;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-scrim,
  .mobile-menu-panel {
    transition: none;
  }
}

footer a[href="https://beian.miit.gov.cn/"] {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: inherit;
  text-decoration: none;
}

@media (max-width: 767px) {
  footer {
    padding-bottom: max(40px, calc(env(safe-area-inset-bottom) + 24px)) !important;
  }

  footer .border-t {
    justify-content: flex-start !important;
  }

  footer .border-t > div {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    color: #a8a8a8;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    text-transform: none;
  }

  footer .border-t > div > div,
  footer .border-t > div > a {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  footer a[href="https://beian.miit.gov.cn/"] {
    color: #c7c8ae;
  }
}
