/* Single fixed bottom bar. The image is the only scrollable area. */
.photo-viewer-top{display:none!important}
.photo-viewer-shell{position:relative!important;display:block!important;width:100%!important;height:100%!important;overflow:hidden!important}
.photo-viewer-stage{position:absolute!important;inset:0 0 calc(70px + env(safe-area-inset-bottom))!important;overflow:hidden!important}
.photo-viewer-stage.actual-size{overflow:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important}
.photo-viewer-nav{position:static!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;transform:none!important;margin:0!important}
.photo-viewer-bottom.viewer-fixed-bottom-bar{position:fixed!important;z-index:100!important;left:0!important;right:0!important;bottom:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(140px,2fr) minmax(0,1fr)!important;align-items:center!important;gap:12px!important;box-sizing:border-box!important;min-height:70px!important;padding:8px max(12px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))!important;border-top:1px solid #242424!important;background:#090909!important;color:#fff!important}
.viewer-bottom-left,.viewer-bottom-right{display:flex!important;align-items:center!important;gap:8px!important}
.viewer-bottom-left{justify-content:flex-start!important}
.viewer-bottom-right{justify-content:flex-end!important}
.viewer-bottom-title{min-width:0!important;text-align:center!important;pointer-events:none!important}
.viewer-bottom-title [data-viewer-title]{display:block!important;overflow:hidden!important;color:#fff!important;text-overflow:ellipsis!important;white-space:nowrap!important;font:750 13px/1.2 system-ui!important}
.viewer-fixed-bottom-bar button{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;border:1px solid #3c3c3c!important;border-radius:999px!important;background:#171717!important;color:#fff!important;font:800 13px/1 system-ui!important;cursor:pointer!important}
.viewer-fixed-bottom-bar [data-viewer-fit],.viewer-fixed-bottom-bar [data-viewer-actual],.viewer-fixed-bottom-bar [data-viewer-share]{width:auto!important;min-width:42px!important;padding:0 13px!important;border-radius:999px!important}
.viewer-fixed-bottom-bar button:hover,.viewer-fixed-bottom-bar button:focus-visible,.viewer-fixed-bottom-bar button.active{border-color:#fff!important;background:#fff!important;color:#111!important;outline:none!important}
.viewer-fixed-bottom-bar button[hidden]{display:none!important}
.viewer-info-proxy{font-family:Georgia,serif!important;font-size:17px!important;font-style:italic!important}
.photo-copyright-card{position:fixed!important;z-index:90!important;right:max(12px,env(safe-area-inset-right))!important;bottom:calc(82px + env(safe-area-inset-bottom))!important;left:auto!important;max-height:calc(100dvh - 105px)!important;overflow:auto!important}
.photo-copyright-card>.photo-copyright-toggle{display:none!important}
@media(max-width:760px){
 .photo-viewer-stage{inset:0 0 calc(126px + env(safe-area-inset-bottom))!important}
 .photo-viewer-bottom.viewer-fixed-bottom-bar{grid-template-columns:1fr!important;grid-template-rows:38px auto auto!important;gap:5px!important;min-height:126px!important;padding-top:5px!important}
 .viewer-bottom-title{grid-row:1!important;grid-column:1!important;align-self:center!important;padding:0 52px!important}
 .viewer-bottom-left{grid-row:2!important;grid-column:1!important;justify-content:center!important}
 .viewer-bottom-right{grid-row:3!important;grid-column:1!important;justify-content:center!important}
 .viewer-fixed-bottom-bar button{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
 .viewer-fixed-bottom-bar [data-viewer-fit],.viewer-fixed-bottom-bar [data-viewer-actual],.viewer-fixed-bottom-bar [data-viewer-share]{padding:0 12px!important}
 .photo-copyright-card{right:max(8px,env(safe-area-inset-right))!important;bottom:calc(136px + env(safe-area-inset-bottom))!important;width:min(390px,calc(100vw - 16px))!important;max-height:calc(100dvh - 155px)!important}
}
@media(min-width:761px) and (max-width:1050px){
 .photo-viewer-bottom.viewer-fixed-bottom-bar{grid-template-columns:auto minmax(120px,1fr) auto!important}
 .viewer-fixed-bottom-bar button{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
}
