/* Repository screenshots remain uncropped; the gallery preserves their native proportions. */
.filters{max-width:100%;flex-wrap:wrap}.project>*{min-width:0}.screenshot-art{display:flex;flex-direction:column;justify-content:center;gap:21px;padding:28px;background:linear-gradient(145deg,#ffffff03,transparent)}.screenshot-art .art-title{margin:0}.project-shot{display:grid;place-items:center;position:relative;isolation:isolate;width:100%;aspect-ratio:16/9;overflow:hidden;background:#101114;border:1px solid #ffffff16;border-radius:13px;box-shadow:0 17px 35px #0002;transition:border-color .25s,transform .35s}.project-shot:hover{transform:translateY(-3px);border-color:#d8eee255}.project-shot>img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain;transition:opacity .3s}.shot-expand{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;color:#eef1ef;background:#181b20cb;border:1px solid #ffffff30;backdrop-filter:blur(10px);font-size:20px}.shot-caption{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;font-size:11px;line-height:1.6;color:var(--muted)}.shot-caption>a{flex-shrink:0;color:var(--ink);border-bottom:1px solid var(--line);padding-bottom:3px;display:flex;gap:9px}.shot-source{font:8px var(--mono);color:var(--muted);opacity:.7;margin:0;line-height:1.6}.shot-skeleton{display:none;position:absolute;inset:0;padding:20px;background:var(--bg);flex-direction:column;gap:12px}.shot-skeleton .skeleton-orbit{flex:1;min-height:20px;margin:0;border-radius:7px}.shot-pending .shot-skeleton{display:flex}.shot-pending>img{opacity:0}.shot-failed>img{opacity:.2}.shot-failed::after{content:attr(data-fallback);position:absolute;inset:0;display:grid;place-content:center;padding:20px;text-align:center;color:#e5e8e6;font-size:12px}.tunnel-art{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-block:28px;background:linear-gradient(145deg,#ffffff03,transparent);gap:18px}.tunnel-art .art-title{width:100%;margin:0}.tunnel-art>img{display:block;width:170px;height:170px;object-fit:contain}.tunnel-command{max-width:100%;overflow-wrap:anywhere;font:10px/1.8 var(--mono);padding:9px 14px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted);text-align:center}.tunnel-command>span{color:var(--accent);margin-right:9px}.tunnel-art .art-caption{margin:0}.project-content .tags{flex-wrap:wrap}.project-content h3{overflow-wrap:anywhere}
.gallery-dialog{position:fixed;inset:0;width:min(1240px,calc(100% - 48px));max-width:100%;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid var(--glass-rim);border-radius:24px;color:var(--ink);background:var(--bg);box-shadow:0 30px 110px #0009;overflow:auto;overscroll-behavior:contain}.gallery-dialog[open]{display:flex;flex-direction:column;animation:dialog-in .3s ease-out}.gallery-dialog::backdrop{background:#000b;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 26px;border-bottom:1px solid var(--line);flex-shrink:0}.gallery-toolbar h2{font-size:20px;letter-spacing:-.5px;margin:5px 0 0;line-height:1.4}.gallery-toolbar .document-kicker{line-height:1.7}#gallery-close,.gallery-navigation>button{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border:1px solid var(--line);background:var(--surface2);color:var(--ink);border-radius:50%;font-size:23px}.gallery-stage{display:grid;place-items:center;position:relative;min-height:160px;height:min(62vh,650px);padding:20px;background:#0c0e11;flex-shrink:1}.gallery-stage>img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;min-height:0}.gallery-stage>[hidden]{display:none}.gallery-skeleton{position:absolute;inset:20px;display:flex;flex-direction:column;gap:15px}.gallery-skeleton .skeleton-orbit{flex:1;margin:0;min-height:20px}.gallery-stage[aria-busy=true]{height:min(62vh,650px)}#gallery-error{font-size:14px;line-height:1.8;text-align:center;max-width:420px;color:#b8c1bd;padding:20px}.gallery-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 26px;border-top:1px solid var(--line);flex-shrink:0}.gallery-description p{font-size:13px;line-height:1.6;margin:0 0 7px}.gallery-description a{font-size:10px;color:var(--muted);text-decoration:underline;text-underline-offset:4px}.gallery-navigation{display:flex;align-items:center;gap:15px;flex-shrink:0}#gallery-count{font:11px var(--mono);min-width:42px;text-align:center;color:var(--muted)}.gallery-navigation>button:hover,#gallery-close:hover{background:var(--line)}html:has(.gallery-dialog[open]){overflow:hidden}
@media(max-width:800px){.screenshot-art{min-height:330px;padding:28px;gap:20px}.project-shot{max-width:650px;margin-inline:auto}.tunnel-art{min-height:310px}.gallery-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.gallery-stage{height:min(58vh,550px)}}
@media(max-width:560px){.filters{width:100%;border-radius:21px;gap:2px;justify-content:flex-start}.filters>button{padding:9px 10px;font-size:9px;flex-grow:1}.screenshot-art{padding:24px 18px;min-height:265px;gap:17px}.screenshot-art .art-title{font-size:7px;gap:10px}.project-shot{border-radius:9px}.shot-caption{font-size:10px;gap:10px}.shot-caption>a{gap:6px}.shot-source{font-size:7px}.tunnel-art>img{width:140px;height:140px}.gallery-dialog{border-radius:18px}.gallery-toolbar{padding:17px}.gallery-toolbar h2{font-size:18px}.gallery-toolbar .document-kicker{font-size:7px}.gallery-stage{padding:8px;height:45vh;min-height:180px}.gallery-skeleton{inset:15px}.gallery-footer{padding:16px;align-items:flex-start;flex-direction:column;gap:17px}.gallery-navigation{width:100%;justify-content:space-between}.gallery-description p{font-size:12px}}
.tunnel-art>img.tunnel-concept{width:196px;height:196px;filter:drop-shadow(0 9px 22px #0003)}:root[data-theme=light] .tunnel-art>img.tunnel-concept{filter:brightness(.48) drop-shadow(0 7px 15px #15251d12)}.screenshot-art .art-title{gap:14px;align-items:flex-start;line-height:1.7}.screenshot-art .art-title>span:last-child{text-align:right;max-width:66%}@media(max-width:560px){.tunnel-art>img.tunnel-concept{width:160px;height:160px}.screenshot-art .art-title{font-size:8px}.orbit-label{letter-spacing:1.6px}}
html[data-motion=off] .gallery-dialog,html[data-motion=off] .project-shot,html[data-motion=off] .project-shot>img{animation:none;transition:none}html[data-motion=off] .project-shot:hover{transform:none}@media(prefers-reduced-motion:reduce){.project-shot:hover{transform:none}}
