/* Depth gallery: image-led, local-only libraries; neutral UI around full-color work. */
.player-gallery { --exhibit-line:#ffffff24; }
.player-gallery .journal-page { width:100%; max-width:none; }
.player-gallery .journal-page > section:not(.exhibition),.player-gallery .back-home { width:calc(100% - clamp(48px,8.4vw,144px)); max-width:1280px; margin-inline:auto; }
.player-gallery .exhibition { position:relative; isolation:isolate; overflow:hidden; color:#f4f6fb; background:#080b12; margin:24px 0 90px; padding:50px 0 26px; border-block:1px solid #1c2331; }
.exhibition::before { content:""; position:absolute; z-index:-1; inset:10% -15% -35%; pointer-events:none; background:radial-gradient(ellipse at 50% 60%,#294b7740,transparent 58%); }
.exhibition-top { width:min(1280px,calc(100% - clamp(48px,8.4vw,144px))); padding:0; display:flex; align-items:end; justify-content:space-between; gap:30px; margin:auto; }
.exhibit-eyebrow { font-size:12px; letter-spacing:.2em; color:#9baac1; margin:0 0 18px; }
.exhibition-top h1 { font-size:clamp(36px,4.3vw,66px); font-weight:550; line-height:1.12; letter-spacing:-.045em; margin:0; }
.exhibition-top > p { font-size:16px; margin:0; text-align:right; line-height:1.8; }
.exhibition-top > p span { font-size:13px; color:#a8b2c2; }
.exhibition .exhibit-swiper { overflow:visible; margin:38px auto 30px; padding:10px 0 24px; touch-action:pan-y; }
.exhibit-swiper .swiper-slide { width:min(68vw,920px); flex-shrink:0; }
/* The transparent 3D wrapper must not intercept clicks on recessed side cards. */
.exhibit-swiper.swiper-initialized .swiper-wrapper { pointer-events:none; }
.exhibit-swiper.swiper-initialized .swiper-slide { pointer-events:auto; }
.exhibit-image { display:block; position:relative; border:1px solid #ffffff30; border-radius:12px; overflow:hidden; background:#161c27; box-shadow:0 25px 70px #0009; }
.exhibit-image img { display:block; width:100%; height:auto; aspect-ratio:1672/941; object-fit:cover; }
.exhibit-zoom { position:absolute; right:18px; bottom:18px; display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:#0b152bcc; border:1px solid #ffffff80; font-size:24px; }
.exhibit-swiper:not(.swiper-initialized) { overflow-x:auto; scroll-snap-type:x mandatory; }
.exhibit-swiper:not(.swiper-initialized) .swiper-wrapper { gap:24px; padding-inline:16vw; }
.exhibit-swiper:not(.swiper-initialized) .swiper-slide { scroll-snap-align:center; }
.exhibit-swiper .swiper-slide:not(.swiper-slide-active) .exhibit-image { filter:brightness(.62) saturate(.8); }
.exhibit-swiper:not(.swiper-initialized) .swiper-slide .exhibit-image { filter:none; }
.exhibition-bar { display:flex; justify-content:space-between; align-items:center; gap:24px; width:min(68vw,920px); margin:auto; }
.exhibition-caption { display:flex; align-items:center; gap:24px; }
[data-exhibit-count] { font:14px/1.5 ui-monospace,monospace; color:#acbcd3; white-space:nowrap; }
.exhibition-caption h2 { margin:0; font-size:24px; line-height:1.5; font-weight:500; }
.exhibition-caption p { margin:2px 0 0; font-size:14px; color:#a6b2c7; }
.exhibition-controls { display:flex; align-items:center; gap:8px; }
.exhibition-controls[hidden] { display:none; }
.exhibition-controls button { min-width:44px; height:44px; padding:0 14px; font:14px system-ui,sans-serif; color:#e6edf9; border:1px solid #ffffff33; border-radius:28px; background:#ffffff0c; cursor:pointer; }
.exhibition-controls button:hover { background:#ffffff1c; }
.exhibition-controls button:disabled { opacity:.3; cursor:default; }
.exhibition-controls button[aria-pressed=true] { background:#d9e6fc; color:#12223a; }
.exhibit-thumbs { display:flex; justify-content:flex-start; gap:10px; overflow:auto; width:max-content; max-width:90%; margin:30px auto 0; padding:8px 4px 16px; scrollbar-width:thin; scrollbar-color:#43516a transparent; }
.exhibit-thumbs a { position:relative; flex:0 0 84px; width:84px; border:1px solid #ffffff20; padding:3px; border-radius:7px; opacity:.55; }
.exhibit-thumbs a[aria-current=true] { opacity:1; border-color:#bacdec; background:#abcfff18; }
.exhibit-thumbs img { width:100%; height:auto; aspect-ratio:1672/941; object-fit:cover; display:block; border-radius:3px; }
.exhibit-thumbs span { display:block; font-size:12px; text-align:center; margin-top:3px; }
.exhibition-foot { display:flex; justify-content:center; flex-wrap:wrap; gap:12px 26px; font-size:13px; color:#a4afc1; margin:16px 20px 0; }
.exhibition-foot a { text-decoration:underline; text-underline-offset:5px; }
.player-gallery .gallery-grid { gap:54px 30px; }
.player-gallery .gallery-picture { border-radius:14px; }
.player-gallery .gallery-item--wide .gallery-picture { max-height:640px; }
.player-gallery .gallery-item--wide .gallery-picture img { height:100%; object-fit:cover; }
.player-gallery .collection-heading h2 { font-weight:550; font-size:32px; letter-spacing:-.025em; }
.gallery-picture[data-viewer-ready],.base-reference a[data-viewer-ready] { cursor:zoom-in; }
.gallery-item[data-gallery-ready] > figcaption > :is(h3,p,.gallery-meta) { cursor:zoom-in; }
@media(max-width:760px) {
 .player-gallery .exhibition { margin-top:16px; padding-top:30px; }
 .exhibition-top { align-items:start; flex-direction:column; gap:18px; }
 .exhibition-top > p { text-align:left; }
 .exhibition-top > p { word-break:keep-all; overflow-wrap:anywhere; text-wrap:pretty; }
 .exhibition-top h1 br { display:none; }
 .exhibit-swiper .swiper-slide { width:84vw; }
 .exhibit-swiper:not(.swiper-initialized) .swiper-wrapper { padding-inline:8vw; }
 .exhibition-bar { width:90%; align-items:start; flex-direction:column; gap:20px; }
 .exhibition-controls { align-self:center; }
 .exhibition-caption { gap:16px; }
 .exhibition .exhibit-swiper { margin-top:24px; }
 .exhibit-thumbs a { flex-basis:68px; width:68px; }
 .exhibition-caption h2 { font-size:22px; }
 .player-gallery .collection-heading h2 { font-size:26px; }
}
@media(prefers-reduced-motion:reduce) { .exhibition * { transition-duration:0ms!important; animation:none!important; } }
@media print { .exhibition { display:none; } }

/* The same open surfaces, type and controls as the current public site. */
html body.player-gallery .journal-page { padding-top: var(--site-header-height,80px); }
html body.player-gallery .exhibition { margin-top: 0; padding-top: 44px; }
html body.player-gallery .exhibition-top { align-items: end; gap: 24px; }
html body.player-gallery .exhibition-top h1 { font-size: clamp(34px,3.8vw,52px); line-height: 1.25; font-weight: 500; }
html body.player-gallery .exhibition-top h1 br { display: none; }
html body.player-gallery .exhibition-top > p { font-size: 16px; }
html body.player-gallery .exhibit-eyebrow { margin-bottom: 16px; font-size: 12px; letter-spacing: .12em; }
html body.player-gallery .exhibition .exhibit-swiper { margin-block: 28px 18px; padding-block: 0 12px; }
html body.player-gallery .exhibit-swiper .swiper-slide { width: min(76vw,960px,max(420px,calc((100svh - 460px) * 1.7778))); }
html body.player-gallery .exhibit-image { border: 1px solid var(--site-line); border-radius: var(--ui-radius-media); box-shadow: none; }
html body.player-gallery .exhibit-swiper .swiper-slide .exhibit-image { filter: none; }
html body.player-gallery .exhibit-zoom { width: 40px; height: 40px; right: 14px; bottom: 14px; background: #101115b8; color: #fff; border: 1px solid #ffffff60; font-size: 20px; }
html body.player-gallery .exhibition-bar { width: min(90%,960px); min-height: 64px; }
html body.player-gallery .exhibition-caption { gap: 20px; min-width: 0; }
html body.player-gallery .exhibition-caption h2 { font-size: 22px; }
html body.player-gallery .exhibition-caption p { font-size: 13px; line-height: 1.7; }
html body.player-gallery .exhibition-controls button { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding-inline: 14px; border-radius: 999px; font-family: var(--continuum-font); font-size: 13px; }
html body.player-gallery .exhibit-thumbs { margin-top: 14px; padding-bottom: 10px; scrollbar-color: var(--site-line) transparent; }
html body.player-gallery .exhibit-thumbs a { opacity: .76; border-color: transparent; border-radius: 6px; }
html body.player-gallery .exhibit-thumbs a[aria-current=true] { opacity: 1; border-color: var(--accent); background: transparent; }
html body.player-gallery .exhibit-thumbs a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html body.player-gallery .gallery-picture { border-radius: var(--ui-radius-media); }
html body.player-gallery .gallery-item--wide .gallery-picture { max-height: none; }
html body.player-gallery .gallery-item--wide .gallery-picture img { height: auto; object-fit: contain; }
html body.player-gallery .gallery-item :is(h3,p) { font-family: var(--continuum-font); }
.player-gallery .exhibition-controls .gallery-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media(prefers-reduced-motion:no-preference) {
  html body.player-gallery .exhibit-thumbs a { transition: opacity var(--ui-feedback) ease, border-color var(--ui-feedback) ease; }
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  html body.player-gallery .gallery-picture img { transition: transform var(--ui-media) var(--ui-ease); }
  html body.player-gallery .gallery-picture:is(:hover,:focus-visible) img { transform: scale(1.012); }
}
@media(max-width:760px) {
  html body.player-gallery .exhibition { padding-top: 28px; margin-bottom: 56px; }
  .player-gallery .gallery-item figcaption>p { text-wrap: pretty; }
  html body.player-gallery .exhibition-top { width: calc(100% - 48px); align-items: start; gap: 14px; padding-inline: 0; }
  html body.player-gallery .exhibition-top > p { font-size: 14px; }
  html body.player-gallery .exhibition-top > p span { font-size: 13px; }
  html body.player-gallery .exhibit-swiper .swiper-slide { width: calc(100vw - 48px); }
  html body.player-gallery .exhibition-bar { width: calc(100% - 48px); gap: 14px; }
  html body.player-gallery .exhibition-caption h2 { font-size: 20px; }
  html body.player-gallery .exhibition-controls { align-self: flex-start; }
  html body.player-gallery .exhibit-thumbs { max-width: calc(100% - 48px); margin-top: 16px; }
  html body.player-gallery .journal-page > section:not(.exhibition),html body.player-gallery .back-home { width: calc(100% - 48px); }
}
