.hino-image-preview-trigger {
  cursor: zoom-in;
}

.hino-lightbox[hidden] { display: none !important; }
.hino-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1095;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: rgba(7, 18, 32, .92);
  color: #fff;
}
.hino-lightbox__bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .85rem;
  background: rgba(5, 13, 24, .9);
}
.hino-lightbox__title {
  min-width: 0;
  margin-right: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.hino-lightbox__button {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: .45rem;
  padding: .38rem .65rem;
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}
.hino-lightbox__button:hover,
.hino-lightbox__button:focus-visible { background: rgba(255,255,255,.2); color: #fff; }
.hino-lightbox__stage {
  overflow: auto;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.hino-lightbox__image {
  display: block;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  transform-origin: center;
  border-radius: .35rem;
  box-shadow: 0 12px 45px rgba(0,0,0,.55);
  background: #fff;
}
body.hino-lightbox-open { overflow: hidden; }

@media (max-width: 600px) {
  .hino-lightbox__bar { flex-wrap: wrap; }
  .hino-lightbox__title { width: 100%; flex-basis: 100%; }
  .hino-lightbox__button { flex: 1; text-align: center; }
}
