.odyssey-zoomable {
  cursor: zoom-in;
}

.odyssey-lightbox[hidden] {
  display: none;
}

.odyssey-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 8, 12, 0.9);
  backdrop-filter: blur(8px);
}

.odyssey-lightbox-shell {
  width: min(100%, 1180px);
  display: grid;
  gap: 14px;
}

.odyssey-lightbox-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.odyssey-lightbox-button {
  min-width: 48px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(16, 20, 28, 0.96);
  color: #f4ead8;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.odyssey-lightbox-button:hover {
  background: rgba(24, 30, 40, 0.98);
}

.odyssey-lightbox-frame {
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(10, 12, 18, 0.98);
  max-height: calc(100vh - 148px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.44);
}

.odyssey-lightbox-stage {
  min-width: 100%;
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 16px;
  box-sizing: border-box;
}

.odyssey-lightbox-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.odyssey-lightbox-hint {
  margin: 0;
  color: rgba(244, 234, 216, 0.82);
  font-size: 0.9rem;
  text-align: right;
}

body.odyssey-lightbox-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .odyssey-lightbox {
    padding: 12px;
  }

  .odyssey-lightbox-toolbar {
    justify-content: stretch;
  }

  .odyssey-lightbox-button {
    flex: 1 1 calc(33.333% - 8px);
  }

  .odyssey-lightbox-hint {
    text-align: left;
    font-size: 0.84rem;
  }
}
