#mm-profile-photo-viewer.connect-profile-photo{box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;inset:0;margin:0;padding:0;border:0;background:#080b10;color:#fff;overflow:hidden;font-family:inherit;overscroll-behavior:contain}
#mm-profile-photo-viewer.connect-profile-photo[open]{display:flex;flex-direction:column;align-items:center;justify-content:center}
#mm-profile-photo-viewer.connect-profile-photo::backdrop{background:#000e}
#mm-profile-photo-viewer .connect-photo-stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;flex:1;min-height:0;margin-top:calc(68px + env(safe-area-inset-top,0px));overflow:hidden;touch-action:none;user-select:none;outline-offset:-3px;cursor:grab}
#mm-profile-photo-viewer .connect-photo-stage[data-zoomed=true]:active{cursor:grabbing}
#mm-profile-photo-viewer .connect-photo-stage img{display:block;flex:none;max-width:none;max-height:none;object-fit:contain;touch-action:none;transform-origin:center;pointer-events:none;will-change:transform;border-radius:0}
#mm-profile-photo-viewer.connect-profile-photo>.connect-photo-close{position:absolute;z-index:2;top:calc(12px + env(safe-area-inset-top,0px));right:16px;min-width:76px;min-height:44px;padding:10px 16px;border:1px solid #ffffff66;border-radius:24px;background:#20272b;color:#fff;font:inherit;font-size:16px;cursor:pointer}
#mm-profile-photo-viewer .connect-photo-controls{display:flex;flex-shrink:0;align-items:center;justify-content:center;gap:12px;padding:12px 16px 0}
#mm-profile-photo-viewer .connect-photo-controls button{min-width:48px;min-height:44px;padding:8px 12px;border:1px solid #ffffff55;border-radius:24px;background:#20272b;color:#fff;font:inherit;font-size:18px;cursor:pointer}
#mm-profile-photo-viewer .connect-photo-controls button:disabled{opacity:.4;cursor:default}
#mm-profile-photo-viewer .connect-photo-hint{margin:10px 16px calc(16px + env(safe-area-inset-bottom,0px));font-size:14px;color:#c9d3dd;text-align:center;line-height:1.4}
#mm-profile-photo-viewer button:focus-visible,#mm-profile-photo-viewer .connect-photo-stage:focus-visible{outline:2px solid #91dfff;outline-offset:3px}
#mm-profile-photo:has(img),.wcpa-profile-avatar[data-profile-photo-zoom-target]{cursor:zoom-in;touch-action:manipulation}
