.card-gallery-controls { display:none; }
.card__media:has(.has-installed) > .card-gallery-controls {display:flex;position:absolute;inset:auto .3rem .3rem;justify-content:space-between;z-index:4;pointer-events:none;}
.card-gallery-controls button {display:grid;place-items:center;padding:0;width:4.4rem;height:4.4rem;background:transparent;border:0;color:#202622;cursor:pointer;pointer-events:auto;}
.card-gallery-controls button span {display:grid;place-items:center;width:2.75rem;height:2.75rem;border-radius:50%;background:rgba(255,255,251,.95);border:1px solid #b6b5aa;font:2.25rem/1 Georgia,serif;}
.card-gallery-controls button:focus-visible {outline:2px solid currentColor;outline-offset:-3px;}
@media(min-width:990px){
 .card-wrapper:has(.card-gallery-controls) .card-media-carousel.has-installed:not(:hover):not(:focus-visible):not([data-camera])>img:first-child {opacity:1;}
 .card-wrapper:has(.card-gallery-controls) .card-media-carousel.has-installed:not(:hover):not(:focus-visible):not([data-camera])>img:nth-child(2) {opacity:0;}
 .card-wrapper .card-media-carousel[data-camera="primary"]>img:first-child,
 .card-wrapper .card-media-carousel[data-camera="installed"]>img:nth-child(2) {opacity:1!important;}
 .card-wrapper .card-media-carousel[data-camera="primary"]>img:nth-child(2),
 .card-wrapper .card-media-carousel[data-camera="installed"]>img:first-child {opacity:0!important;}
}
