
/* === THEME VARIABLES (Dark = default, Light = [data-theme="light"]) === */
:root {
  --a2a-bg: #090E1A;
  --a2a-bg-2: #0F1525;
  --a2a-text: #FFFFFF;
  --a2a-text-2: #BCC5D0;
  --a2a-border: rgba(255,255,255,0.08);
  --a2a-card-bg: rgba(255,255,255,0.02);
}
html[data-theme="light"], html.light-theme {
  --a2a-bg: #FFFFFF;
  --a2a-bg-2: #FFFFFF;
  --a2a-text: #1A1A1A;
  --a2a-text-2: #4A4A4A;
  --a2a-border: rgba(0,0,0,0.1);
  --a2a-card-bg: #FFFFFF;
}
html[data-theme="light"] body,
html.light-theme body {
  background: var(--a2a-bg) !important;
  color: var(--a2a-text) !important;
}
html[data-theme="light"] .a2a-section,
html.light-theme .a2a-section {
  background: var(--a2a-bg) !important;
  color: var(--a2a-text) !important;
}
html[data-theme="light"] .a2a-hero-title,
html.light-theme .a2a-hero-title,
html[data-theme="light"] .a2a-card h3,
html.light-theme .a2a-card h3 {
  color: var(--a2a-text) !important;
}
html[data-theme="light"] .a2a-hero-subtitle,
html.light-theme .a2a-hero-subtitle,
html[data-theme="light"] .a2a-section-subtitle,
html.light-theme .a2a-section-subtitle {
  color: var(--a2a-text-2) !important;
}



/* ============================================================
   V2.0 P0-M4 Additions — appended to existing CSS
   ============================================================ */

/* === H1 Fixed: orange → gold === */
/* === A2A-BTN-PRIMARY v2: dark bg + gold border (2026-08-20 删黄底) === */
.a2a-btn-primary {
  background: #0A1628;
  color: #FFFFFF;
  border: 1px solid #D4AF37;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.a2a-btn-primary:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #D4AF37;
  color: #e8c547;
}
.a2a-btn-outline {
  background: transparent;
  border: 2px solid #D4AF37;
  color: #e8c547;
}

/* === H2: Nav CTA Button === */
.a2a-nav-cta {
  background: linear-gradient(135deg, #D4AF37, #D4AF37) !important;
  color: #000000 !important;
  padding: 8px 20px !important;
  border-radius: 24px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: all 0.3s ease !important;
}
.a2a-nav-cta:hover {
  background: transparent !important;
  color: #e8c547 !important;
  border: 1px solid #D4AF37 !important;
  padding: 7px 19px !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  opacity: 1 !important;
}

/* === H2: Mobile Hamburger === */
.a2a-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}
.a2a-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #E8ECF1;
  border-radius: 1px;
  transition: all 0.3s;
}
@media (max-width: 900px) {
  .a2a-nav-toggle { display: flex; }
  .a2a-nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(9,14,26,0.98);
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .a2a-nav-links.open { display: flex; }
  .a2a-nav-links a { padding: 14px 24px !important; width: 100%; }
  /* Mobile: logo | EN+Theme+CTA close together on left, hamburger on far right */
  .a2a-nav-inner { gap: 4px !important; flex-wrap: nowrap !important; }
  .a2a-logo { order: 1 !important; flex-shrink: 0 !important; }
  .a2a-nav-toggle { order: 6 !important; flex-shrink: 0 !important; margin-left: auto !important; }
  .a2a-nav-links { order: 99 !important; display: none !important; }
  .a2a-lang-toggle { order: 2 !important; flex-shrink: 0 !important; }
  .a2a-theme-toggle { order: 3 !important; flex-shrink: 0 !important; }
  .a2a-nav-cta { order: 4 !important; flex-shrink: 0 !important; }
  .a2a-logo-text { display: none !important; }
  .a2a-nav-cta { font-size: 11px !important; padding: 6px 10px !important; white-space: nowrap !important; }
  .a2a-lang-toggle { font-size: 12px !important; padding: 6px 10px !important; min-width: 36px !important; }
  .a2a-theme-toggle { font-size: 14px !important; padding: 6px 10px !important; min-width: 36px !important; }
  /* On very narrow screens, hide 注册智能体 text to save space, keep just arrow */
  @media (max-width: 400px) {
    .a2a-nav-cta span[lang-zh], .a2a-nav-cta span[lang-en] { display: none !important; }
    .a2a-nav-cta::after { content: ' 92' !important; }
  }
}

/* === H4: Hero Visual Nodes === */
.a2a-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.a2a-hero-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, #D4AF37, transparent 70%);
  animation: a2a-glow-pulse 3s ease-in-out infinite;
}
@keyframes a2a-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.8; }
}
.a2a-hero-nodes {
  position: relative;
  width: 260px;
  height: 260px;
}
.a2a-hero-node {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(13,21,37,0.95);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  animation: a2a-node-float 4s ease-in-out infinite;
}
.a2a-hero-node.store   { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.a2a-hero-node.voice   { top: 25%; right: 0; animation-delay: 0.6s; }
.a2a-hero-node.skill   { bottom: 25%; right: 0; animation-delay: 1.2s; }
.a2a-hero-node.pay     { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 1.8s; }
.a2a-hero-node.center  {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 68px; height: 68px;
  background: linear-gradient(135deg, #D4AF37, #D4AF37);
  color: #000000;
  font-weight: 800;
  font-size: 16px;
  border: none;
  box-shadow: 0 0 30px #D4AF37;
  animation: none;
}
@keyframes a2a-node-float {
  0%, 100% { transform: translate(var(--tx), var(--ty)); }
  50% { transform: translate(var(--tx), calc(var(--ty) - 6px)); }
}
.a2a-hero-node.store  { --tx: -50%; --ty: 0; }
.a2a-hero-node.voice  { --tx: 0; --ty: 0; }
.a2a-hero-node.skill  { --tx: 0; --ty: 0; }
.a2a-hero-node.pay    { --tx: -50%; --ty: 0; }
@media (max-width: 768px) {
  .a2a-hero-visual { min-height: 240px; }
  .a2a-hero-glow { width: 180px; height: 180px; }
  .a2a-hero-nodes { width: 180px; height: 180px; }
  .a2a-hero-node { width: 38px; height: 38px; font-size: 16px; }
  .a2a-hero-node.center { width: 50px; height: 50px; font-size: 12px; }
}

/* === H4: Trust Bar & Counter === */
.a2a-trust-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 48px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}
.a2a-trust-item { text-align: center; }
.a2a-trust-num {
  font-family: "Outfit", sans-serif;
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, #D4AF37, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.a2a-trust-label {
  font-size: 14px;
  color: #BCC5D0;
  font-weight: 500;
}

/* === M1: Scroll Spy active === */
.a2a-nav-links a.a2a-nav-active {
  color: #e8c547 !important;
  background: #D4AF37;
  border-radius: 8px;
}

/* === M3: Protocol Stack Enhanced === */
.a2a-protocol-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.a2a-protocol-layer {
  background: rgba(13,21,37,0.8);
  border: 1px solid #D4AF37;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.a2a-protocol-layer:hover {
  border-color: #D4AF37;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.a2a-protocol-layer-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  background: rgba(255,255,255,0.04);
}
.a2a-protocol-layer h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.a2a-protocol-layer p {
  font-size: 13px;
  color: #FFFFFF;
  line-height: 1.6;
}
.a2a-protocol-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-family: "JetBrains Mono", monospace;
  background: rgba(255,255,255,0.04);
  color: #9AA3B0;
}

/* === Core Modules Grid === */
.a2a-modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.a2a-module-card {
  background: rgba(13,21,37,0.8);
  border: 1px solid #D4AF37;
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}
.a2a-module-card:hover {
  border-color: #D4AF37;
  transform: translateY(-3px);
}
.a2a-module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.a2a-module-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.a2a-module-card p {
  font-size: 13px;
  color: #FFFFFF;
  line-height: 1.6;
}

/* === 3-Step Integration === */
.a2a-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.a2a-step {
  background: rgba(13,21,37,0.6);
  border: 1px solid #D4AF37;
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s ease;
}
.a2a-step:hover {
  border-color: #D4AF37;
  transform: translateY(-2px);
}
.a2a-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4AF37, #D4AF37);
  color: #000000;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.a2a-step h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.a2a-step p {
  font-size: 13px;
  color: #FFFFFF;
  line-height: 1.6;
}
.a2a-step-code {
  display: inline-block;
  margin-top: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: #7CC576;
  background: rgba(124,197,118,0.08);
  padding: 4px 12px;
  border-radius: 8px;
}

