.entity-avatar-zoom {
  display: inline-flex;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: inherit;
  line-height: 0;
}
.entity-avatar-zoom:focus {
  outline: 2px solid rgba(29, 78, 137, 0.45);
  outline-offset: 2px;
}
.entity-avatar-zoom:hover .entity-avatar {
  box-shadow: 0 0 0 2px rgba(29, 78, 137, 0.25) !important;
}

html.cx-lightbox-open,
html.cx-lightbox-open body {
  overflow: hidden;
}

.cx-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(10, 16, 28, 0.82);
  backdrop-filter: blur(2px);
}
.cx-lightbox.d-none {
  display: none !important;
}
.cx-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.cx-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.cx-lightbox__figure {
  margin: 0;
  max-width: min(96vw, 920px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.cx-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 2.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.4rem;
  background: #0f172a;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}
.cx-lightbox__cap {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-align: center;
  max-width: 36rem;
}
