/* Keep scene images clean: no decorative perimeter frame or raised shadow. */
body :is(
  .hero-visual, .chip-stage, .lab-hero-visual, .product-preview, .product-chip,
  .private-network, .conversation-map, .pipe-viz, .sim-stage,
  .arch-visual, .arch-scene, .d100-map, .d100-blueprint, .instruction-stream,
  .compute-scene, .d100-product-visual, .device-scene-figure, .software-map,
  .ti-parallel-map, .ti-phase-map, .constraint-map, .tw-map, .ws-scene,
  .eng-x100-figure
) {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Decorative rings and pseudo-frames also count as image borders. */
body .lab-hero-visual::before,
body .conversation-map::before {
  border: 0 !important;
  box-shadow: none !important;
}

/* Legacy bottom images are retired; only their replacement 3D scenes paint. */
body :is(.exv-diagram,.adv-scene,.adv-company-scene,.validation-art-fallback,.ws-fallback,.modern-chip-fallback,.modern-pipeline-fallback,.cs-depth-fallback),
body .device-scene-art > img { display:none !important; }
/* A running 3D scene and its SVG fallback must never paint together. */
:is(#chipStage, #archScene, #productChip).has-three > .modern-chip-fallback,
#pipeViz.has-three > .modern-pipeline-fallback,
.device-scene-art[data-renderer="three"] > img {
  display: none !important;
}

/* Global request: remove visible borders and shadows from every site element. */
body *,
body *::before,
body *::after {
  border-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Override late injected component styles as well as static page CSS. */
body :is(*, #image-frame-cleanup-specificity),
body :is(*, #image-frame-cleanup-specificity)::before,
body :is(*, #image-frame-cleanup-specificity)::after {
  border-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body .sm-circuit-corner { display: none !important; }
