.dorina-projects-app .lb,
.lb {
  --dur-micro: 240ms;
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(21, 19, 16, 0.97);
  color: var(--text-ink);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  animation: lb-in 420ms var(--ease-out);
}

@keyframes lb-in {
  from {
    opacity: 0;
  }
}

.lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--gutter);
}

.lb__stage {
  position: relative;
  display: grid;
  place-items: center;
  padding-inline: var(--gutter);
  min-height: 0;
}

.lb__frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.lb__frame img {
  max-width: min(1500px, 92vw);
  max-height: 74svh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lb__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--gutter) 24px;
}

.lb__caption {
  max-width: 58ch;
  color: var(--text-ink-soft);
  font-weight: 400;
  font-size: 14.5px;
  margin: 0;
}

.lb__btn {
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-ink);
  padding: 10px 4px;
  transition: color var(--dur-micro) var(--ease-out);
}

.lb__btn:hover,
.lb__btn:focus-visible {
  color: var(--lumen);
}

.lb__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.lb__controls {
  display: flex;
  gap: 26px;
}

html.lb-open,
body.lb-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .lb__bar {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .lb__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-bottom: 18px;
  }

  .lb__caption {
    max-width: none;
    font-size: 13.5px;
    line-height: 1.45;
  }

  .lb__frame img {
    max-height: 63svh;
  }

  .lb__controls {
    justify-content: space-between;
  }
}
