:root{color-scheme:dark;font-family:system-ui,-apple-system,sans-serif;background:#171b1c;color:#f5f5f5}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;font:inherit}button:focus-visible,a:focus-visible{outline:3px solid #fff;outline-offset:-4px}#gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.photo{display:block;padding:0;border:0;background:#23292a;aspect-ratio:4/3;overflow:hidden}.photo img{display:block;width:100%;height:100%;object-fit:cover;transition:filter .18s}.photo:hover img{filter:brightness(1.06)}#status{text-align:center;font-size:14px;color:#bfc6c7;margin:28px}#status:empty{display:none}#contact-toggle{position:fixed;right:18px;bottom:max(18px,env(safe-area-inset-bottom));width:44px;height:44px;border:1px solid #ffffff30;border-radius:50%;background:#191e20d9;backdrop-filter:blur(12px);display:grid;place-items:center;z-index:2}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4}#contact{position:fixed;right:18px;bottom:calc(max(18px,env(safe-area-inset-bottom)) + 56px);padding:18px 20px;background:#191e20f5;border:1px solid #ffffff25;border-radius:8px;z-index:2;max-width:calc(100vw - 36px);box-shadow:0 8px 40px #0005}#contact span{display:block;font-size:12px;color:#aeb6b8;margin-bottom:8px}#contact a{color:#fff;font-size:14px;text-decoration:none;overflow-wrap:anywhere}dialog{border:0;padding:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;background:#111e;color:#fff;overflow:hidden}dialog::backdrop{background:#111}dialog[open]{display:flex;align-items:center;justify-content:center}#full{max-width:100%;max-height:100%;object-fit:contain}dialog button{position:absolute;border:0;background:#171b1c99;z-index:1;width:48px;height:48px;border-radius:50%;font-size:32px;display:grid;place-items:center}#close{right:16px;top:max(16px,env(safe-area-inset-top))}#previous{left:12px;top:calc(50% - 24px)}#next{right:12px;top:calc(50% - 24px)}#image-status{position:absolute;bottom:22px;font-size:13px;background:#171b1ca0;padding:5px 10px;border-radius:4px}#image-status:empty{display:none}body:has(dialog[open]){overflow:hidden}@media(min-width:1500px){#gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){#gallery{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.photo img{transition:none}}

#sort-controls{display:flex;justify-content:flex-end;gap:4px;padding:8px 12px}#sort-controls button{-webkit-appearance:none;appearance:none;min-height:44px;line-height:1.2;border:0;border-radius:4px;background:transparent;padding:6px 10px;font-size:12px;color:#aeb6b8}#sort-controls button[aria-pressed="true"]{background:#ffffff12;color:#fff}

#info-toggle{top:max(16px,env(safe-area-inset-top));right:76px;font-size:20px;font-family:serif;font-weight:bold}#info-toggle[hidden],#photo-info[hidden]{display:none}#photo-info{position:absolute;z-index:2;right:16px;top:calc(max(16px,env(safe-area-inset-top)) + 58px);width:min(320px,calc(100vw - 32px));max-height:calc(100dvh - 100px);overflow:auto;padding:14px 16px;border-radius:8px;background:#191e20ed;box-shadow:0 8px 40px #0008;font-size:13px}#photo-info div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;padding:5px 0}#photo-info div span:first-child{color:#aeb6b8}#photo-info div span:last-child{overflow-wrap:anywhere}
