[data-mono="exhibit-gallery"] {
  --exhibit-paper: #f4f4f4;
  --exhibit-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  position: relative; width: 100%; container-type: inline-size; background: var(--exhibit-paper);
}
.mu-exhibit-room { position: relative; background: var(--exhibit-paper); }
.mu-exhibit-heading {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .85rem clamp(1.1rem, 3cqi, 2.6rem); border-bottom: 1px solid #c8c8c8;
}
.mu-exhibit-heading h2 { font: 500 clamp(1.35rem, 3cqi, 1.9rem)/1.1 Georgia, serif; letter-spacing: -.045em; }
.mu-exhibit-heading > span, .mu-exhibit-count { font: .66rem/1.2 var(--exhibit-mono); letter-spacing: .065em; text-transform: uppercase; }
.mu-exhibit-heading > span { color: #545454; white-space: nowrap; }
.mu-exhibit-stage { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap: 1.4rem; padding: 1.2rem; }
.mu-exhibit-frame { margin: 0; min-width: 0; }
.mu-exhibit-print { position: relative; display: block; color: inherit; background: #eee; }
.mu-exhibit-print img { display: block; width: 100%; height: auto; filter: grayscale(1); }
.mu-exhibit-frame figcaption { display: grid; gap: .3rem; margin-top: .5rem; font-size: .85rem; }
.mu-exhibit-frame figcaption strong { font-family: Georgia, serif; font-size: 1.15rem; }
.mu-exhibit-frame figcaption a, .mu-exhibit-link { text-decoration: underline; text-underline-offset: .18em; }
.mu-exhibit-empty { padding: 2rem 1.2rem; }
.mu-exhibit-architecture { display: none; }

[data-exhibit-pinned][data-enhanced] > .mu-exhibit-room { position: sticky; top: var(--exhibit-sticky-top, 0px); }
[data-exhibit-pinned][data-enhanced]::after { content: ""; display: block; height: var(--exhibit-travel, 0px); }
[data-enhanced] .mu-exhibit-stage {
  position: relative; isolation: isolate; display: block; padding: 0; overflow: hidden;
  height: var(--exhibit-stage-height, clamp(23rem, 63cqi, 37rem)); touch-action: pan-y pinch-zoom;
  background: #dedede; cursor: grab;
}
[data-enhanced][data-dragging] .mu-exhibit-stage, [data-dragging] .mu-exhibit-print { cursor: grabbing; }
[data-viewing] .mu-exhibit-stage { cursor: default; }
[data-enhanced] .mu-exhibit-architecture {
  display: block; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 23% 32%, #f3f3f3, transparent 70%), linear-gradient(115deg,#cecece,#e5e5e5 65%,#cacaca);
}
.mu-exhibit-architecture::before, .mu-exhibit-architecture::after { content: ""; position: absolute; inset: 0; }
.mu-exhibit-architecture::before { background: #f5f5f5; clip-path: polygon(0 122%,100% 62%,100% 100%,0 100%); }
.mu-exhibit-architecture::after {
  background: linear-gradient(12deg,#c0c0c0,#a5a5a5); clip-path: polygon(0 124%,100% 63%,100% 100%,0 100%);
}
[data-enhanced] .mu-exhibit-frame { position: absolute; margin: 0; transform-origin: center; opacity: var(--exhibit-opacity,1); }
[data-enhanced] .mu-exhibit-frame figcaption { display: none; }
[data-enhanced] .mu-exhibit-print {
  width: 100%; height: 100%; border: clamp(2px, .48cqi, 6px) solid #242424; border-radius: 1px;
  background: #e1e1e1; box-shadow: -2px 1px 0 #474747, 3px 4px 3px #0003, 7px 12px 11px #0003;
  -webkit-user-drag: none; user-select: none; cursor: zoom-in;
}
[data-enhanced] .mu-exhibit-print img { height: 100%; object-fit: cover; }
[data-viewing] .mu-exhibit-frame[data-current] .mu-exhibit-print { cursor: zoom-out; box-shadow: 0 3px 8px #0002, 4px 15px 19px #0003; }
[data-viewing] .mu-exhibit-frame[data-current] img { object-fit: contain; }
.mu-exhibit-controls { position: absolute; inset: 0; z-index: 1000; pointer-events: none; }
.mu-exhibit-controls :is(a,button) { pointer-events: auto; }
.mu-exhibit-plaque {
  position: absolute; isolation: isolate; left: clamp(1.1rem, 4cqi, 3.3rem);
  bottom: clamp(1rem, 3.5cqi, 2.6rem); max-width: min(65%, 23rem); overflow-wrap: anywhere;
}
[data-enhanced]:not([data-viewing]) .mu-exhibit-plaque {
  padding: .85rem 1.15rem 1rem; max-width: min(23rem, calc(100% - 8rem));
  background: #f8f8f8; color: #181818; border: 1px solid #d6d6d6;
  box-shadow: 1px 2px 4px #0002;
}
.mu-exhibit-count { color: #4b4b4b; }
.mu-exhibit-plaque h3 { margin: .35rem 0 0; font: 500 clamp(1.5rem, 3.8cqi, 2.65rem)/1.06 Georgia, serif; letter-spacing: -.045em; }
.mu-exhibit-caption { margin-top: .38rem; color: #373737; font-size: clamp(.75rem, 1.65cqi, .92rem); line-height: 1.35; }
.mu-exhibit-description { margin-top: .8rem; line-height: 1.5; font-size: clamp(.76rem, 1.55cqi, .94rem); }
.mu-exhibit-link { display: inline-block; margin-top: .6rem; color: inherit; font-size: .85rem; }
.mu-exhibit-arrows { position: absolute; right: clamp(1rem, 3.5cqi, 2.6rem); bottom: clamp(1rem, 3.5cqi, 2.6rem); display: flex; gap: .45rem; }
.mu-exhibit-controls button {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 50%;
  border: 1px solid #a7a7a7; color: #121212; background: #f4f4f4e8;
}
.mu-exhibit-controls button:hover:where(:not(:disabled)) { background: #fff; border-color: #3c3c3c; }
.mu-exhibit-close { position: absolute; top: .8rem; right: .8rem; }
[data-viewing] .mu-exhibit-plaque { left: 5cqi; bottom: 15%; width: 28%; max-height: 70%; overflow-y: auto; pointer-events: auto; scrollbar-width: thin; }
[data-viewing] .mu-exhibit-arrows { left: 5cqi; right: auto; bottom: 4%; }
@media (prefers-reduced-motion: no-preference) {
  [data-enhanced]:not([data-exhibit-moving]):not([data-dragging]) .mu-exhibit-frame {
    transition: left 440ms ease, top 440ms ease, width 440ms ease, height 440ms ease, transform 440ms ease, opacity 320ms ease;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  [data-enhanced]:not([data-viewing]):not([data-dragging]) .mu-exhibit-print { transition: transform 180ms ease, box-shadow 180ms ease; }
  [data-enhanced]:not([data-viewing]):not([data-dragging]) .mu-exhibit-print:hover {
    transform: translateY(-3px); box-shadow: -2px 1px 0 #474747, 3px 6px 6px #0003, 8px 16px 16px #0003;
  }
}
@container (max-width: 33rem) {
  [data-enhanced] .mu-exhibit-stage { height: var(--exhibit-stage-height, clamp(24rem, 108cqi, 31rem)); }
  .mu-exhibit-heading { padding: .75rem 1rem; }
  [data-viewing] .mu-exhibit-plaque { left: 1rem; bottom: 1rem; width: calc(100% - 7.7rem); max-width: none; max-height: 29%; }
  [data-viewing] .mu-exhibit-arrows { left: auto; right: 1rem; bottom: 1rem; }
  [data-viewing] .mu-exhibit-plaque h3 { margin-top: .15rem; font-size: 1.45rem; }
  [data-viewing] .mu-exhibit-description { margin-top: .35rem; font-size: .75rem; }
}
@media (forced-colors: active) {
  .mu-exhibit-controls button, [data-enhanced] .mu-exhibit-print { border: 2px solid ButtonText; }
  .mu-exhibit-plaque { background: Canvas; color: CanvasText; }
}
