.bw-card-gallery-ready>a{touch-action:pan-y}
.bw-card-gallery-controls{position:absolute;inset:0;pointer-events:none;z-index:4}
.bw-card-gallery-controls[hidden]{display:none}
.bw-card-gallery-controls button{position:absolute;top:50%;transform:translateY(-50%);border:0;border-radius:999px;width:44px;height:44px;padding:0;background:#fff;color:#2d2020;font:24px/1 system-ui;box-shadow:0 1px 5px #0004;cursor:pointer;pointer-events:auto}
.bw-card-gallery-controls button:first-child{left:8px}
.bw-card-gallery-controls button:nth-child(2){right:8px}
.bw-card-gallery-controls button[aria-disabled=true]{opacity:.5;cursor:default}
.bw-card-gallery-controls button:focus-visible{outline:2px solid #af3854;outline-offset:3px}
.bw-card-gallery-status{position:absolute;overflow:hidden;clip-path:inset(50%);width:1px;height:1px;white-space:nowrap}
.card-photo .bw-card-gallery-frame{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:contain;background:#1f1c1c}
.bw-card-gallery-open .card-photo-image{visibility:hidden}
