.bo-classic-profile__avatar a { cursor: zoom-in; }
html.bo-profile-photo-open { overflow: hidden; }
.bo-profile-photo-viewer {
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: 0;
  background: rgba(5, 10, 22, 0.96);
  color: white;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y pinch-zoom;
}
.bo-profile-photo-viewer::backdrop { background: rgba(5, 10, 22, 0.9); }
.bo-profile-photo-viewer__stage {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: max(65px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
}
.bo-profile-photo-viewer__stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.bo-profile-photo-viewer__stage p { position: absolute; bottom: 20px; padding: 10px; }
.bo-profile-photo-viewer__close {
  position: absolute;
  z-index: 1;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border: 1px solid #aab7cd;
  border-radius: 50%;
  background: #16263e;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.bo-profile-photo-viewer__close:focus-visible { outline: 3px solid #9dceff; outline-offset: 3px; }
