.photo-gallery{padding-top:0}.photo-gallery h2{margin-bottom:24px}.photo-grid,.photo-row{display:grid;gap:12px}.photo-row:first-child{grid-template-columns:4fr 4fr 9fr}.photo-row:last-child{grid-template-columns:9fr 4fr 4fr 9fr}.photo-tile{display:block;overflow:hidden;aspect-ratio:2/3;background:var(--panel);cursor:zoom-in}.photo-tile-wide{aspect-ratio:3/2}.photo-tile img{display:block;width:100%;height:100%}.photo-tile:focus-visible,.photo-dialog button:focus-visible{outline:2px solid var(--white);outline-offset:3px}.photo-gallery .photo-dialog{width:min(100% - 24px,1200px);max-width:none;padding:0;border:0;background:0 0;color:var(--white)}.photo-dialog::backdrop{background:rgb(0 0 0/94%)}body:has(.photo-dialog[open]){overflow:hidden}.photo-dialog-top{display:flex;justify-content:flex-end;margin-bottom:8px}.photo-stage{display:grid;place-items:center;height:min(76dvh,100dvh - 126px,820px);touch-action:pan-y pinch-zoom}.photo-stage img{display:block;width:100%;height:100%;min-height:0;object-fit:contain}.photo-dialog-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:8px}.photo-dialog-controls [role=status]{min-width:6ch;text-align:center;font-variant-numeric:tabular-nums}.photo-dialog button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #656565;border-radius:50%;background:var(--panel2);color:inherit;font:28px/1 system-ui,sans-serif;cursor:pointer}@media(hover:hover){.photo-tile:hover img{filter:brightness(1.13)}.photo-dialog button:hover{background:var(--line)}}@media(max-width:640px){.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photo-row{display:contents}.photo-tile-wide{grid-column:1/-1}}