/* Keep manual navigation over the photograph and outside its enlarge button. */
.has-carousel-controls{position:relative}
.has-carousel-controls>.carousel-arrow{position:absolute;top:50%;z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:52px;padding:0;border:0;border-radius:4px;background:transparent;color:#fff;opacity:.55;transform:translateY(-50%);cursor:pointer;touch-action:manipulation;transition:opacity .15s,background-color .15s}
.carousel-arrow-previous{left:4px}
.carousel-arrow-next{right:4px}
.carousel-arrow>span{display:block;width:11px;height:11px;border-top:2px solid currentColor;border-right:2px solid currentColor;filter:drop-shadow(0 1px 2px #152b43);pointer-events:none}
.carousel-arrow-previous>span{transform:rotate(-135deg)}
.carousel-arrow-next>span{transform:rotate(45deg)}
.has-carousel-controls>.carousel-arrow:hover{opacity:1;background:#14273b24}
.has-carousel-controls>.carousel-arrow:focus-visible{opacity:1;background:#14273b59;outline:2px solid #fff;outline-offset:-4px;box-shadow:inset 0 0 0 2px #285d89}

/* The second Baro image keeps its existing phone-sized footprint. */
.compact-phone-pair>.carousel-control-shell{width:32%;flex:none;min-width:0}
.compact-phone-pair .carousel-control-shell>.compact-baro-secondary{width:100%}
.carousel-control-shell>.carousel-arrow{width:44px;height:44px}
.carousel-control-shell>.carousel-arrow-previous{left:0}
.carousel-control-shell>.carousel-arrow-next{right:0}

/* Anchor Hinasaki's enlarge label to the image instead of the project section. */
.source-gallery>.image-button{position:relative;overflow:hidden}
.source-gallery>.image-button:hover .screenshot-expand,
.source-gallery>.image-button:focus-visible .screenshot-expand{opacity:1}
.source-gallery .screenshot-expand{pointer-events:none}

@media(hover:none){.has-carousel-controls>.carousel-arrow{opacity:.75}}
@media(prefers-reduced-motion:reduce){.has-carousel-controls>.carousel-arrow{transition:none}}
@media print{.has-carousel-controls>.carousel-arrow{display:none}}
