#imb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 16px;
}

#imb-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

#imb-wrapper img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 12px;
}

#imb-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}
