/* Immersive in both themes; buttons must not inherit profile/avatar decoration. */
dialog.cyber-photo-viewer{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#08090c!important;color:#fff!important;overflow:hidden!important;box-shadow:none!important;box-sizing:border-box}.cyber-photo-viewer::backdrop{background:#08090c}.cyber-photo-viewer .cpv-stage{position:absolute;inset:0;overflow:hidden;touch-action:none;overscroll-behavior:contain;outline:none;user-select:none;-webkit-user-select:none}.cyber-photo-viewer .cpv-canvas{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}.cyber-photo-viewer .cpv-canvas img{display:block;flex:none;max-width:none!important;max-height:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;object-fit:contain;transform-origin:center;will-change:transform;-webkit-user-drag:none;pointer-events:none}.cyber-photo-viewer .cpv-toolbar{position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(10px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 20px max(12px,env(safe-area-inset-left));background:linear-gradient(#0009,transparent);z-index:3;pointer-events:none}.cyber-photo-viewer .cpv-tools{display:flex;gap:8px}.cyber-photo-viewer button{appearance:none!important;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px!important;border:0!important;border-radius:50%!important;background:#17191eb3!important;color:#fff!important;box-shadow:none!important;cursor:pointer;pointer-events:auto;touch-action:manipulation;font:14px/1.3 system-ui!important;outline:none}.cyber-photo-viewer button svg{display:block;width:24px;height:24px;pointer-events:none}.cyber-photo-viewer button:focus-visible{outline:2px solid #fff;outline-offset:3px}.cyber-photo-viewer button:hover{background:#35383f!important}.cyber-photo-viewer button:disabled{opacity:.35;cursor:default}.cyber-photo-viewer [hidden]{display:none!important}.cyber-photo-viewer .cpv-counter{color:#fff!important;font:13px/1.4 system-ui;letter-spacing:.04em;text-shadow:0 1px 6px #000}.cyber-photo-viewer .cpv-prev,.cyber-photo-viewer .cpv-next{position:absolute;top:50%;transform:translateY(-50%);z-index:3}.cyber-photo-viewer .cpv-prev{left:max(16px,env(safe-area-inset-left))}.cyber-photo-viewer .cpv-next{right:max(16px,env(safe-area-inset-right))}.cyber-photo-viewer .cpv-footer{position:absolute;inset:auto 0 0;padding:24px 24px calc(18px + env(safe-area-inset-bottom));background:linear-gradient(transparent,#0009);text-align:center;pointer-events:none;z-index:2}.cyber-photo-viewer .cpv-caption{color:#fff!important;margin:0 auto;font:14px/1.5 system-ui;max-width:700px;max-height:4.5em;overflow:auto;overflow-wrap:anywhere}.cyber-photo-viewer .cpv-hint{display:none;color:#ffffffb3!important;font:11px/1.4 system-ui;margin:10px 0 0}.cyber-photo-viewer .cpv-replace{width:auto;height:auto;border-radius:22px!important;padding:12px 18px!important;margin:10px auto 0}.cyber-photo-viewer .cpv-feedback{position:absolute;inset:40% 12% auto;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;pointer-events:none;color:#fff!important;font:14px/1.5 system-ui;z-index:4}.cyber-photo-viewer .cpv-retry{width:auto;border-radius:24px!important;padding:12px 22px!important}.cyber-photo-viewer.cpv-zoomed .cpv-stage{cursor:grab}.cyber-photo-viewer.cpv-zoomed .cpv-stage:active{cursor:grabbing}.cyber-photo-viewer.cpv-clean .cpv-toolbar,.cyber-photo-viewer.cpv-clean .cpv-footer{opacity:0;pointer-events:none}.cyber-photo-viewer.cpv-clean .cpv-toolbar button,.cyber-photo-viewer.cpv-clean .cpv-footer button{pointer-events:none}.cyber-photo-viewer.cpv-clean:focus-within .cpv-toolbar:has(button:focus-visible){opacity:1}.cyber-photo-viewer.cpv-clean:focus-within .cpv-toolbar:has(button:focus-visible) button{pointer-events:auto}@media(pointer:coarse),(max-width:700px){.cyber-photo-viewer .cpv-tools,.cyber-photo-viewer .cpv-prev,.cyber-photo-viewer .cpv-next{display:none!important}.cyber-photo-viewer .cpv-toolbar{justify-content:flex-start}.cyber-photo-viewer .cpv-counter{position:absolute;left:50%;transform:translateX(-50%)}.cyber-photo-viewer .cpv-hint{display:block;animation:cpv-hint-out 5s forwards}.cyber-photo-viewer .cpv-footer{padding-left:16px;padding-right:16px}}@keyframes cpv-hint-out{0%,65%{opacity:1}100%{opacity:0}}@media(prefers-reduced-motion:reduce){.cyber-photo-viewer .cpv-hint{animation:none}}
