.project-screenshot-gallery{width:100%;min-width:0}.project-screenshot-gallery:focus-visible{outline:3px solid var(--blue);outline-offset:4px;border-radius:12px}.project-gallery-stage{aspect-ratio:16/9;border:1px solid var(--border);background:color-mix(in srgb, var(--ink) 5%, var(--paper));border-radius:14px;place-items:center;width:100%;min-width:0;display:grid;position:relative;overflow:hidden}.project-gallery-stage.is-loading:before{z-index:1;content:"";background:linear-gradient(110deg, transparent 8%, color-mix(in srgb, var(--ink) 7%, transparent) 18%, transparent 33%);background-size:200% 100%;animation:1.5s linear infinite gallery-skeleton-shimmer;position:absolute;inset:0}@keyframes gallery-skeleton-shimmer{to{background-position-x:-200%}}@media (prefers-reduced-motion:reduce){.project-gallery-stage.is-loading:before{animation:none}}.project-gallery-stage>.responsive-image{width:100%;height:100%}.project-gallery-stage>.responsive-image>img{object-fit:contain;width:100%;height:100%;display:block}.project-gallery-placeholder{z-index:2;color:var(--ink-2);text-align:center;pointer-events:none;place-items:center;padding:16px;display:grid;position:absolute;inset:0}.project-gallery-status{z-index:1;color:var(--ink);background:var(--paper);text-align:center;border-radius:10px;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:8px;font-size:.875rem;display:flex;position:absolute;inset:auto 8px 8px}.project-gallery-status button,.project-gallery-arrow{border:1px solid var(--border);min-width:44px;min-height:44px;color:var(--ink);background:var(--paper);font:inherit;cursor:pointer;border-radius:12px;padding:8px 12px}.project-gallery-caption{color:var(--ink-2);margin:10px 0 12px;line-height:1.5}.project-gallery-controls{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;display:grid}.project-gallery-thumbnails{gap:8px;min-width:0;padding:2px;display:flex;overflow-x:auto}.project-detail-section .project-gallery-controls{justify-content:center;width:fit-content;max-width:100%;margin-inline:auto;display:flex}.project-detail-section .project-gallery-thumbnails{flex:0 auto}.project-gallery-thumbnail{border:1px solid var(--border);width:68px;min-width:44px;height:48px;min-height:44px;color:var(--ink);background:var(--paper);cursor:pointer;border-radius:8px;flex:0 0 68px;padding:0;position:relative;overflow:hidden}.project-gallery-thumbnail[aria-pressed=true]{outline:2px solid var(--blue);outline-offset:1px}.project-gallery-thumbnail>.responsive-image{width:100%;height:100%}.project-gallery-thumbnail-image>img{object-fit:cover;width:100%;height:100%;display:block}.project-gallery-thumbnail span{color:#fff;text-align:center;background:#000000c7;border-radius:999px;min-width:20px;font-size:.75rem;line-height:20px;position:absolute;inset:auto 3px 3px auto}@media (width<=420px){.project-gallery-controls{grid-template-columns:44px minmax(0,1fr) 44px;gap:4px}.project-detail-section .project-gallery-controls{gap:4px;display:flex}.project-gallery-arrow{padding-inline:4px;font-size:.8rem}.project-gallery-thumbnail{flex-basis:56px}}
