/* P0 performance and layout stability, 2026-10-01. */
:root { --ex-head: 76px; --ex-foot: 52px; }
body.horizontal-full { --ex-head: 76px; --ex-foot: 52px; }
body.horizontal-full .exhibition-scene.exhibition-scene.exhibition-scene {
  height: calc(100svh - var(--ex-head, 76px) - var(--ex-foot, 52px)) !important;
  min-height: 0 !important;
}
#gallery .solo-thumb img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  contain: layout paint;
}
#gallery .solo-portrait {
  aspect-ratio: 2 / 3;
  object-fit: contain;
}
@media (max-width: 900px) {
  :root, body.horizontal-full { --ex-head: 64px; --ex-foot: 52px; }
}
