.anime-image-modal__trigger {
  cursor: zoom-in;
}

/* Magazine Lume: inline single-post header image sizing */
body.single .pgheadimg-inline img.pgheadimg {
  display: block;
  margin: 0 auto;
  width: 70%;
  height: auto;
}

.anime-image-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.anime-image-modal__content {
  position: relative;
  width: 95vw;
  height: 90vh;
  max-width: 95vw;
  max-height: 90vh;
  overflow: hidden;
}

.anime-image-modal__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  background: #111;
}

.anime-image-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,0.95);
  color: #111;
  font-size: 22px;
  line-height: 40px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

.anime-image-modal__close:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
