*{box-sizing:border-box}body{margin:0;background:#141414;color:white;font:16px system-ui}.capture{height:100dvh;display:grid;grid-template-rows:56px minmax(0,1fr) 68px 70px}.capture header,.capture footer{display:grid;place-items:center}.capture figure{position:relative;margin:0;overflow:hidden}.capture figure img{width:100%;height:100%;object-fit:contain}.focus{position:absolute;inset:32% 12%;border:1px solid #ffdc75}.film{display:flex;gap:5px;align-items:center;justify-content:center}.film img{width:44px;height:52px;object-fit:cover;border-radius:5px}.film .selected{outline:3px solid #5ea4ff;outline-offset:1px}.capture[data-mode=camera] .film{visibility:hidden}.capture:not([data-mode=camera]) .focus{display:none}.capture button{background:white;color:#172d23;padding:12px 24px;border:0;border-radius:26px;font:600 15px system-ui}.capture[data-mode=scan] figure:after{content:"";position:absolute;inset:20% 8% auto;height:2px;background:#ffdf7e;animation:read .95s ease-in-out forwards}@keyframes read{to{top:78%}}@media(prefers-reduced-motion:reduce){.capture[data-mode=scan] figure:after{animation:none}}
