.photoViewer{position:fixed;inset:0;z-index:var(--z-photo-viewer, 42000);touch-action:none;-moz-user-select:none;user-select:none;-webkit-user-select:none}.photoViewerBackdrop{position:absolute;inset:0;background:#000000e6;transition:opacity .2s ease}.photoViewerTopBar{position:absolute;top:0;left:0;right:0;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:56px;padding:max(10px,env(safe-area-inset-top,0px)) 12px 10px;color:#fff;background:linear-gradient(180deg,#0000009e,#0000);pointer-events:none;opacity:1;transition:opacity .2s ease,transform .2s ease}.photoViewerTopBar--hidden{opacity:0;transform:translateY(-8px);pointer-events:none}.photoViewerTopBarMeta,.photoViewerActions{pointer-events:auto}.photoViewerTopBarMeta{display:flex;flex-direction:column;justify-content:center;min-height:40px;padding-top:2px;max-width:calc(100% - 112px)}.photoViewerMeta{font-size:14px;font-weight:500;letter-spacing:.01em;text-shadow:0 1px 4px rgba(0,0,0,.55);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photoViewerActions{display:flex;align-items:center;gap:2px;margin-inline-end:0}.photoViewerActionBtn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;border-radius:50%;background:transparent;color:#ffffff85;cursor:pointer;text-decoration:none;transition:background-color .15s ease,color .15s ease,transform .15s ease}.photoViewerActionBtn:hover{background:#ffffff24;color:#ffffffc7}.photoViewerActionBtn:active{transform:scale(.94)}.photoViewerActionBtn svg{width:18px;height:18px}.photoViewerNav{position:absolute;top:50%;z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-top:-22px;border:none;border-radius:50%;background:#00000059;color:#fff;cursor:pointer;opacity:1;transition:opacity .2s ease}.photoViewerNav--hidden{opacity:0;pointer-events:none}.photoViewerNav--prev{left:12px}.photoViewerNav--next{right:12px}.photoViewerNav:hover{background:#ffffff1f}.photoViewerStage{position:absolute;inset:0;overflow:hidden}.photoViewerTrack{position:absolute;inset:0;display:flex;will-change:transform}.photoViewerSlide{position:relative;flex:0 0 100%;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.photoViewerImageWrap{position:relative;will-change:transform;transform-origin:center center}.photoViewerImageWrap--rotated{display:flex;align-items:center;justify-content:center;overflow:hidden}.photoViewerImage{display:block;max-width:none;pointer-events:none;-webkit-user-drag:none;transform-origin:center center}.photoViewerCaption{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:12px 16px;color:#fff;font-size:14px;text-align:center;text-shadow:0 1px 4px rgba(0,0,0,.6);opacity:1;transition:opacity .2s ease}.photoViewerCaption--hidden{opacity:0}.photoViewerSpinner{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#ffffffd9}.photoViewerSpinner svg{width:36px;height:36px;animation:photoViewerSpin .9s linear infinite}@keyframes photoViewerSpin{to{transform:rotate(360deg)}}@media(max-width:640px){.photoViewerNav,.photoViewerActionBtn--download{display:none}.photoViewerTopBarMeta{max-width:calc(100% - 72px)}.photoViewerMeta{font-size:13px}.photoViewerActionBtn{width:30px;height:30px}.photoViewerActionBtn svg{width:17px;height:17px}}
