/* The shot row: browser-framed desktop shots in one row that fits the width, and a swipe slider (scroll-snap) wherever the row is
   wider than its box, which is every phone. Markup: assets/eh-shotrow.js. Dots and arrow keys: assets/eh-shots.js. Palette: Electric Head. */
.shots{--sh-edge:#CFCFCF;--sh-bar:#EDEDED;--sh-barline:#CFCFCF;--sh-bardot:#B5B5B5;--sh-img:#F3F3F3;--sh-ph:#1F1F1F;--sh-dot:#C4C4C4;--sh-on:#1F1F1F;--sh-focus:#1F1F1F;min-width:0;max-width:100%}
.eh .shots,.plain .shots{--sh-edge:var(--edge);--sh-bar:#1A1A1A;--sh-barline:var(--edge);--sh-bardot:#3A3A3A;--sh-img:#111;--sh-ph:#2E2E2E;--sh-dot:#3A3A3A;--sh-on:var(--acid);--sh-focus:var(--acid)}
.shots ul.shots-track{position:relative;display:flex;gap:16px;list-style:none;margin:0;padding:0 0 4px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--sh-dot) transparent;-webkit-overflow-scrolling:touch}
.shots-track:focus-visible{outline:2px solid var(--sh-focus);outline-offset:3px}
.shot{flex:1 0 220px;min-width:0;scroll-snap-align:start}
.shots li.shot{margin:0;padding:0}
.shot img{display:block;width:100%;height:auto;background:var(--sh-img)}
.shot .desk{border:1px solid var(--sh-edge);border-radius:10px;overflow:hidden;background:var(--sh-img)}
.shot .desk .bar{display:flex;gap:6px;align-items:center;height:22px;padding:0 10px;background:var(--sh-bar);border-bottom:1px solid var(--sh-barline)}
.shot .desk .bar i{width:7px;height:7px;border-radius:50%;background:var(--sh-bardot)}
.shot .ph{border:7px solid var(--sh-ph);border-radius:30px;overflow:hidden;background:var(--sh-ph)}
.shot .ph img{border-radius:22px}
/* phone shots (the Loyalty app): narrow slides, centred while they fit */
.phones .shot{flex:0 0 190px}
.phones .shot:first-child{margin-left:auto}.phones .shot:last-child{margin-right:auto}
/* small thumbnails (the terminal's projects list and the plain page) */
.shots.sm .shot{flex:0 0 180px}
.shots.sm .desk{border-radius:6px}
.shots.sm .desk .bar{height:14px;padding:0 7px;gap:4px}.shots.sm .desk .bar i{width:5px;height:5px}
.shots.sm ul.shots-track{gap:10px}
/* dots: only while the row is wider than its box */
.shots-dots{display:none;justify-content:center;gap:2px;margin-top:8px}
.shots.over .shots-dots{display:flex}
.shots-dots button{appearance:none;border:0;background:none;padding:0;width:22px;height:22px;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.shots-dots button::before{content:"";width:7px;height:7px;border-radius:4px;background:var(--sh-dot);transition:width .18s,background-color .18s}
.shots-dots button[aria-current]::before{width:18px;background:var(--sh-on)}
.shots-dots button:focus-visible{outline:2px solid var(--sh-focus);outline-offset:-2px}
@media (prefers-reduced-motion:reduce){.shots-dots button::before{transition:none}}
/* phones: each slide about 85% wide so the next one peeks in */
@media (max-width:700px){
  .shot{flex:0 0 85%}
  .phones .shot{flex:0 0 min(62%,240px)}
  .shots.sm .shot{flex:0 0 min(180px,60%)}
}
