/* Light polish on top of original AIGatewayServer shell — never replace fullpage / WebGL */
html.aigs-polish #aigs-lang-switcher {
  top: 16px !important;
  right: 16px !important;
  z-index: 2147483000 !important;
}

/* Soft brand tint — keep original dark glass look */
html.aigs-polish.dark,
html.aigs-polish {
  --aigs-glow: rgba(31, 143, 110, 0.22);
}

/* Hero brand mark: official AIGatewayServer cutout, no plate */
html.aigs-polish img[alt="AIGatewayServer"],
html.aigs-polish img[src*="logo-hero"],
html.aigs-polish img[src*="logo-mark"],
html.aigs-polish img[src*="logo-white"] {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  mix-blend-mode: normal;
  object-fit: contain !important;
  /* wordmark already includes AIGatewayServer — give it room */
  height: clamp(7.5rem, 18vw, 11rem) !important;
  width: auto !important;
  max-width: min(92vw, 22rem) !important;
}

/* Routing diagram: Request node used to be 20% white stroke → looked "unloaded" */
html.aigs-polish #routing .landing-glass {
  background-image:
    radial-gradient(ellipse 70% 60% at 35% 45%, rgba(99, 102, 241, 0.12), transparent 62%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
  background-position: center, 0 0, 0 0;
}
html.aigs-polish #routing .landing-glass svg text {
  paint-order: stroke fill;
}

/* Footer dedicated mark next to brand name */
html.aigs-polish img.aigs-footer-mark {
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

