
.shot-phases,.shot-gallery nav{display:flex;flex-wrap:wrap;gap:.45rem}
.shot-phases:empty,.shot-phases button[hidden],#rebuild[hidden],.shot-gallery [hidden]{display:none}
.shot-gallery{box-sizing:border-box;width:min(94vw,52rem);max-height:94dvh;overflow:auto;padding:.7rem;border:0;border-radius:.9rem;background:#17252a;color:white}
.shot-gallery::backdrop{background:rgba(6,15,18,.8)}
.shot-gallery header{position:static;background:transparent;padding:0 0 .6rem;display:flex;justify-content:space-between;align-items:center;color:inherit}
.shot-gallery figure{width:fit-content;max-width:100%;margin:0 auto .6rem;position:relative}
.shot-gallery img{display:block;width:auto;height:auto;max-width:100%;max-height:65vh;object-fit:contain}
.shot-gallery .shot-save{position:absolute;bottom:.6rem;right:.6rem;width:44px;height:44px;display:grid;place-items:center;background:rgba(10,20,22,.58);color:#fff;border:1px solid rgba(255,255,255,.65);border-radius:50%;box-sizing:border-box}
.shot-gallery .shot-save:focus-visible{outline:3px solid white;outline-offset:2px}
.shot-gallery .shot-save svg{width:23px;height:23px}
.shot-gallery nav{justify-content:center}.shot-gallery nav [aria-pressed=true]{background:#c8ed73;color:#182719}
.shot-phases[hidden],#retry-measures[hidden],.processing-actions button[hidden]{display:none!important}
.shot-gallery figure .shot-save{display:inline-flex;width:auto;max-width:calc(100% - 1.2rem);min-height:44px;height:auto;align-items:center;justify-content:center;gap:.4rem;padding:.45rem .75rem;background:rgba(12,28,34,.56);color:#fff;border-radius:1.5rem;text-decoration:none;font:650 14px/1.15 system-ui;text-shadow:0 1px 2px #162c33}
.shot-gallery figure .shot-save svg{width:18px;height:18px;flex:none}
.shot-gallery [data-share]:not([hidden]){display:block;margin:.55rem auto 0}

