.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.gallery-photo{position:relative;display:block;overflow:hidden;background:#222}.gallery-photo img{width:100%;height:auto}.gallery-photo span{position:absolute;bottom:12px;right:12px;background:#101010d9;color:#fff;padding:4px 12px;font-size:.75rem}.gallery-photo:hover span{background:var(--orange);color:var(--ink)}.gallery-dialog{width:min(1100px,96vw);max-width:96vw;max-height:96vh;max-height:96dvh;padding:16px;border:1px solid #444;background:#101010;color:#fafafa;margin:auto}.gallery-dialog::backdrop{background:rgba(0,0,0,.94)}.gallery-toolbar,.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:16px}.gallery-toolbar{margin-bottom:12px}.gallery-dialog button{font:inherit;color:inherit;background:#222;border:1px solid #555;min-width:48px;min-height:48px;padding:8px 14px;cursor:pointer}.gallery-dialog button:hover{background:#333}.gallery-dialog button:focus-visible{outline:3px solid #ff643b;outline-offset:3px}#gallery-full{height:calc(96vh - 190px);height:calc(96dvh - 190px);width:100%;object-fit:contain;touch-action:pan-y pinch-zoom}.gallery-controls p{font-size:.875rem;text-align:center;color:#bcbcbc;margin:12px 0}.gallery-toolbar span{font-variant-numeric:tabular-nums}.gallery-open{overflow:hidden}@media(max-width:1000px){.header nav{gap:12px;flex-wrap:wrap;justify-content:flex-end}}@media(max-width:760px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}@media(max-width:420px){.gallery-grid{grid-template-columns:1fr}.gallery-dialog{padding:10px}.gallery-controls{gap:8px}.gallery-controls p{font-size:.75rem}}
