.photo-open{background:#030a17}.photo-open>img{width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;display:block}.gallery-controls{display:flex;align-items:center;justify-content:center;gap:18px;padding:10px;color:var(--muted);font-size:12px}.gallery-controls button{border:1px solid #a5bce344;border-radius:4px;background:#ffffff09;color:inherit;min-height:40px;min-width:40px;padding:6px 12px;font:inherit;cursor:pointer}.gallery-controls button:hover{background:#ffffff18}.gallery-controls button:focus-visible{outline:2px solid #80baff;outline-offset:2px}

.viewer-controls{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:#030a17dd;color:#fff;border-radius:6px;z-index:3}.viewer-controls button{background:#ffffff14}.photo-stage{padding-bottom:64px}@media(max-width:800px){.gallery-controls:not(.viewer-controls) button{display:none}.gallery-controls:not(.viewer-controls){padding:6px}.viewer-controls{gap:20px;white-space:nowrap}}

/* Controls float above the photograph without adding a bottom strip. */
.community-figure{position:relative}.gallery-controls:not(.viewer-controls){position:absolute;inset:0;padding:0;display:block;pointer-events:none;z-index:2}.gallery-controls:not(.viewer-controls)>span{position:absolute;top:12px;left:12px;background:#030a17cc;border:1px solid #ffffff35;border-radius:4px;padding:6px 10px;color:#fff;font-size:12px;line-height:1.4}.gallery-controls:not(.viewer-controls)>button{position:absolute;right:12px;bottom:60px;pointer-events:auto;display:block;background:#06112ddd;color:#fff;width:42px;height:36px;min-height:36px;padding:0;border-color:#ffffff45}.gallery-controls:not(.viewer-controls)>button:first-child{right:62px}.photo-open>img{object-fit:contain}.viewer-controls{inset:auto auto 12px 50%}
@media(max-width:800px){.gallery-controls:not(.viewer-controls)>button{display:none}.gallery-controls:not(.viewer-controls)>span{font-size:10px;top:8px;left:8px}.viewer-controls>span{position:static}}

/* One aligned two-row control group. */
.community-figure .photo-expand{width:156px;height:40px;box-sizing:border-box;justify-content:center;right:12px;bottom:12px;padding:0 8px;border-radius:4px;font-size:11px;line-height:1;background:#06112de6;border-color:#ffffff55}
.gallery-controls:not(.viewer-controls)>button{width:78px;height:36px;min-height:36px;bottom:60px;right:12px;border-radius:0 4px 4px 0;background:#06112de6;border-color:#ffffff55;font-size:18px;line-height:1;box-sizing:border-box}
.gallery-controls:not(.viewer-controls)>button:first-child{right:90px;border-radius:4px 0 0 4px;border-right:0}
@media(max-width:800px){.community-figure .photo-expand{width:136px;height:36px;font-size:10px}}

.community-figure .photo-expand{width:132.6px;height:34px;right:8px;bottom:8px;font-size:9.35px;padding:0 6.8px;gap:5.95px}.community-figure .photo-expand svg{width:15.3px;height:15.3px}.gallery-controls:not(.viewer-controls)>button{width:66.3px;height:30.6px;min-height:30.6px;right:8px;bottom:48.8px;font-size:15.3px}.gallery-controls:not(.viewer-controls)>button:first-child{right:74.3px}@media(max-width:800px){.community-figure .photo-expand{width:115.6px;height:30.6px;font-size:8.5px}}
