/* 313 full-screen gallery: magnifier and robust wheel navigation */
.project-dialog .go313-viewer-zoom{
  position:fixed!important;top:84px!important;right:16px!important;
  z-index:12!important;display:grid!important;place-items:center!important;
  width:48px!important;height:48px!important;border:0!important;
  border-radius:50%!important;background:rgba(243,243,238,.88)!important;
  color:#15363d!important;cursor:zoom-in!important;padding:0!important;
  box-shadow:0 5px 20px rgba(3,21,47,.12)!important;
  transform:none!important;transition:background-color .2s ease!important;
}
.project-dialog .go313-viewer-zoom:hover,
.project-dialog .go313-viewer-zoom:focus-visible{background:#fff!important;outline:2px solid rgba(243,243,238,.55);outline-offset:2px}
.project-dialog .go313-viewer-zoom svg{width:23px!important;height:23px!important;pointer-events:none}
.project-dialog .go313-viewer-zoom.is-zoomed{cursor:zoom-out!important;background:#dcebe7!important}
.project-dialog .go313-viewer-tip{
  position:fixed;left:50%;bottom:27px;transform:translateX(-50%);
  z-index:6;color:rgba(243,243,238,.78);font:11px/1.35 Arial,Helvetica,sans-serif;
  letter-spacing:.025em;white-space:nowrap;pointer-events:none;text-shadow:0 1px 5px #03152f;
}
.project-dialog:has(.go313-viewer-tip) .project-dialog-counter{bottom:8px!important}
.project-dialog .project-dialog-stage{overflow:hidden;touch-action:none;user-select:none}
.project-dialog .project-dialog-image{transform-origin:center center!important;transition:none!important;touch-action:none;user-select:none;-webkit-user-drag:none}
.project-dialog.go313-zoomed .project-dialog-image{cursor:grab!important}
.project-dialog.go313-zoomed.go313-dragging .project-dialog-image{cursor:grabbing!important}
@media(max-width:640px){
  .project-dialog .go313-viewer-zoom{top:64px!important;right:10px!important;width:43px!important;height:43px!important}
  .project-dialog .go313-viewer-tip{font-size:10px;bottom:25px;max-width:calc(100vw - 30px);text-align:center;white-space:normal}
}
@media(prefers-reduced-motion:reduce){.project-dialog .go313-viewer-zoom{transition:none!important}}
