.profile-photo-button{display:block;position:relative;width:100%;min-width:0;padding:0;overflow:hidden;border:0;border-radius:10px;background:#221c2b;cursor:zoom-in}
.profile-photo-button img{display:block}
.profile-photo-button:focus-visible{outline:3px solid #ff83b6;outline-offset:-4px}
.profile-photo-avatar{height:100%;border-radius:50%}
.profile-photo-avatar img{object-fit:cover}
#profilePhotoViewer{box-sizing:border-box;width:min(calc(100vw - 20px),1100px);max-width:none;max-height:calc(100dvh - 20px);padding:0;border:1px solid #3d3241;border-radius:16px;background:#100d15;color:#fff;overflow:auto}
#profilePhotoViewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#profilePhotoViewer::backdrop{background:#09070bec}
.profile-photo-toolbar,.profile-photo-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px}
.profile-photo-toolbar h2{margin:0;font-size:16px}
.profile-photo-stage{display:grid;place-items:center;min-height:0;background:#151019;padding:6px}
#profilePhotoImage{display:block;width:100%;height:min(calc(100dvh - 145px),850px);object-fit:contain}
.profile-photo-controls{justify-content:center}
#profilePhotoPrevious,#profilePhotoNext{min-width:44px;min-height:44px}
#profilePhotoPosition{min-width:45px;text-align:center}
