/* Use the existing unlocked stone plaque for dynamic labels. A baked lock
   graphic cannot share the text slot. Preserve the source's 387:322 ratio. */
/* The approved management screens are landscape. Do not apply their minimum
   exhibit geometry to the contained portrait fallback. */
@media (orientation: landscape) {
.stage[data-screen="museum"] .museum-slots {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 4px 4px 8px;
}
.stage[data-screen="museum"] .museum-slot { min-height: 305px; }
.stage[data-screen="museum"] .museum-pedestal-stack {
  transform: translateY(-83.204134%);
}
.stage[data-screen="museum"] .museum-nameplate,
.stage[data-screen="museum"] .museum-slot.missing .museum-nameplate {
  left: 0;
  right: 0;
  bottom: -83.204134%;
  width: 100%;
  aspect-ratio: 387 / 322;
  padding: 24% 23% 20%;
  align-content: center;
  gap: 3px;
  background-image: var(--ui-plaque);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.stage[data-screen="museum"] .museum-nameplate strong {
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.stage[data-screen="museum"] .museum-nameplate small {
  font-size: 11px;
  line-height: 1.3;
}
.stage[data-screen="museum"] .museum-slot:is(button):focus-visible {
  outline-offset: -3px;
}
}
@media (orientation: landscape) and (max-width: 1100px),
       (orientation: landscape) and (max-height: 560px) {
  .app-shell:has(.stage[data-screen="museum"]) { width: calc(100vw - 12px); max-width: none; }
  .stage[data-screen="museum"] {
    height: calc(100vh - 66px);
    height: calc(100dvh - 66px);
    aspect-ratio: auto;
  }
  .stage[data-screen="museum"] .museum-showcase { top: 18%; bottom: 26%; }
  .stage[data-screen="museum"] .museum-slots { top: 40px; gap: 8px; }
  .stage[data-screen="museum"] .museum-slot { min-height: 124px; }
  .stage[data-screen="museum"] .museum-pedestal-stack {
    bottom: 0;
    height: 100%;
    aspect-ratio: auto;
    transform: none;
  }
  .stage[data-screen="museum"] .museum-pedestal {
    inset: 2px auto auto calc(50% - 20px);
    width: 40px;
    height: 40px;
  }
  .stage[data-screen="museum"] .museum-artifact {
    top: 0;
    bottom: auto;
    left: calc(50% - 35px);
    width: 70px;
    height: 36px;
  }
  .stage[data-screen="museum"] .museum-nameplate,
  .stage[data-screen="museum"] .museum-slot.missing .museum-nameplate {
    bottom: 0;
    left: calc(50% - 50px);
    right: auto;
    width: 100px;
    padding: 24px 23px 19px;
  }
}
