#gallery-main{--gallery-paper:var(--bg);--gallery-ink:var(--foreground);--gallery-muted:var(--muted);--gallery-rule:var(--border);--gallery-accent:var(--foreground)}.gallery-intro{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:36px}.gallery-intro h1{font-size:clamp(36px,4vw,50px);line-height:1.2;margin:0}.gallery-kicker{font:11px/1.8 system-ui,sans-serif;letter-spacing:.1em;color:var(--muted);margin:0 0 16px}.album-shelf{display:grid;grid-template-columns:1fr 1fr;gap:80px 48px;align-items:start}.album-cover:first-child{grid-column:1/-1}.album-cover-offset:not(:nth-child(2)){margin-top:100px}.album-cover-image{position:relative;overflow:hidden;background:var(--soft)}.album-cover img{display:block;width:100%;height:auto;max-height:740px;object-fit:contain}.album-cover:first-child img{max-height:820px}.album-open{position:absolute;bottom:22px;right:22px;padding:12px 17px;background:var(--bg);color:var(--foreground);font:12px system-ui,sans-serif;opacity:0;transition:opacity .2s}.album-cover a:hover .album-open,.album-cover a:focus-visible .album-open{opacity:1}.album-cover-info{display:flex;justify-content:space-between;gap:20px;padding:24px 0}.album-cover-info h2{font-size:32px;line-height:1.3;margin:0}.album-count{font:12px system-ui,sans-serif;color:var(--muted);white-space:nowrap;padding-top:4px}.album-cover-description{max-width:540px;font-size:14px;line-height:1.9;color:var(--muted);white-space:pre-line}.gallery-empty{grid-column:1/-1;border-top:1px solid var(--border);padding:50px 0}.gallery-empty h2{font-size:28px;margin-bottom:20px}.gallery-empty a{font-size:14px;color:var(--muted)}.album-heading{max-width:800px;margin:0 auto;padding:0 0 64px}.gallery-back{display:inline-block;font:12px system-ui,sans-serif;color:var(--muted)!important;margin-bottom:48px}.album-heading h1{font-size:clamp(40px,6vw,72px);line-height:1.3;margin:20px 0 26px}.album-description{max-width:600px;font-size:15px;line-height:2;white-space:pre-line;color:var(--muted)}.album-frame{margin:0 0 100px}.portrait-frame{max-width:840px;margin-inline:auto}.photo-open{position:relative;display:block;border:0;padding:0;width:100%;background:transparent}.photo-open img{display:block;width:100%;height:auto;max-height:1100px;object-fit:contain}.photo-expand{position:absolute;right:18px;bottom:18px;width:36px;height:36px;display:grid;place-items:center;background:var(--bg);color:var(--foreground);opacity:0;transition:opacity .2s}.photo-open:hover .photo-expand,.photo-open:focus-visible .photo-expand{opacity:1}.album-frame figcaption{display:grid;grid-template-columns:90px 1fr;gap:20px;padding:18px 0;font-size:13px;color:var(--muted);line-height:1.8;white-space:pre-line}.frame-number{font:11px/2 ui-monospace,monospace;letter-spacing:.08em}.album-end{text-align:center;padding:0 20px 30px}.album-end a{font-family:Smiley Sans Local,sans-serif;font-size:28px}.photo-lightbox{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;padding:20px 28px;border:0;background:#111;color:#fff}.photo-lightbox::backdrop{background:#111}.lightbox-top{display:flex;justify-content:space-between;align-items:center;height:42px;font:13px system-ui,sans-serif}.lightbox-top button,.lightbox-stage button{background:transparent;border:1px solid #555;color:#fff;padding:10px 15px}.lightbox-stage{height:calc(100% - 110px);display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:20px;align-items:center}.lightbox-stage img{width:100%;height:100%;object-fit:contain;min-height:0;touch-action:pan-y}.photo-lightbox>p{text-align:center;font-size:13px;color:#ccc;white-space:pre-line}.publication .photo-lightbox button:focus-visible{outline-color:#fff}@media(max-width:760px){.album-shelf{grid-template-columns:1fr;gap:32px}.album-cover-offset:not(:nth-child(2)){margin-top:0}.album-open{opacity:1;bottom:14px;right:14px;padding:9px 12px}.album-cover-info h2{font-size:28px}.album-heading{padding-bottom:36px}.gallery-back{margin-bottom:36px}.album-frame{margin-bottom:48px}.album-frame figcaption{grid-template-columns:65px 1fr;gap:10px}.photo-lightbox{padding:12px}.lightbox-stage{grid-template-columns:32px minmax(0,1fr) 32px;gap:5px}.lightbox-stage button{padding:12px 0}}
