/* Neue Unikate: original size + lightbox. Tokens follow the active theme. */

html body.ga-body .ga-unikat__zoom {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: inherit;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
}

html body.ga-body .ga-unikat__zoom:focus-visible,
html body.ga-body .ga-wall__frame:focus-visible {
  outline: 2px solid var(--ga-gold, #c8a882);
  outline-offset: 3px;
}

html body.ga-body .ga-unikat__size {
  margin: 10px 0 0;
  color: var(--ga-muted, #6e6a64);
  font-size: 13px;
  line-height: 1.4;
}

html body.ga-body .ga-unikat__size-label {
  display: block;
  margin-bottom: 2px;
  color: var(--ga-green, #0e0d0c);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

html body.ga-body .ga-unikat__size-value {
  font-variant-numeric: tabular-nums;
}

html body.ga-body .ga-unikat__cta {
  display: inline-flex;
  margin-top: 10px;
  color: var(--ga-green, #0e0d0c);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html body.ga-body .ga-unikat__cta:hover,
html body.ga-body .ga-unikat__cta:focus-visible {
  color: var(--ga-gold, #c8a882);
}

html body.ga-body .ga-unikat__meta h3 a:hover,
html body.ga-body .ga-unikat__meta h3 a:focus-visible {
  color: var(--ga-gold, #c8a882);
}

.ga-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.ga-lightbox[hidden] {
  display: none !important;
}

.ga-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 13, 12, 0.88);
  cursor: zoom-out;
}

.ga-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: min(1200px, 100%);
  max-height: 100%;
}

.ga-lightbox__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-height: 0;
  max-height: calc(100vh - 80px);
  overflow: auto;
}

.ga-lightbox__dialog--artist {
  max-width: min(1100px, 100%);
  width: min(1100px, 100%);
}

.ga-lightbox__dialog--artist .ga-lightbox__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  align-items: stretch;
  gap: 28px;
  width: 100%;
  padding: 8px 4px 4px;
}

.ga-lightbox__close {
  align-self: flex-end;
  margin-bottom: 12px;
  padding: 8px 4px 8px 12px;
  border: 0;
  background: transparent;
  color: #f5f2ec;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  touch-action: manipulation;
}

.ga-lightbox__close:hover,
.ga-lightbox__close:focus-visible {
  color: var(--ga-gold, #c8a882);
  outline: none;
}

.ga-lightbox__close:focus-visible {
  outline: 2px solid var(--ga-gold, #c8a882);
  outline-offset: 3px;
}

.ga-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(82vh, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.ga-lightbox__dialog--artist .ga-lightbox__img {
  max-height: min(78vh, 100%);
  width: 100%;
  justify-self: center;
}

.ga-lightbox__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 40rem;
}

.ga-lightbox__dialog--artist .ga-lightbox__side {
  max-width: none;
  justify-content: center;
  padding: 8px 4px 12px 0;
  color: #f5f2ec;
}

.ga-lightbox__caption {
  margin: 0;
  max-width: 40rem;
  color: rgba(245, 242, 236, 0.72);
  font-size: 13px;
  text-align: center;
}

.ga-lightbox__dialog--artist .ga-lightbox__caption {
  max-width: none;
  color: #f5f2ec;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
  text-align: left;
}

.ga-lightbox__caption:empty {
  display: none;
}

.ga-lightbox__info {
  margin: 0;
  color: rgba(245, 242, 236, 0.84);
  font-size: 16px;
  line-height: 1.55;
  white-space: pre-wrap;
  max-height: min(52vh, 420px);
  overflow: auto;
}

.ga-lightbox__info[hidden] {
  display: none !important;
}

.ga-lightbox__profile {
  margin: 4px 0 0;
}

.ga-lightbox__profile[hidden] {
  display: none !important;
}

.ga-lightbox__profile-link {
  color: #f5f2ec;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 242, 236, 0.35);
}

.ga-lightbox__profile-link:hover,
.ga-lightbox__profile-link:focus-visible {
  color: var(--ga-gold, #c8a882);
  border-bottom-color: var(--ga-gold, #c8a882);
  outline: none;
}

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

@media (max-width: 860px) {
  .ga-lightbox__dialog--artist .ga-lightbox__stage {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ga-lightbox__dialog--artist .ga-lightbox__img {
    max-height: min(48vh, 100%);
  }

  .ga-lightbox__dialog--artist .ga-lightbox__side {
    padding: 0 4px 8px;
  }

  .ga-lightbox__dialog--artist .ga-lightbox__caption {
    font-size: 24px;
    text-align: center;
  }

  .ga-lightbox__info {
    font-size: 15px;
    max-height: min(34vh, 280px);
    text-align: left;
  }

  .ga-lightbox__profile {
    text-align: center;
  }
}

@media (max-width: 760px) {
  .ga-lightbox {
    padding: 12px 10px 20px;
    align-items: flex-start;
  }

  .ga-lightbox__img {
    max-height: min(74vh, 100%);
  }
}
