/* Visor simple de fotos de perfil (js/46c-photo-zoom.js, portado de IronBase) */
/* Full photo, independent from the PWA's page zoom and the underlying sheet. */
.ib-photo-lock{overflow:hidden!important}
.ib-photo-viewer{position:fixed;inset:0;z-index:9500;display:flex;flex-direction:column;height:100dvh;background:#07080b;color:#f4f4f6;font-family:var(--m-font,Inter,system-ui,sans-serif);isolation:isolate;overscroll-behavior:none}
.ib-photo-viewer *{box-sizing:border-box}.ib-photo-viewer [hidden]{display:none!important}
.ib-photo-head{display:flex;align-items:center;justify-content:space-between;flex:none;gap:18px;padding:calc(17px + env(safe-area-inset-top,0px)) max(18px,env(safe-area-inset-right,0px)) 17px max(20px,env(safe-area-inset-left,0px));border-bottom:1px solid #ffffff0d;background:#0e1015}
.ib-photo-head>div{min-width:0}.ib-photo-head small{font-size:9px;font-weight:650;letter-spacing:.14em;text-transform:uppercase;color:var(--rn-acc,#d4a843)}.ib-photo-head h2{font:600 18px/1.4 var(--m-font,Inter,system-ui,sans-serif);letter-spacing:-.025em;margin:6px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ib-photo-viewer button{font-family:inherit;cursor:pointer;color:inherit;border:1px solid #ffffff19;border-radius:13px;background:#ffffff07;min-width:44px;min-height:44px;touch-action:manipulation}
.ib-photo-close{flex:none;font-size:27px;line-height:1}.ib-photo-viewer button:focus-visible,.ib-photo-stage:focus-visible{outline:2px solid var(--rn-acc,#d4a843);outline-offset:-3px}.ib-photo-viewer button:disabled{opacity:.3;cursor:default}
.ib-photo-stage{position:relative;display:grid;place-items:center;flex:1;min-height:0;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;cursor:zoom-in;outline:none;background:radial-gradient(ellipse at center,#171a21,#07080b 80%)}
.ib-photo-stage.is-zoomed{cursor:grab}.ib-photo-stage.is-zoomed:active{cursor:grabbing}.ib-photo-stage>img{display:block;max-width:none!important;max-height:none!important;object-fit:contain;transform-origin:center;will-change:transform;-webkit-user-drag:none;pointer-events:none;flex:none;grid-area:1/1}
.ib-photo-feedback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;padding:24px;pointer-events:none}.ib-photo-feedback p{max-width:320px;margin:0;text-align:center;font-size:13px;line-height:1.7;color:#b1b5c0}.ib-photo-retry{padding:10px 20px;pointer-events:auto}
.ib-photo-foot{flex:none;padding:15px max(18px,env(safe-area-inset-right,0px)) max(18px,env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px));background:#0e1015;border-top:1px solid #ffffff0d}
.ib-photo-controls{display:flex;align-items:center;justify-content:center;gap:10px}.ib-photo-controls>button{font-size:23px}.ib-photo-controls>[data-photo-reset]{margin-left:5px;padding:0 17px;font-size:12px;font-weight:600}.ib-photo-controls>output{min-width:52px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums;color:#c3c6ce}.ib-photo-foot>p{text-align:center;font-size:10px;line-height:1.5;color:#8d94a2;margin:12px 0 0}
@media(display-mode:standalone),(display-mode:fullscreen){.ib-photo-viewer{height:100lvh;height:var(--iq-app-h,100lvh);bottom:auto}}
.ib-photo-viewer.is-simple{z-index:2147483000;background:rgba(5,6,10,.9);}
.ib-photo-viewer.is-simple .ib-photo-stage{background:transparent;cursor:zoom-out}
.ib-photo-viewer.is-simple .ib-photo-stage>img{border-radius:24px;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.ib-photo-viewer.is-simple .ib-photo-stage.is-zoomed{cursor:grab}
.rk-av img{cursor:zoom-in}

.ib-photo-viewer.is-simple .ib-photo-stage>img{animation:iqZoomIn .32s cubic-bezier(.2,1.2,.35,1)}
@keyframes iqZoomIn{from{opacity:0;transform:scale(.88)}}
@media (prefers-reduced-motion:reduce){.ib-photo-viewer.is-simple .ib-photo-stage>img{animation:none}}