/* === Case Studies Grid === */
.a2a-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.a2a-case-card {
  background: rgba(13,21,37,0.8);
  border: 1px solid #D4AF37;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.a2a-case-card:hover {
  border-color: #D4AF37;
  transform: translateY(-3px);
}
.a2a-case-preview {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}
.a2a-case-body {
  padding: 20px 24px 24px;
}
.a2a-case-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.a2a-case-body p {
  font-size: 13px;
  color: #FFFFFF;
  line-height: 1.6;
}

/* === Developer Section (M4) === */
.a2a-dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.a2a-dev-diagram {
  background: rgba(13,21,37,0.8);
  border: 1px solid #D4AF37;
  border-radius: 16px;
  padding: 28px 24px;
}
.a2a-dev-diagram-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.a2a-dev-layer {
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.2);
  border-left: 3px solid var(--layer-line, #D4AF37);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.a2a-dev-layer-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.a2a-dev-layer-desc {
  font-size: 12px;
  color: #BCC5D0;
  flex: 1;
}
.a2a-dev-layer-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
}
.a2a-dev-layer-tag.ready { background: rgba(124,197,118,0.12); color: #7CC576; }
.a2a-dev-layer-tag.wip   { background: #D4AF37; color: #e8c547; }
.a2a-dev-layer-tag.plan  { background: rgba(74,144,226,0.12); color: #4A90E2; }

.a2a-dev-resources { display: flex; flex-direction: column; gap: 14px; }
.a2a-dev-resource {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(13,21,37,0.6);
  border: 1px solid #D4AF37;
  text-decoration: none;
  transition: all 0.3s ease;
}
.a2a-dev-resource:hover {
  border-color: #D4AF37;
  background: rgba(17,28,48,0.8);
}
.a2a-dev-resource-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.a2a-dev-resource-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.a2a-dev-resource-info p {
  font-size: 12px;
  color: #FFFFFF;
  line-height: 1.4;
}

/* === FAQ Grid === */
.a2a-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.a2a-faq-item {
  background: rgba(13,21,37,0.6);
  border: 1px solid #D4AF37;
  border-radius: 14px;
  padding: 20px 24px;
  transition: all 0.3s ease;
}
.a2a-faq-item:hover { border-color: #D4AF37; }
.a2a-faq-q {
  font-size: 15px;
  font-weight: 700;
  color: #e8c547;
  margin-bottom: 8px;
}
.a2a-faq-a { font-size: 13px; color: #FFFFFF; line-height: 1.6; }

/* === Footer (Phase 4) === */
#a2a-footer {
  background: rgba(7,12,24,0.95);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 0;
}
.a2a-footer-cta {
  padding: 36px 32px 28px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.a2a-footer-cta h2 {
  font-family: "Outfit", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.a2a-footer-cta p { color: #BCC5D0; font-size: 15px; margin-bottom: 28px; }
.a2a-footer-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.a2a-partners {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  color: #9AA3B0;
  font-size: 12px;
  letter-spacing: 1px;
}
.a2a-footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}
.a2a-footer-col a {
  display: block;
  color: #9AA3B0;
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.a2a-footer-col a:hover { color: #e8c547; }
.a2a-footer-bottom {
  text-align: center;
  padding: 20px 32px;
  color: #9AA3B0;
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.a2a-footer-bottom-links { margin-top: 8px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* Scroll to top */
.a2a-scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13,21,37,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  color: #E8ECF1;
  font-size: 20px;
  cursor: pointer;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.a2a-scroll-top:hover {
  background: #D4AF37;
  border-color: #D4AF37;
  color: #e8c547;
}
.a2a-scroll-top.visible { display: flex; }

/* === Responsive breakpoints === */
@media (max-width: 1024px) {
  .a2a-modules-grid { grid-template-columns: repeat(2, 1fr); }
  .a2a-protocol-stack { grid-template-columns: 1fr; }
  .a2a-dev-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .a2a-modules-grid { grid-template-columns: 1fr; }
  .a2a-steps { grid-template-columns: 1fr; }
  .a2a-faq-grid { grid-template-columns: 1fr; }
  .a2a-cases-grid { grid-template-columns: 1fr; }
  .a2a-trust-bar { gap: 24px; }
  .a2a-trust-num { font-size: 30px; }
  .a2a-sdk-grid { grid-template-columns: repeat(2, 1fr); }
  .a2a-sdk-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .a2a-framework-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === General section styles === */
.a2a-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.a2a-section { padding: 140px 0 30px; }
.a2a-section-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: #e8c547;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}
.a2a-section-title {
  font-family: "Outfit", "PingFang SC", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #e8c547;
  line-height: 1.3;
  margin-bottom: 16px;
}
.a2a-section-title .highlight { color: #c9a227; }
.a2a-section-desc {
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1.7;
  max-width: 640px;
}
.a2a-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,144,226,0.1);
  border: 1px solid rgba(74,144,226,0.2);
  color: #4A90E2;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.a2a-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4A90E2;
  animation: a2a-dot-pulse 2s ease-in-out infinite;
}
@keyframes a2a-dot-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.a2a-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.a2a-hero-title {
  font-family: "Outfit", "PingFang SC", sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.a2a-hero-title .gold {
  background: linear-gradient(135deg, #D4AF37, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.a2a-hero-subtitle {
  font-size: 16px;
  color: #BCC5D0;
  line-height: 1.7;
  margin-bottom: 28px;
  white-space: nowrap;
}
.a2a-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.a2a-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

/* === Nav === */
.a2a-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(9,14,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.a2a-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.a2a-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 27px;
  font-weight: 800;
  color: #fff;
  font-family: "Outfit", sans-serif;
}
.a2a-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #D4AF37, #D4AF37);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}
.a2a-nav-links { display: flex; align-items: center; gap: 6px; }
.a2a-nav-links a {
  padding: 8px 14px;
  color: #BCC5D0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
}
.a2a-nav-links a:hover { color: #E8ECF1; }

/* === Animation === */
.a2a-animate {
  opacity: 0;
  transform: translateY(20px);
  animation: a2a-fade-up 0.6s ease forwards;
}
@keyframes a2a-fade-up {
  to { opacity: 1; transform: translateY(0); }
}
.a2a-animate:nth-child(2) { animation-delay: 0.1s; }
.a2a-animate:nth-child(3) { animation-delay: 0.2s; }
.a2a-animate:nth-child(4) { animation-delay: 0.3s; }
.a2a-animate:nth-child(5) { animation-delay: 0.4s; }

/* Root sizing */
.a2a-root {
  margin: 0; padding: 0;
  background: #000000;
  color: #FFFFFF;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.a2a-root *, .a2a-root *::before, .a2a-root *::after {
  box-sizing: border-box; margin: 0; padding: 0;
}

/* ===== a2ahub-v22- hero visual micro-motion (C+ light dispatch, pure CSS/SVG) ===== */
.a2ahub-v22-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.a2a-hero-nodes { z-index: 1; }
.a2a-hero-node { z-index: 2; }

.a2ahub-v22-wire {
  fill: none;
  stroke: rgba(212, 175, 55, 0.55);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  animation: a2ahub-v22-flow 1.2s linear infinite;
  transition: stroke 0.25s ease;
}
.a2ahub-v22-wire-weak {
  stroke: rgba(212, 175, 55, 0.3);
  stroke-dasharray: 3 6;
  animation: none;
}
.a2ahub-v22-particle {
  fill: #e8c547;
  filter: drop-shadow(0 0 3px #D4AF37);
}
@keyframes a2ahub-v22-flow {
  to { stroke-dashoffset: -20; }
}

/* 3) center glow breathing boost (adds animation, original element kept) */
.a2ahub-v22-glow {
  animation: a2ahub-v22-glow 3s ease-in-out infinite;
}
@keyframes a2ahub-v22-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

/* 4) node hover scale-up (added rules, do not override base) */
.a2a-hero-node.store:hover,
.a2a-hero-node.voice:hover,
.a2a-hero-node.skill:hover,
.a2a-hero-node.pay:hover {
  transform: translate(var(--tx), var(--ty)) scale(1.1);
  transition: transform 0.2s ease;
  border-color: #D4AF37;
  box-shadow: 0 0 14px #D4AF37;
}
.a2a-hero-node.center:hover {
  transform: translate(-50%, -50%) scale(1.1);
  transition: transform 0.2s ease;
}
/* node hover brightens its own wire */
.a2a-hero-node.store:hover ~ .a2ahub-v22-links .a2ahub-v22-line-store .a2ahub-v22-wire,
.a2a-hero-node.voice:hover ~ .a2ahub-v22-links .a2ahub-v22-line-voice .a2ahub-v22-wire,
.a2a-hero-node.skill:hover ~ .a2ahub-v22-links .a2ahub-v22-line-skill .a2ahub-v22-wire,
.a2a-hero-node.pay:hover ~ .a2ahub-v22-links .a2ahub-v22-line-pay .a2ahub-v22-wire {
  stroke: rgba(212, 175, 55, 0.9);
}

/* 5) light dispatch: hover center -> 4 wires highlight in sequence (pure CSS) */
.a2a-hero-node.center:hover ~ .a2ahub-v22-links .a2ahub-v22-line-store .a2ahub-v22-wire {
  stroke: rgba(212, 175, 55, 0.9);
  transition: stroke 0.3s ease;
  transition-delay: 0s;
}
.a2a-hero-node.center:hover ~ .a2ahub-v22-links .a2ahub-v22-line-voice .a2ahub-v22-wire {
  stroke: rgba(212, 175, 55, 0.9);
  transition: stroke 0.3s ease;
  transition-delay: 0.3s;
}
.a2a-hero-node.center:hover ~ .a2ahub-v22-links .a2ahub-v22-line-skill .a2ahub-v22-wire {
  stroke: rgba(212, 175, 55, 0.9);
  transition: stroke 0.3s ease;
  transition-delay: 0.6s;
}
.a2a-hero-node.center:hover ~ .a2ahub-v22-links .a2ahub-v22-line-pay .a2ahub-v22-wire {
  stroke: rgba(212, 175, 55, 0.9);
  transition: stroke 0.3s ease;
  transition-delay: 0.9s;
}
/* mouse leave -> instant fallback (cancel highlight) */
.a2ahub-v22-line .a2ahub-v22-wire {
  transition: stroke 0.2s ease;
}
/* ===== /a2ahub-v22- ===== */

/* ===== L1 2026-08-19: 实体门店改版新增板块样式 ===== */

/* 通用容器 */
.a2a-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 下拉菜单 */
.a2a-nav-dropdown { position: relative; }
.a2a-nav-trigger { cursor: pointer; }
.a2a-nav-arrow { font-size: 10px; opacity: 0.7; margin-left: 2px; }
.a2a-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #000000;
  border: 1px solid #D4AF37;
  border-radius: 8px;
  padding: 12px 0;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.a2a-nav-dropdown:hover .a2a-dropdown-menu { display: block; }
.a2a-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: #FFFFFF;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}
.a2a-dropdown-menu a:hover { background: rgba(212, 175, 55, 0.15); }
.a2a-dropdown-section {
  padding: 8px 18px 4px;
  color: #e8c547;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.a2a-dropdown-divider { height: 1px; background: rgba(212, 175, 55, 0.2); margin: 8px 0; }
.a2a-ico { font-size: 16px; }

/* 首屏文字链接 */
.a2a-btn-text {
  display: inline-block;
  margin-left: 16px;
  color: #e8c547;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid #D4AF37;
  padding: 4px 0;
  transition: opacity 0.2s;
}
.a2a-btn-text:hover { opacity: 0.8; }

/* 板块 A: 实体门店 A2A 场景 */
.a2a-scenario-new {
  background: #000000;
  padding: 80px 0;
  border-top: 1px solid #D4AF37;
  border-bottom: 1px solid #D4AF37;
}
.a2a-h2 {
  color: #e8c547;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin: 0 0 12px;
  font-weight: 700;
}
.a2a-sub {
  color: #FFFFFF;
  text-align: center;
  font-size: 16px;
  margin: 0 0 48px;
  opacity: 0.85;
}
.a2a-6cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.a2a-6card {
  background: #000000;
  border: 1px solid #D4AF37;
  border-radius: 12px;
  padding: 28px 24px;
  transition: transform 0.2s;
}
.a2a-6card:hover { transform: translateY(-4px); }
.a2a-6card-ico { font-size: 36px; margin-bottom: 12px; }
.a2a-6card h3 { color: #e8c547; font-size: 18px; margin: 0 0 12px; }
.a2a-6card p { color: #FFFFFF; font-size: 14px; line-height: 1.7; margin: 0 0 16px; opacity: 0.9; }
.a2a-link-arrow { color: #e8c547; text-decoration: none; font-size: 14px; font-weight: 600; }
.a2a-link-arrow:hover { text-decoration: underline; }

/* 板块 B: 99 数字员工 */
.a2a-99matrix { background: #000000; padding: 80px 0; }
.a2a-matrix-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.a2a-matrix-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: #000000;
  border: 1px solid #D4AF37;
  border-radius: 12px;
  padding: 24px;
}
.a2a-flow-step {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 6px;
  padding: 8px 12px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
}
.a2a-flow-arrow { color: #e8c547; font-size: 16px; font-weight: 700; }
.a2a-flow-ico { font-size: 16px; }
.a2a-matrix-list { background: #000000; border: 1px solid #D4AF37; border-radius: 12px; padding: 28px 24px; }
.a2a-h3 { color: #e8c547; font-size: 20px; margin: 0 0 18px; }
.a2a-role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.a2a-role {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  padding: 10px 12px;
  color: #FFFFFF;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.a2a-role-ico { font-size: 16px; }
.a2a-role-more { color: #FFFFFF; font-size: 13px; text-align: center; margin: 0 0 16px; opacity: 0.85; }
.a2a-role-more strong { color: #e8c547; font-size: 18px; }

/* 板块 C: 帮扶服务 */
.a2a-assist { background: #000000; padding: 80px 0; border-top: 1px solid #D4AF37; }
.a2a-assist-3cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.a2a-assist-card {
  background: #000000;
  border: 1px solid #D4AF37;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}
.a2a-assist-ico { font-size: 48px; margin-bottom: 16px; }
.a2a-assist-card h3 { color: #e8c547; font-size: 20px; margin: 0 0 14px; }
.a2a-assist-card p { color: #FFFFFF; font-size: 14px; line-height: 1.7; margin: 0; opacity: 0.9; }
.a2a-assist-cta { text-align: center; }

/* 板块 D: OPC 工具包 */
.a2a-opc-toolkit { background: #000000; padding: 80px 0; border-top: 1px solid #D4AF37; }
.a2a-opc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.a2a-opc-left { background: #000000; border: 1px solid #D4AF37; border-radius: 12px; padding: 32px 28px; }
.a2a-check-list { list-style: none; padding: 0; margin: 0; }
.a2a-check-list li { color: #FFFFFF; font-size: 15px; padding: 10px 0; border-bottom: 1px solid rgba(212, 175, 55, 0.15); }
.a2a-check-list li:last-child { border-bottom: none; }
.a2a-opc-right { background: #000000; border: 1px solid #D4AF37; border-radius: 12px; padding: 32px 28px; }
.a2a-opc-right .a2a-btn { margin-top: 20px; width: 100%; text-align: center; display: block; }
.a2a-opc-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.a2a-opc-stat:last-of-type { border-bottom: none; }
.a2a-opc-stat-num { color: #e8c547; font-size: 24px; font-weight: 800; min-width: 80px; }
.a2a-opc-stat-label { color: #FFFFFF; font-size: 14px; }

/* 移动端适配 */
@media (max-width: 768px) {
  .a2a-6cards { grid-template-columns: 1fr; }
  .a2a-matrix-wrap { grid-template-columns: 1fr; }
  .a2a-assist-3cards { grid-template-columns: 1fr; }
  .a2a-opc-wrap { grid-template-columns: 1fr; }
  .a2a-role-grid { grid-template-columns: 1fr 1fr; }
  .a2a-dropdown-menu { position: static; min-width: 100%; }
  .a2a-nav-dropdown { width: 100%; }
  .a2a-btn-text { display: block; margin: 12px 0 0 0; }
  .a2a-matrix-flow { flex-direction: column; align-items: stretch; }
  .a2a-flow-arrow { transform: rotate(90deg); align-self: center; }
  .a2a-container { padding: 0 16px; }
  .a2a-scenario-new, .a2a-99matrix, .a2a-assist, .a2a-opc-toolkit { padding: 48px 0; }
}


/* ===== L1 2026-08-19 17:13: 所有宫格板块金色边框强制 ===== */
.a2a-card, .a2a-protocol-card, .a2a-6card, .a2a-3card, .a2a-matrix-list, .a2a-role,
.a2a-assist-card, .a2a-opc-stat, .a2a-opc-left, .a2a-opc-right,
.a2a-check-list li, .a2a-flow-step, .a2a-role-grid > *,
.a2a-dropdown-menu, .a2a-nav-cta, .a2a-btn, [class*="card"], [class*="Card"] {
  border: 1px solid #D4AF37 !important;
}


/* ===== L1 2026-08-19 17:13: DUN 银色盾牌 logo 限宽 ===== */
.a2a-logo-img { max-height: 93px !important; max-width: 331px !important; width: auto !important; height: auto !important; }
.a2a-logo { display: flex !important; align-items: center !important; gap: 0 !important; }

/* ===== 2026-08-19: SDK/Frameworks 宫格集中布局 ===== */
.a2a-sdk-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.a2a-sdk-category {
  margin-bottom: 40px;
}
.a2a-sdk-category h3 {
  font-size: 18px;
  color: #e8c547;
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #D4AF37;
  font-weight: 700;
}
.a2a-sdk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.a2a-sdk-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.a2a-framework-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.a2a-sdk-card {
  background: #000000;
  border: 1px solid #D4AF37;
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  transition: border-color 0.3s, transform 0.2s;
}
.a2a-sdk-card:hover {
  border-color: #D4AF37;
  transform: translateY(-3px);
}
.a2a-sdk-card .a2a-sdk-name {
  font-size: 15px;
  font-weight: 700;
  color: #e8c547;
  display: block;
}
.a2a-sdk-card .a2a-sdk-desc {
  font-size: 12px;
  color: #FFFFFF;
  margin-top: 5px;
  display: block;
}
.a2a-framework-card {
  background: #000000;
  border: 1px solid #D4AF37;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  font-size: 13px;
  color: #FFFFFF;
  font-weight: 600;
  transition: border-color 0.3s, transform 0.2s;
}
.a2a-framework-card:hover {
  border-color: #D4AF37;
  transform: translateY(-3px);
}

/* 隐藏旧的 dev-category 样式，避免冲突 */
.a2a-dev-category { display: none; }

/* ===== 2026-08-19: 导航 & 卡片字体放大 1/3 ===== */

/* 导航字体 */
.a2a-nav-links a {
  font-size: 17px !important;
  padding: 10px 16px !important;
}
.a2a-nav-cta {
  font-size: 17px !important;
  padding: 8px 22px !important;
}
.a2a-lang-toggle {
  font-size: 16px !important;
}
.a2a-nav-arrow {
  font-size: 13px !important;
}

/* 导航下拉菜单字体 */
.a2a-dropdown-menu a {
  font-size: 15px !important;
}
.a2a-dropdown-section {
  font-size: 13px !important;
}

/* 大标题字体（h2/标题）放大 1/3 */
.a2a-section-title {
  font-size: 48px !important;
}
.a2a-h2 {
  font-size: clamp(2.4rem, 5.3vw, 3.5rem) !important;
}
h2.a2a-section-title {
  font-size: 48px !important;
}

/* SDK/框架卡片字体 */
.a2a-sdk-card .a2a-sdk-name {
  font-size: 20px !important;
}
.a2a-sdk-card .a2a-sdk-desc {
  font-size: 16px !important;
}
.a2a-framework-card {
  font-size: 17px !important;
  padding: 20px 16px !important;
}
.a2a-sdk-category h3 {
  font-size: 24px !important;
}

/* 模块卡片字体 */
.a2a-module-card h3 {
  font-size: 22px !important;
}
.a2a-module-card p {
  font-size: 18px !important;
}

/* 案例卡片字体 */
.a2a-case-body h4 {
  font-size: 21px !important;
}
.a2a-case-body p {
  font-size: 18px !important;
}
.a2a-case-preview {
  font-size: 58px !important;
}

/* FAQ 字体 */
.a2a-faq-q {
  font-size: 20px !important;
}
.a2a-faq-a {
  font-size: 18px !important;
}
.a2a-faq-a p {
  font-size: 18px !important;
}

/* 信任栏字体 */
.a2a-trust-number {
  font-size: 53px !important;
}
.a2a-trust-label {
  font-size: 18px !important;
}

/* 技术规格字体 */
.a2a-techspec-card h4 {
  font-size: 21px !important;
}
.a2a-techspec-card p {
  font-size: 17px !important;
}
.a2a-techspec-num {
  font-size: 15px !important;
}

/* 开发者资源字体 */
.a2a-dev-resource-info h4 {
  font-size: 21px !important;
}
.a2a-dev-resource-info p {
  font-size: 16px !important;
}

/* 数字员工岗位字体 */
.a2a-role {
  font-size: 18px !important;
}
.a2a-flow-step {
  font-size: 17px !important;
}

/* 6宫格场景字体 */
.a2a-6card h3 {
  font-size: 24px !important;
}
.a2a-6card p {
  font-size: 18px !important;
}

/* 帮扶服务卡片字体 */
.a2a-assist-card h3 {
  font-size: 24px !important;
}
.a2a-assist-card p {
  font-size: 18px !important;
}

/* OPC工具包字体 */
.a2a-check-list li {
  font-size: 18px !important;
}
.a2a-opc-stat-num {
  font-size: 32px !important;
}
.a2a-opc-stat-label {
  font-size: 18px !important;
}

/* 价格卡片字体 */
.a2a-pricing-card h4 {
  font-size: 24px !important;
}
.a2a-pricing-features li {
  font-size: 18px !important;
}

/* 合作机构字体 */
.a2a-partner-item {
  font-size: 18px !important;
}

/* 导航 LOGO 人像 */
.a2a-logo-face {
  height: 76px !important;
  width: auto !important;
  vertical-align: middle !important;
  margin-right: 10px !important;
}
.a2a-logo-text {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  font-family: "Outfit", "PingFang SC", sans-serif !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
}


/* ============================================================
   Light Theme Override (2026-08-20): 大字金色 / 小字黑色 / 纯白底
   只影响 [data-theme="light"] 与 .light-theme，dark theme 不动
   ============================================================ */

/* 大字 = 金色 (大标题 / 卡片标题) */
html[data-theme="light"] .a2a-section-title,
html.light-theme .a2a-section-title,
html[data-theme="light"] .a2a-hero-title,
html.light-theme .a2a-hero-title,
html[data-theme="light"] .a2a-card h3,
html.light-theme .a2a-card h3,
html[data-theme="light"] .a2a-protocol-card h3,
html.light-theme .a2a-protocol-card h3 {
  color: #c9a227 !important;
}

/* 小字 = 黑色 (段落 / 副标题 / 描述) */
html[data-theme="light"] .a2a-section-desc,
html.light-theme .a2a-section-desc,
html[data-theme="light"] .a2a-section-subtitle,
html.light-theme .a2a-section-subtitle,
html[data-theme="light"] .a2a-hero-subtitle,
html.light-theme .a2a-hero-subtitle,
html[data-theme="light"] .a2a-section-label,
html.light-theme .a2a-section-label,
html[data-theme="light"] .a2a-card p,
html.light-theme .a2a-card p,
html[data-theme="light"] .a2a-protocol-card p,
html.light-theme .a2a-protocol-card p {
  color: #1A1A1A !important;
}

/* 卡片背景纯白 + 金色边 */
html[data-theme="light"] .a2a-card,
html.light-theme .a2a-card,
html[data-theme="light"] .a2a-protocol-card,
html.light-theme .a2a-protocol-card {
  background: #FFFFFF !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
}

/* ============================================================
   Light Theme: 通通白色 (2026-08-20)
   所有 hardcoded 黑底 section / container 在 light theme 下强制 #FFFFFF
   Dark theme 完全不动
   ============================================================ */

/* 全局根容器 */
html[data-theme="light"],
html.light-theme {
  background: #FFFFFF !important;
}
html[data-theme="light"] .a2a-root,
html.light-theme .a2a-root {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
}

/* Nav 顶部导航 — 浅色版本用白底 + 金边 */
html[data-theme="light"] .a2a-nav,
html.light-theme .a2a-nav {
  background: rgba(255,255,255,0.95) !important;
  border-bottom: 1px solid rgba(212,175,55,0.4) !important;
}
html[data-theme="light"] .a2a-nav a,
html.light-theme .a2a-nav a,
html[data-theme="light"] .a2a-logo,
html.light-theme .a2a-logo {
  color: #1A1A1A !important;
}

/* 所有 hardcoded 黑底 section — 浅色下强制白底 */
html[data-theme="light"] .a2a-scenario-new,
html.light-theme .a2a-scenario-new,
html[data-theme="light"] .a2a-6card,
html.light-theme .a2a-6card,
html[data-theme="light"] .a2a-99matrix,
html.light-theme .a2a-99matrix,
html[data-theme="light"] .a2a-matrix-list,
html.light-theme .a2a-matrix-list,
html[data-theme="light"] .a2a-matrix-flow > *,
html.light-theme .a2a-matrix-flow > *,
html[data-theme="light"] .a2a-assist,
html.light-theme .a2a-assist,
html[data-theme="light"] .a2a-assist-card,
html.light-theme .a2a-assist-card,
html[data-theme="light"] .a2a-opc-toolkit,
html.light-theme .a2a-opc-toolkit,
html[data-theme="light"] .a2a-opc-left,
html.light-theme .a2a-opc-left,
html[data-theme="light"] .a2a-opc-right,
html.light-theme .a2a-opc-right,
html[data-theme="light"] .a2a-sdk-card,
html.light-theme .a2a-sdk-card,
html[data-theme="light"] .a2a-framework-card,
html.light-theme .a2a-framework-card {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
}

/* 内部文字 — 全部黑字 */
html[data-theme="light"] .a2a-99matrix *,
html.light-theme .a2a-99matrix *,
html[data-theme="light"] .a2a-assist *,
html.light-theme .a2a-assist *,
html[data-theme="light"] .a2a-opc-toolkit *,
html.light-theme .a2a-opc-toolkit *,
html[data-theme="light"] .a2a-scenario-new *,
html.light-theme .a2a-scenario-new * {
  color: #1A1A1A !important;
}

/* 标题金色保留 */
html[data-theme="light"] .a2a-99matrix h2,
html.light-theme .a2a-99matrix h2,
html[data-theme="light"] .a2a-assist h2,
html.light-theme .a2a-assist h2,
html[data-theme="light"] .a2a-opc-toolkit h2,
html.light-theme .a2a-opc-toolkit h2,
html[data-theme="light"] .a2a-scenario-new h2,
html.light-theme .a2a-scenario-new h2,
html[data-theme="light"] .a2a-role,
html.light-theme .a2a-role,
html[data-theme="light"] .a2a-flow-step,
html.light-theme .a2a-flow-step {
  color: #c9a227 !important;
}

/* ============================================================
   Light Theme: 全网白色终极覆盖 (2026-08-20)
   凡是 dark theme 下用了 #000000 / rgba(13,21,37,*) / 深色的
   section / card / container, light theme 下全部强制白底 + 黑字
   标题 h1-h3 / a2a-h2 / a2a-h3 / a2a-role / a2a-flow-step 保留金色
   Dark theme 一行没动
   ============================================================ */

/* ===== Sections (黑底 #000000) ===== */
html[data-theme="light"] .a2a-scenario-new,
html.light-theme .a2a-scenario-new,
html[data-theme="light"] .a2a-99matrix,
html.light-theme .a2a-99matrix,
html[data-theme="light"] .a2a-assist,
html.light-theme .a2a-assist,
html[data-theme="light"] .a2a-opc-toolkit,
html.light-theme .a2a-opc-toolkit,
html[data-theme="light"] .a2a-matrix-list,
html.light-theme .a2a-matrix-list,
html[data-theme="light"] .a2a-matrix-flow,
html.light-theme .a2a-matrix-flow {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
}

/* ===== 6 大核心模块 / 3 步骤 / 场景卡 (黑底 #000000) ===== */
html[data-theme="light"] .a2a-6card,
html.light-theme .a2a-6card,
html[data-theme="light"] .a2a-3card,
html.light-theme .a2a-3card,
html[data-theme="light"] .a2a-scenario-card,
html.light-theme .a2a-scenario-card {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
  border: 1px solid rgba(212,175,55,0.3) !important;
}

/* ===== 协议层 / 模块卡 / 步骤 / 案例 (rgba(13,21,37) 深色) ===== */
html[data-theme="light"] .a2a-protocol-layer,
html.light-theme .a2a-protocol-layer,
html[data-theme="light"] .a2a-module-card,
html.light-theme .a2a-module-card,
html[data-theme="light"] .a2a-step,
html.light-theme .a2a-step,
html[data-theme="light"] .a2a-case-card,
html.light-theme .a2a-case-card,
html[data-theme="light"] .a2a-dev-diagram,
html.light-theme .a2a-dev-diagram,
html[data-theme="light"] .a2a-dev-resource,
html.light-theme .a2a-dev-resource,
html[data-theme="light"] .a2a-dev-layer,
html.light-theme .a2a-dev-layer,
html[data-theme="light"] .a2a-faq-item,
html.light-theme .a2a-faq-item,
html[data-theme="light"] .a2a-assist-card,
html.light-theme .a2a-assist-card,
html[data-theme="light"] .a2a-sdk-card,
html.light-theme .a2a-sdk-card,
html[data-theme="light"] .a2a-framework-card,
html.light-theme .a2a-framework-card,
html[data-theme="light"] .a2a-opc-stat,
html.light-theme .a2a-opc-stat,
html[data-theme="light"] .a2a-opc-left,
html.light-theme .a2a-opc-left,
html[data-theme="light"] .a2a-opc-right,
html.light-theme .a2a-opc-right {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
  border: 1px solid rgba(212,175,55,0.3) !important;
}

/* ===== 内部角色 / 流程步骤 / 滚动顶 ===== */
html[data-theme="light"] .a2a-role,
html.light-theme .a2a-role,
html[data-theme="light"] .a2a-flow-step,
html.light-theme .a2a-flow-step,
html[data-theme="light"] .a2a-check-list li,
html.light-theme .a2a-check-list li {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
  border: 1px solid rgba(212,175,55,0.3) !important;
}

html[data-theme="light"] .a2a-flow-arrow,
html.light-theme .a2a-flow-arrow {
  color: #c9a227 !important;
}

/* ===== Nav 下拉菜单 (黑底 #000000) ===== */
html[data-theme="light"] .a2a-dropdown-menu,
html.light-theme .a2a-dropdown-menu {
  background: #FFFFFF !important;
  border: 1px solid rgba(212,175,55,0.4) !important;
}
html[data-theme="light"] .a2a-dropdown-menu a,
html.light-theme .a2a-dropdown-menu a {
  color: #1A1A1A !important;
}
html[data-theme="light"] .a2a-dropdown-menu a:hover,
html.light-theme .a2a-dropdown-menu a:hover {
  background: rgba(212,175,55,0.1) !important;
}

/* ===== Hero node (rgba(13,21,37)) ===== */
html[data-theme="light"] .a2a-hero-node,
html.light-theme .a2a-hero-node {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
  border: 1px solid rgba(212,175,55,0.4) !important;
}

/* ===== Protocol tag / protocol layer icon (rgba 浅色) ===== */
html[data-theme="light"] .a2a-protocol-tag,
html.light-theme .a2a-protocol-tag,
html[data-theme="light"] .a2a-protocol-layer-icon,
html.light-theme .a2a-protocol-layer-icon {
  background: rgba(212,175,55,0.08) !important;
  color: #1A1A1A !important;
  border: 1px solid rgba(212,175,55,0.3) !important;
}

/* ===== Hero badge (rgba(74,144,226) 蓝) ===== */
html[data-theme="light"] .a2a-hero-badge,
html.light-theme .a2a-hero-badge {
  background: rgba(212,175,55,0.1) !important;
  color: #1A1A1A !important;
}

/* ===== Scroll top button ===== */
html[data-theme="light"] .a2a-scroll-top,
html.light-theme .a2a-scroll-top {
  background: #D4AF37 !important;
  color: #000000 !important;
}

/* ===== Force 全文字：light theme 下不是金色的全变黑 ===== */
html[data-theme="light"] .a2a-section p,
html.light-theme .a2a-section p,
html[data-theme="light"] .a2a-sub,
html.light-theme .a2a-sub,
html[data-theme="light"] .a2a-role-more,
html.light-theme .a2a-role-more,
html[data-theme="light"] .a2a-section-inner,
html.light-theme .a2a-section-inner,
html[data-theme="light"] .a2a-99matrix p,
html.light-theme .a2a-99matrix p,
html[data-theme="light"] .a2a-99matrix div,
html.light-theme .a2a-99matrix div,
html[data-theme="light"] .a2a-99matrix li,
html.light-theme .a2a-99matrix li,
html[data-theme="light"] .a2a-assist p,
html.light-theme .a2a-assist p,
html[data-theme="light"] .a2a-assist div,
html.light-theme .a2a-assist div,
html[data-theme="light"] .a2a-opc-toolkit p,
html.light-theme .a2a-opc-toolkit p,
html[data-theme="light"] .a2a-opc-toolkit div,
html.light-theme .a2a-opc-toolkit div,
html[data-theme="light"] .a2a-protocol-layer p,
html.light-theme .a2a-protocol-layer p,
html[data-theme="light"] .a2a-protocol-layer div,
html.light-theme .a2a-protocol-layer div {
  color: #1A1A1A !important;
}

/* ===== 标题金色 (再次确认) ===== */
html[data-theme="light"] h1, html.light-theme h1,
html[data-theme="light"] h2, html.light-theme h2,
html[data-theme="light"] h3, html.light-theme h3,
html[data-theme="light"] .a2a-h2, html.light-theme .a2a-h2,
html[data-theme="light"] .a2a-h3, html.light-theme .a2a-h3,
html[data-theme="light"] .a2a-section-title, html.light-theme .a2a-section-title,
html[data-theme="light"] .a2a-section-label, html.light-theme .a2a-section-label {
  color: #c9a227 !important;
}

/* ============================================================
   Light theme: .a2a-btn-primary 同步改成 深底+金边+白字 (2026-08-20)
   ============================================================ */
html[data-theme="light"] .a2a-btn-primary,
html.light-theme .a2a-btn-primary {
  background: #FFFFFF !important;
  color: #1A1A1A !important;
  border: 1px solid #D4AF37 !important;
}
html[data-theme="light"] .a2a-btn-primary:hover,
html.light-theme .a2a-btn-primary:hover {
  background: rgba(212,175,55,0.15) !important;
  color: #c9a227 !important;
  border-color: #D4AF37 !important;
}

/* ============================================================
   Light Theme: 底部 inline-style 元素全部可见 (2026-08-20)
   凡是 dark theme 用了 inline color: rgba(255,255,255,*) 浅白的,
   light theme 下强制黑色 (link 保持金色)
   ============================================================ */

/* 通用：把任何元素里的 inline 浅白色文字改成黑色 */
html[data-theme="light"] #a2a-footer,
html.light-theme #a2a-footer {
  color: #1A1A1A !important;
}
html[data-theme="light"] #a2a-footer *,
html.light-theme #a2a-footer * {
  color: #1A1A1A !important;
}

/* footer-bottom 版权/信用代码/地址/ICP 行 */
html[data-theme="light"] .a2a-footer-bottom,
html.light-theme .a2a-footer-bottom,
html[data-theme="light"] .a2a-footer-bottom *,
html.light-theme .a2a-footer-bottom * {
  color: #1A1A1A !important;
}
html[data-theme="light"] .a2a-footer-bottom [style*="color:rgba(255,255,255,0.82)"],
html.light-theme .a2a-footer-bottom [style*="color:rgba(255,255,255,0.82)"],
html[data-theme="light"] .a2a-footer-bottom [style*="color: rgba(255,255,255,0.82)"],
html.light-theme .a2a-footer-bottom [style*="color: rgba(255,255,255,0.82)"] {
  color: #1A1A1A !important;
}
html[data-theme="light"] .a2a-footer-bottom [style*="color:#c9a227"],
html.light-theme .a2a-footer-bottom [style*="color:#c9a227"] {
  color: #c9a227 !important;
}

/* 集团旗下矩阵 */
html[data-theme="light"] .a2a-footer-matrix,
html.light-theme .a2a-footer-matrix,
html[data-theme="light"] .a2a-footer-matrix *,
html.light-theme .a2a-footer-matrix * {
  color: #1A1A1A !important;
}
html[data-theme="light"] .a2a-footer-matrix a[style*="color:#c9a227"],
html.light-theme .a2a-footer-matrix a[style*="color:#c9a227"] {
  color: #c9a227 !important;
}

/* a2ahub.com.cn 域名备案号 */
html[data-theme="light"] .a2a-footer-domain-icp,
html.light-theme .a2a-footer-domain-icp,
html[data-theme="light"] .a2a-footer-domain-icp *,
html.light-theme .a2a-footer-domain-icp * {
  color: #1A1A1A !important;
}
html[data-theme="light"] .a2a-footer-domain-icp a,
html.light-theme .a2a-footer-domain-icp a {
  color: #1A1A1A !important;
  text-decoration: underline !important;
}
html[data-theme="light"] .a2a-footer-domain-icp a:hover,
html.light-theme .a2a-footer-domain-icp a:hover {
  color: #c9a227 !important;
}

/* ICP 备案链接 */
html[data-theme="light"] .a2a-footer-bottom a[href*="beian.miit"],
html.light-theme .a2a-footer-bottom a[href*="beian.miit"] {
  color: #1A1A1A !important;
  text-decoration: underline !important;
}
html[data-theme="light"] .a2a-footer-bottom a[href*="beian.miit"]:hover,
html.light-theme .a2a-footer-bottom a[href*="beian.miit"]:hover {
  color: #c9a227 !important;
}

/* 联系电话框 (border 金色 + 内部金色) — light theme 下保留金色 + 金底 + 黑字 */
html[data-theme="light"] .a2a-footer-bottom span[style*="border:1px solid rgba(212,175,55,0.3)"],
html.light-theme .a2a-footer-bottom span[style*="border:1px solid rgba(212,175,55,0.3)"] {
  color: #c0a02e !important;
  background: #FFFFFF !important;
  border-color: #D4AF37 !important;
}
html[data-theme="light"] .a2a-footer-bottom span[style*="border:1px solid rgba(212,175,55,0.3)"] span,
html.light-theme .a2a-footer-bottom span[style*="border:1px solid rgba(212,175,55,0.3)"] span {
  color: #c0a02e !important;
}

/* 5 列 footer 链接：保持黑色 + 金色 hover */
html[data-theme="light"] .a2a-footer-col h4,
html.light-theme .a2a-footer-col h4 {
  color: #c9a227 !important;
}
html[data-theme="light"] .a2a-footer-col a,
html.light-theme .a2a-footer-col a {
  color: #1A1A1A !important;
}
html[data-theme="light"] .a2a-footer-col a:hover,
html.light-theme .a2a-footer-col a:hover {
  color: #c9a227 !important;
}

/* Footer 整体分界线 */
html[data-theme="light"] .a2a-footer-matrix,
html.light-theme .a2a-footer-matrix {
  border-top: 1px solid rgba(212,175,55,0.3) !important;
}

/* ============================================================
   2026-08-20: 强制隐藏 CTA 区域 4 个标签（生态伙伴/屏墩墩/墩墩联盟/A2A Protocol）
   避开 istio HTML 缓存, 不管 HTML 是否有 display:none, CSS 都强制隐藏
   ============================================================ */
.a2a-footer-cta .a2a-partners,
.a2a-footer-cta div.a2a-partners,
.a2a-section-inner .a2a-partners {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* ============================================================
   Light Theme: Hero 主标题改成黑色 (2026-08-20)
   其他 section 标题保持金色
   ============================================================ */
html[data-theme="light"] .a2a-hero-title,
html.light-theme .a2a-hero-title,
html[data-theme="light"] .a2a-hero-title *,
html.light-theme .a2a-hero-title *,
html[data-theme="light"] .a2a-hero-title .gold,
html.light-theme .a2a-hero-title .gold,
html[data-theme="light"] .a2a-hero-title .gold *,
html.light-theme .a2a-hero-title .gold *,
html[data-theme="light"] .a2a-hero-line2,
html.light-theme .a2a-hero-line2 {
  color: #1A1A1A !important;
  -webkit-text-fill-color: #1A1A1A !important;
  background: none !important;
  -webkit-background-clip: initial !important;
}

/* === PDD-A2A-MOBILE-003: 移动端导航栏修正（覆盖上方order布局）=== */
@media (max-width: 900px) {
 html body .a2a-mobile-lang {
 order: 2 !important;
 display: flex !important;
 align-items: center !important;
 gap: 4px !important;
 margin-left: 8px !important;
 flex-shrink: 0 !important;
 }
 html body .a2a-ml-btn {
 height: 26px !important;
 min-width: 32px !important;
 padding: 0 6px !important;
 border-radius: 6px !important;
 font-size: 11px !important;
 font-weight: 600 !important;
 display: inline-flex !important;
 align-items: center !important;
 justify-content: center !important;
 text-decoration: none !important;
 border: 1px solid rgba(255,255,255,0.2) !important;
 background: transparent !important;
 color: #BCC5D0 !important;
 cursor: pointer !important;
 }
 html body .a2a-ml-btn.active {
 background: #E6C26E !important;
 color: #0A1628 !important;
 border-color: #E6C26E !important;
 }
 html body .a2a-logo span {
 display: inline !important;
 font-size: 15px !important;
 font-weight: 700 !important;
 color: #f0d26b !important;
 }
 html body .a2a-nav-toggle {
 order: 3 !important;
 display: flex !important;
 margin-left: auto !important;
 flex-shrink: 0 !important;
 }
}

/* === PDD-A2A-MOBILE-003-FIX: 移动端导航栏修正（正确类名）=== */
@media (max-width: 900px) {
 html body .a2a-nav-inner {
 display: flex !important;
 align-items: center !important;
 padding: 0 12px !important;
 min-height: 56px !important;
 gap: 0 !important;
 }
 html body .a2a-nav-left {
 order: 1 !important;
 display: flex !important;
 align-items: center !important;
 gap: 8px !important;
 flex: 1 1 auto !important;
 min-width: 0 !important;
 }
 html body .a2a-logo {
 display: flex !important;
 align-items: center !important;
 gap: 6px !important;
 flex-shrink: 0 !important;
 }
 html body .a2a-logo-face {
 height: 30px !important;
 width: auto !important;
 }
 html body .a2a-logo-text {
 display: inline !important;
 font-size: 15px !important;
 font-weight: 700 !important;
 color: #f0d26b !important;
 white-space: nowrap !important;
 }
 html body .a2a-lang-group {
 order: 2 !important;
 display: flex !important;
 align-items: center !important;
 gap: 4px !important;
 margin-left: 8px !important;
 flex-shrink: 0 !important;
 }
 html body .a2a-lang-btn {
 height: 26px !important;
 min-width: 32px !important;
 padding: 0 6px !important;
 border-radius: 6px !important;
 font-size: 11px !important;
 font-weight: 600 !important;
 display: inline-flex !important;
 align-items: center !important;
 justify-content: center !important;
 text-decoration: none !important;
 border: 1px solid rgba(255,255,255,0.2) !important;
 background: transparent !important;
 color: #BCC5D0 !important;
 cursor: pointer !important;
 }
 html body .a2a-lang-btn.active {
 background: #E6C26E !important;
 color: #0A1628 !important;
 border-color: #E6C26E !important;
 }
 html body .a2a-nav-toggle {
 order: 3 !important;
 display: flex !important;
 margin-left: auto !important;
 flex-shrink: 0 !important;
 }
 html body .a2a-nav-links,
 html body .a2a-nav-right {
 display: none !important;
 }
}

/* === PDD-A2A-MOBILE-004: 移动端导航栏最终版（合并按钮+主题+跳转+汉堡）=== */
@media (max-width: 900px) {
 html body .a2a-nav-inner {
 display: flex !important;
 align-items: center !important;
 justify-content: space-between !important;
 padding: 0 12px !important;
 min-height: 56px !important;
 gap: 8px !important;
 }
 html body .a2a-nav-left {
 order: 1 !important;
 display: flex !important;
 align-items: center !important;
 gap: 8px !important;
 flex: 1 1 auto !important;
 min-width: 0 !important;
 }
 html body .a2a-logo {
 display: flex !important;
 align-items: center !important;
 gap: 6px !important;
 flex-shrink: 0 !important;
 }
 html body .a2a-logo-face {
 height: 30px !important;
 width: auto !important;
 }
 html body .a2a-logo-text {
 display: inline !important;
 font-size: 15px !important;
 font-weight: 700 !important;
 color: #f0d26b !important;
 white-space: nowrap !important;
 }
 html body .a2a-mobile-actions {
 order: 2 !important;
 display: flex !important;
 align-items: center !important;
 gap: 6px !important;
 margin-left: auto !important;
 flex-shrink: 0 !important;
 }
 html body .a2a-m-lang {
 height: 28px !important;
 min-width: 36px !important;
 padding: 0 8px !important;
 border-radius: 6px !important;
 font-size: 12px !important;
 font-weight: 700 !important;
 display: inline-flex !important;
 align-items: center !important;
 justify-content: center !important;
 text-decoration: none !important;
 border: 1px solid rgba(230,194,110,0.5) !important;
 background: rgba(230,194,110,0.1) !important;
 color: #f0d26b !important;
 cursor: pointer !important;
 }
 html body .a2a-m-theme {
 height: 28px !important;
 width: 28px !important;
 padding: 0 !important;
 border-radius: 6px !important;
 font-size: 14px !important;
 display: inline-flex !important;
 align-items: center !important;
 justify-content: center !important;
 border: 1px solid rgba(255,255,255,0.15) !important;
 background: rgba(255,255,255,0.05) !important;
 color: #BCC5D0 !important;
 cursor: pointer !important;
 }
 html body .a2a-m-cta {
 height: 28px !important;
 width: 28px !important;
 padding: 0 !important;
 border-radius: 6px !important;
 font-size: 18px !important;
 font-weight: 700 !important;
 display: inline-flex !important;
 align-items: center !important;
 justify-content: center !important;
 text-decoration: none !important;
 border: 1px solid #E6C26E !important;
 background: #E6C26E !important;
 color: #0A1628 !important;
 cursor: pointer !important;
 }
 html body .a2a-m-burger {
 order: 5 !important;
 display: flex !important;
 flex-direction: column !important;
 justify-content: center !important;
 align-items: center !important;
 gap: 4px !important;
 width: 32px !important;
 height: 28px !important;
 padding: 0 !important;
 border-radius: 6px !important;
 border: 1px solid rgba(255,255,255,0.15) !important;
 background: rgba(255,255,255,0.05) !important;
 cursor: pointer !important;
 margin-left: 0 !important;
 }
 html body .a2a-m-burger span {
 display: block !important;
 width: 16px !important;
 height: 2px !important;
 background: #E6C26E !important;
 border-radius: 1px !important;
 }
 html body .a2a-nav-links,
 html body .a2a-nav-right,
 html body .a2a-lang-group {
 display: none !important;
 }
}


/* === PDD-A2A-MOBILE-005: PC端隐藏移动端操作组 === */
@media (min-width: 901px) {
  html body .a2a-mobile-actions {
    display: none !important;
  }
}


/* === PDD-A2A-MOBILE-006: 移动端导航栏参考PC端模板风格 === */
@media (max-width: 900px) {
  html body .a2a-nav {
    background: #0A1628 !important;
    border-bottom: 1px solid rgba(230,194,110,0.15) !important;
  }
  html body .a2a-nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 14px !important;
    min-height: 58px !important;
    gap: 8px !important;
  }
  html body .a2a-nav-left {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  html body .a2a-logo {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
  }
  html body .a2a-logo-face {
    height: 32px !important;
    width: auto !important;
  }
  html body .a2a-logo-text {
    display: inline !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    white-space: nowrap !important;
    letter-spacing: 0.3px !important;
  }
  html body .a2a-mobile-actions {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }
  /* 中英文合并按钮 - 参考PC端EN按钮风格 */
  html body .a2a-m-lang {
    height: 32px !important;
    min-width: 42px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: rgba(255,255,255,0.08) !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
  }
  html body .a2a-m-lang:hover {
    background: rgba(255,255,255,0.15) !important;
  }
  /* 主题切换按钮 */
  html body .a2a-m-theme {
    height: 32px !important;
    width: 32px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: rgba(255,255,255,0.08) !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
  }
  html body .a2a-m-theme:hover {
    background: rgba(255,255,255,0.15) !important;
  }
  /* 跳转按钮 - 参考PC端注册智能体金色按钮风格 */
  html body .a2a-m-cta {
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: 1px solid #E6C26E !important;
    background: #E6C26E !important;
    color: #0A1628 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
  }
  html body .a2a-m-cta:hover {
    background: #f0d080 !important;
  }
  /* 汉堡菜单按钮 */
  html body .a2a-m-burger {
    order: 5 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    width: 36px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    background: rgba(255,255,255,0.08) !important;
    cursor: pointer !important;
    margin-left: 0 !important;
    transition: all 0.2s !important;
  }
  html body .a2a-m-burger:hover {
    background: rgba(255,255,255,0.15) !important;
  }
  html body .a2a-m-burger span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: #E6C26E !important;
    border-radius: 1px !important;
  }
  html body .a2a-nav-links,
  html body .a2a-nav-right,
  html body .a2a-lang-group {
    display: none !important;
  }
}


/* === PDD-A2A-MOBILE-007: 移动端导航栏最终版（合并语言按钮+汉堡）=== */
@media (max-width: 900px) {
  html body .a2a-nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 14px !important;
    min-height: 58px !important;
    gap: 10px !important;
  }
  html body .a2a-logo {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
  }
  html body .a2a-logo img {
    height: 32px !important;
    width: auto !important;
  }
  html body .a2a-logo span {
    display: inline !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    white-space: nowrap !important;
  }
  /* 合并语言按钮 - 参考PC端EN按钮风格 */
  html body .a2a-m-lang-single {
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    min-width: 44px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    background: rgba(255,255,255,0.08) !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    margin-left: auto !important;
    transition: all 0.2s !important;
  }
  html body .a2a-m-lang-single.active {
    background: rgba(255,255,255,0.15) !important;
  }
  /* 汉堡菜单按钮 - 确保显示 */
  html body .a2a-m-burger-single {
    order: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    width: 38px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    background: rgba(255,255,255,0.08) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: all 0.2s !important;
  }
  html body .a2a-m-burger-single span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: #E6C26E !important;
    border-radius: 1px !important;
  }
  /* 移动端隐藏PC端导航链接 */
  html body .a2a-nav-links {
    display: none !important;
  }
  html body .a2a-mobile-lang {
    display: none !important;
  }
}

/* PC端确保汉堡按钮隐藏 */
@media (min-width: 901px) {
  html body .a2a-m-lang-single,
  html body .a2a-m-burger-single {
    display: none !important;
  }
}


/* === PDD-A2A-MOBILE-008: 移动端导航栏最终修复（按钮左靠+主题+菜单）=== */
@media (max-width: 900px) {
  html body .a2a-nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 12px !important;
    min-height: 56px !important;
    gap: 8px !important;
  }
  html body .a2a-logo {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    margin-right: 4px !important;
  }
  html body .a2a-logo img {
    height: 28px !important;
    width: auto !important;
  }
  html body .a2a-logo span {
    display: inline !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    white-space: nowrap !important;
  }
  /* 语言切换按钮 - 左靠，紧跟logo */
  html body .a2a-m-lang-single {
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    min-width: 40px !important;
    padding: 0 12px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    background: rgba(255,255,255,0.1) !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }
  /* 主题切换按钮 */
  html body .a2a-m-theme-single {
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 30px !important;
    width: 30px !important;
    padding: 0 !important;
    border-radius: 7px !important;
    font-size: 14px !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    background: rgba(255,255,255,0.1) !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }
  /* 汉堡菜单按钮 */
  html body .a2a-m-burger-single {
    order: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3px !important;
    width: 34px !important;
    height: 30px !important;
    padding: 0 !important;
    border-radius: 7px !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    background: rgba(255,255,255,0.1) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }
  html body .a2a-m-burger-single span {
    display: block !important;
    width: 16px !important;
    height: 2px !important;
    background: #E6C26E !important;
    border-radius: 1px !important;
  }
  html body .a2a-nav-links {
    display: none !important;
  }
  html body .a2a-mobile-lang {
    display: none !important;
  }
}

/* 移动端汉堡菜单展开面板 */
.a2a-mobile-menu-panel {
  position: fixed !important;
  top: 0 !important;
  right: -100% !important;
  width: 75% !important;
  max-width: 300px !important;
  height: 100vh !important;
  background: #0A1628 !important;
  border-left: 1px solid rgba(230,194,110,0.2) !important;
  z-index: 9999 !important;
  transition: right 0.3s ease !important;
  overflow-y: auto !important;
}
.a2a-mobile-menu-panel.open {
  right: 0 !important;
}
.a2a-mmp-inner {
  padding: 60px 20px 30px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.a2a-mmp-inner a {
  display: block !important;
  padding: 14px 16px !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  font-size: 16px !important;
  border-radius: 8px !important;
  transition: background 0.2s !important;
}
.a2a-mmp-inner a:hover {
  background: rgba(230,194,110,0.15) !important;
}
.a2a-mmp-inner .a2a-mmp-cta {
  margin-top: 16px !important;
  background: #E6C26E !important;
  color: #0A1628 !important;
  text-align: center !important;
  font-weight: 700 !important;
}

/* PC端隐藏移动端按钮 */
@media (min-width: 901px) {
  html body .a2a-m-lang-single,
  html body .a2a-m-theme-single,
  html body .a2a-m-burger-single,
  html body .a2a-mobile-menu-panel {
    display: none !important;
  }
}


/* === PDD-A2A-MOBILE-009: 最终修复（logo放大+汉堡左靠+确保可见）=== */
@media (max-width: 900px) {
  html body .a2a-nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 10px !important;
    min-height: 58px !important;
    gap: 6px !important;
  }
  /* logo放大1/3：28px -> 38px */
  html body .a2a-logo {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
    margin-right: 2px !important;
  }
  html body .a2a-logo img {
    height: 38px !important;
    width: auto !important;
    max-height: 38px !important;
  }
  html body .a2a-logo span {
    display: inline !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    white-space: nowrap !important;
  }
  /* 语言切换按钮 - 确保可点击 */
  html body .a2a-m-lang-single {
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    min-width: 44px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    background: rgba(255,255,255,0.12) !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    margin-left: 4px !important;
    flex-shrink: 0 !important;
    z-index: 100 !important;
    position: relative !important;
  }
  html body .a2a-m-lang-single.active {
    background: rgba(230,194,110,0.25) !important;
    border-color: #E6C26E !important;
    color: #f0d26b !important;
  }
  /* 主题切换按钮 */
  html body .a2a-m-theme-single {
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    width: 32px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    background: rgba(255,255,255,0.12) !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    z-index: 100 !important;
    position: relative !important;
  }
  /* 汉堡按钮 - 左靠主题按钮，确保可见 */
  html body .a2a-m-burger-single {
    order: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    width: 36px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    background: rgba(255,255,255,0.12) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin-left: 0 !important;
    z-index: 100 !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  html body .a2a-m-burger-single span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: #E6C26E !important;
    border-radius: 2px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  html body .a2a-nav-links {
    display: none !important;
  }
  html body .a2a-mobile-lang {
    display: none !important;
  }
  html body .a2a-nav-right {
    display: none !important;
  }
}

/* PC端强制隐藏移动端按钮 */
@media (min-width: 901px) {
  html body .a2a-m-lang-single,
  html body .a2a-m-theme-single,
  html body .a2a-m-burger-single,
  html body .a2a-mobile-menu-panel {
    display: none !important;
    visibility: hidden !important;
  }
}


/* === PDD-A2A-MOBILE-010: 汉堡按钮垂直对齐修复 === */
@media (max-width: 900px) {
  html body .a2a-m-burger-single {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    align-self: center !important;
    gap: 3px !important;
    width: 36px !important;
    height: 32px !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
  }
  html body .a2a-m-burger-single span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: #E6C26E !important;
    border-radius: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }
  /* 确保所有按钮在同一行垂直居中 */
  html body .a2a-m-lang-single,
  html body .a2a-m-theme-single,
  html body .a2a-m-burger-single {
    align-self: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
  }
}


/* === PDD-A2A-MOBILE-011: 最终强制对齐（汉堡按钮上提）=== */
@media (max-width: 900px) {
  html body .a2a-nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 10px !important;
    min-height: 58px !important;
    gap: 6px !important;
  }
  html body .a2a-logo {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }
  html body .a2a-logo img {
    height: 38px !important;
    width: auto !important;
  }
  html body .a2a-logo span {
    display: inline !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
  }
  html body .a2a-m-lang-single {
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    min-width: 44px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    background: rgba(255,255,255,0.12) !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    margin-left: 4px !important;
    flex-shrink: 0 !important;
    z-index: 100 !important;
    position: relative !important;
    align-self: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
  }
  html body .a2a-m-lang-single.active {
    background: rgba(230,194,110,0.25) !important;
    border-color: #E6C26E !important;
    color: #f0d26b !important;
  }
  html body .a2a-m-theme-single {
    order: 3 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    width: 32px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    background: rgba(255,255,255,0.12) !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    z-index: 100 !important;
    position: relative !important;
    align-self: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
  }
  html body .a2a-m-burger-single {
    order: 4 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3px !important;
    width: 36px !important;
    height: 32px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    background: rgba(255,255,255,0.12) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    z-index: 100 !important;
    position: relative !important;
    align-self: center !important;
    vertical-align: middle !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  html body .a2a-m-burger-single span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: #E6C26E !important;
    border-radius: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
  }
  html body .a2a-nav-links,
  html body .a2a-mobile-lang,
  html body .a2a-nav-right {
    display: none !important;
  }
}

@media (min-width: 901px) {
  html body .a2a-m-lang-single,
  html body .a2a-m-theme-single,
  html body .a2a-m-burger-single,
  html body .a2a-mobile-menu-panel {
    display: none !important;
    visibility: hidden !important;
  }
}

/* === PDD-A2A-MOBILE-012: 汉堡按钮垂直上提对齐 (2026-08-20) === */
@media (max-width: 900px) {
  /* 汉堡按钮 上移 + 垂直对齐 */
  html body .a2a-m-burger-single {
    align-self: center !important;
    position: relative !important;
    top: 0 !important;
    transform: translateY(0) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  /* EN/主题按钮 居中 */
  html body .a2a-m-lang-single,
  html body .a2a-m-theme-single {
    align-self: center !important;
  }
  /* 整体 nav-inner 居中 */
  html body .a2a-nav-inner {
    align-items: center !important;
  }
}



/* === PDD-A2A-MOBILE-015: PC 端主题切换按钮 (2026-08-21) === */
html body .a2a-theme-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 36px !important;
  height: 36px !important;
  padding: 6px 8px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 8px !important;
  color: #BCC5D0 !important;
  cursor: pointer !important;
  font-size: 16px !important;
  margin-right: 6px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  transition: all 0.3s ease !important;
}
html body .a2a-theme-toggle:hover {
  background: rgba(255,255,255,0.15) !important;
  border-color: #D4AF37 !important;
  color: #e8c547 !important;
}
/* 移动端隐藏（避免重复，移动端已有 a2a-m-theme-single） */
@media (max-width: 900px) {
  html body .a2a-theme-toggle {
    display: none !important;
  }
}
