/* R10 connector cutouts only. Load after sizing-r9.css.
   Give framed PNG/WebP images a definite two-dimensional containing block.
   Keep the port/photo dimensions, connector choice, sprite atlas, status colors,
   selected border, swipe hit area and parent motion/orientation unchanged.
   A failed/truncated image response still needs the separate delivery fix. */
.ev-station-reference-surface .ev-port-row .connector-visual > .connector-photo-frame,
.ev-start-swipe .ev-start-swipe-plug-art > .connector-photo-frame,
.ev-charge-stop .ev-charge-plug > .connector-photo-frame,
.ev-connect-screen .ev-connect-plug-art > .connector-photo-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.ev-station-reference-surface .ev-port-row .connector-visual > .connector-photo-frame > img,
.ev-start-swipe .ev-start-swipe-plug-art > .connector-photo-frame > img,
.ev-charge-stop .ev-charge-plug > .connector-photo-frame > img,
.ev-connect-screen .ev-connect-plug-art > .connector-photo-frame > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
  clip-path: none;
  -webkit-mask: none;
  mask: none;
}

/* The check remains above the image; it never becomes its clipping container. */
.ev-station-reference-surface .ev-port-row .ev-port-selected {
  z-index: 1;
  pointer-events: none;
}
