.mobile-art-extras, .collage-mobile-help, .source-expand {display:none}
.collage-explorer {border:0;padding:0;margin:0;max-width:none;max-height:none;width:100%;height:100%;height:100dvh;inset:0;background:#101315;color:#f6f3ec;overflow:hidden}
.collage-explorer[open] {display:flex;flex-direction:column}
.collage-explorer::backdrop {background:#101315}
.explorer-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px max(12px,env(safe-area-inset-right)) 8px max(16px,env(safe-area-inset-left));padding-top:max(8px,env(safe-area-inset-top));flex:none}
.explorer-heading h2 {font:16px/1.2 system-ui,sans-serif;margin:0;min-width:0}
.collage-explorer button {font:14px/1.2 system-ui,sans-serif;cursor:pointer}
.explorer-close, .explorer-tools button {min-width:44px;min-height:44px;padding:10px 14px;border:1px solid #ffffff70;border-radius:24px;color:inherit;background:transparent;flex-shrink:0}
.collage-explorer button:focus-visible, .explorer-stage:focus-visible {outline:3px solid #d7f970;outline-offset:-3px}
.explorer-stage {position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;overscroll-behavior:contain}
.explorer-stage .report-art {position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0}
.explorer-stage .report-art > img {position:absolute;top:0;left:0;max-width:none;max-height:none;transform-origin:0 0;will-change:transform}
.explorer-stage .art-surface {display:none}
#explorer-help {font:11px/1.4 system-ui,sans-serif;text-align:center;margin:8px 12px 0;color:#c6c9c8;flex:none}
.explorer-tools {display:flex;align-items:center;justify-content:center;gap:10px;padding:8px max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));flex:none}
.explorer-tools output {font:13px system-ui,sans-serif;min-width:42px;text-align:center}
.explorer-tools button:disabled {opacity:.35}
body.explorer-open {position:fixed;top:var(--explorer-scroll);left:0;right:0;overflow:hidden}
@media (max-width:700px), (pointer:coarse) and (max-width:1100px) {
  .collage-gallery {padding:12px 0 70px}
  .collage-gallery h1 {margin-bottom:24px}
  .collage-gallery .work {margin-top:40px}
  .collage-gallery > h1, .collage-gallery > .work-desc, .collage-gallery .work > h2, .collage-gallery .work > figcaption {padding-left:20px;padding-right:20px}
  .collage-gallery .report-art {max-width:none;margin-bottom:0;touch-action:pan-y pinch-zoom}
  .collage-gallery .report-art > img {transform:none!important}
  .collage-gallery .art-surface, .collage-gallery .zoom-controls, .collage-desktop-help {display:none}
  .collage-mobile-help {display:inline}
  .mobile-art-extras {display:block;margin:0 0 24px}
  .mobile-explore {display:block;margin:14px auto 20px;border:1px solid currentColor;border-radius:24px;min-height:44px;padding:10px 20px;background:transparent;color:inherit;font:14px system-ui,sans-serif;cursor:pointer}
  .collage-detail {position:relative;display:block;width:100%;aspect-ratio:1.9;border:0;padding:0;overflow:hidden;background:#171b1d;cursor:pointer}
  .collage-detail img {position:absolute;left:50%;top:50%;max-width:none;height:auto;pointer-events:none}
  .collage-detail span {position:absolute;bottom:12px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:8px 14px;border-radius:22px;background:#101315e6;color:#fff;font:12px system-ui,sans-serif;pointer-events:none}
  .mobile-art-extras button:focus-visible {outline:3px solid #779338;outline-offset:-3px}
  .photo-connector {display:none!important}
  .collage-explorer :is(.report-preview,.mushroom-preview) {position:fixed;left:0!important;right:0!important;top:auto!important;bottom:0!important;box-sizing:border-box;width:100%;max-width:none;max-height:65dvh;margin:0;padding-bottom:env(safe-area-inset-bottom);border-radius:18px 18px 0 0;overflow:auto;overscroll-behavior:contain;box-shadow:0 -8px 32px #0005}
  .collage-explorer :is(.preview-heading,.mushroom-heading) {position:sticky;top:0;z-index:2;gap:8px;margin:0;padding:6px 12px;background:inherit;min-height:44px}
  .collage-explorer :is(.report-preview,.mushroom-preview):not([data-expanded="true"]) :is(.preview-heading,.mushroom-heading) {border-radius:18px 18px 0 0}
  .source-expand {display:block;margin-left:auto;white-space:nowrap;min-height:44px;border:0;padding:6px 8px;background:transparent;color:inherit;font:12px system-ui,sans-serif}
  .collage-explorer :is(.preview-close,.mushroom-close) {width:44px;height:44px;min-width:44px;min-height:44px}
  /* Keep the bottom controls small; the source photograph rises above them. */
  .collage-explorer :is(.report-preview,.mushroom-preview):not([data-expanded="true"]) {overflow:visible}
  .collage-explorer .report-preview:not([data-expanded="true"]) .preview-link {display:block;padding:0 12px 10px}
  .collage-explorer .report-preview:not([data-expanded="true"]) .preview-media {position:absolute;bottom:calc(100% + 10px);left:12px;right:12px;height:min(50dvh,420px,calc(100dvh - 210px));background:transparent;filter:drop-shadow(0 4px 12px #0009)}
  .collage-explorer .report-preview:not([data-expanded="true"]) :is(.source-caption,.preview-info) {display:none}
  .collage-explorer .report-preview:not([data-expanded="true"]) .preview-caption {align-items:center;gap:12px;padding:8px;font-size:13px}
  .collage-explorer .preview-loading {padding:6px;font-size:11px}
  .collage-explorer .preview-loading.is-loading::before {display:none}
  .collage-explorer .mushroom-preview:not([data-expanded="true"]) .mushroom-body {display:block;padding:0 16px 12px}
  .collage-explorer .mushroom-preview:not([data-expanded="true"]) .mushroom-figure {position:absolute;bottom:calc(100% + 10px);left:12px;right:12px}
  .collage-explorer .mushroom-preview:not([data-expanded="true"]) .mushroom-photo-wrap {max-width:360px;height:min(50dvh,420px,calc(100dvh - 210px));border-width:2px;box-shadow:0 4px 18px #0007}
  .collage-explorer .mushroom-preview:not([data-expanded="true"]) :is(.mushroom-figure figcaption,.mushroom-eyebrow,.mushroom-details dl,.mushroom-footer) {display:none}
  .collage-explorer .mushroom-preview:not([data-expanded="true"]) .mushroom-details h2 {font-size:22px;margin:0}
  .collage-explorer .mushroom-color {display:none}
  .collage-explorer .mushroom-preview:not([data-expanded="true"]) .mushroom-loading {font-size:13px;line-height:1.4;padding:16px;overflow-wrap:anywhere}
  .collage-explorer .preview-heading h2 {min-width:0;flex:1}
}
@media (max-height:500px) {
  .explorer-heading {padding-top:4px;padding-bottom:4px}
  .explorer-heading h2 {font-size:14px}
  #explorer-help {display:none}
  .explorer-tools {padding-top:4px;padding-bottom:max(4px,env(safe-area-inset-bottom))}
}
