/* Coordinates follow the camera target in the final mobile admin screenshot. */
.bp-sp-screen-frame--scan { position:relative; }
.bp-sp-scan {
 position:absolute; display:block; inset:15.6% 24.2% auto; height:26%;
 color:var(--primary); overflow:hidden; border-radius:9%; pointer-events:none;
}
.bp-sp-scan-frame { position:absolute; inset:0; border:1px solid currentColor; border-radius:inherit; opacity:.5; }
.bp-sp-scan-beam { position:absolute; inset:0 0 auto; height:2px; opacity:0; background:currentColor; box-shadow:0 0 12px currentColor; }
.bp-sp-scan-beam::before { content:""; position:absolute; inset:auto 0 0; height:32px; background:linear-gradient(transparent,color-mix(in srgb,currentColor 28%,transparent)); }
.bp-sp-scan-confirm { position:absolute; inset:50% auto auto 50%; display:flex; align-items:center; justify-content:center; width:25%; aspect-ratio:1; border-radius:50%; background:currentColor; opacity:0; transform:translate(-50%,-50%); }
.bp-sp-scan-confirm svg { width:58%; height:58%; color:var(--bg-light-4); fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
@media(prefers-reduced-motion:no-preference) {
 .bp-sp-scan[data-scanning] .bp-sp-scan-frame { animation:bp-sp-scan-lock var(--bp-sp-scan-duration,4s) ease-in-out infinite; }
 .bp-sp-scan[data-scanning] .bp-sp-scan-beam { animation:bp-sp-scan-sweep var(--bp-sp-scan-duration,4s) ease-in-out infinite; }
 .bp-sp-scan[data-scanning] .bp-sp-scan-confirm { animation:bp-sp-scan-confirm var(--bp-sp-scan-duration,4s) ease-in-out infinite; }
 .bp-sp-shot:not(.is-active) .bp-sp-scan :is(.bp-sp-scan-frame,.bp-sp-scan-beam,.bp-sp-scan-confirm) { animation:none; }
 @keyframes bp-sp-scan-sweep { 0%,8%{top:5%;opacity:0} 14%{opacity:1} 56%{top:95%;opacity:1} 63%,100%{top:95%;opacity:0} }
 @keyframes bp-sp-scan-lock { 0%,55%,94%,100%{opacity:.4} 62%,88%{opacity:1} }
 @keyframes bp-sp-scan-confirm { 0%,58%,96%,100%{opacity:0;transform:translate(-50%,-50%) scale(.85)} 66%,86%{opacity:1;transform:translate(-50%,-50%) scale(1)} }
}
