.overlay-container.svelte-1sldvdy{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:10}.overlay-svg.svelte-1sldvdy{width:100%;height:100%}.guidance-pill.svelte-1sldvdy{position:absolute;top:10%;left:50%;transform:translate(-50%);background:#0009;color:#fff;padding:8px 16px;border-radius:20px;font-size:14px;font-weight:500;backdrop-filter:blur(4px);transition:opacity .3s}.cropper-container.svelte-xa7i0f{position:relative;width:100%;height:100%;touch-action:none;user-select:none;background:#000}.source-img.svelte-xa7i0f{width:100%;height:100%;object-fit:contain;pointer-events:none}.cropper-overlay.svelte-xa7i0f{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.handle.svelte-xa7i0f{position:absolute;width:44px;height:44px;background:transparent;transform:translate(-50%,-50%);cursor:grab;pointer-events:auto;touch-action:none;display:flex;justify-content:center;align-items:center}.handle.svelte-xa7i0f:after{content:"";width:20px;height:20px;background:#4ade80;border:2px solid white;border-radius:50%;box-shadow:0 0 4px #0000004d}.handle.svelte-xa7i0f:active:after{transform:scale(1.2);background:#22c55e}.scanner-root.svelte-4j8hpp{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;background:#000;z-index:9999;display:flex;flex-direction:column;overflow:hidden}.camera-video.svelte-4j8hpp{width:100%;height:100%;object-fit:contain;background:#000}.controls.svelte-4j8hpp,.crop-controls.svelte-4j8hpp,.result-controls.svelte-4j8hpp{position:absolute;bottom:0;left:0;width:100%;display:flex;justify-content:center;align-items:center;gap:20px;pointer-events:none;z-index:100;padding-top:0;padding-left:max(20px,env(safe-area-inset-left,20px));padding-right:max(20px,env(safe-area-inset-right,20px));padding-bottom:calc(50px + env(safe-area-inset-bottom,0px));box-sizing:border-box}.shutter-btn.svelte-4j8hpp,.retry-btn.svelte-4j8hpp,.save-btn.svelte-4j8hpp,.close-btn.svelte-4j8hpp{pointer-events:auto}.shutter-btn.svelte-4j8hpp{width:80px;height:80px;border-radius:50%;border:4px solid white;background:#ffffff1a;position:relative;cursor:pointer;pointer-events:auto;touch-action:manipulation}.shutter-btn.svelte-4j8hpp:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:60px;height:60px;background:#fff;border-radius:50%;transition:transform .1s}.shutter-btn.svelte-4j8hpp:active:after{transform:translate(-50%,-50%) scale(.9)}.close-btn.svelte-4j8hpp{position:absolute;top:max(20px,env(safe-area-inset-top,10px));left:max(20px,env(safe-area-inset-left,10px));background:#00000080;color:#fff;border:none;font-size:28px;width:48px;height:48px;border-radius:50%;cursor:pointer;z-index:20;display:flex;align-items:center;justify-content:center;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.crop-view.svelte-4j8hpp,.result-view.svelte-4j8hpp{position:absolute;top:0;left:0;width:100%;height:100%;background:#111;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:max(20px,env(safe-area-inset-top,20px));padding-bottom:max(140px,calc(140px + env(safe-area-inset-bottom,0px)));padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px);box-sizing:border-box}.result-img.svelte-4j8hpp{max-width:90%;max-height:80%;border:1px solid #333;object-fit:contain}.retry-btn.svelte-4j8hpp,.save-btn.svelte-4j8hpp{padding:14px 28px;font-size:16px;font-weight:600;border-radius:28px;border:none;cursor:pointer;min-width:120px;min-height:48px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform .1s,background .2s}.retry-btn.svelte-4j8hpp{background:#444;color:#fff}.retry-btn.svelte-4j8hpp:active{background:#555;transform:scale(.96)}.save-btn.svelte-4j8hpp{background:#4ade80;color:#000}.save-btn.svelte-4j8hpp:active{background:#22c55e;transform:scale(.96)}.loading-overlay.svelte-4j8hpp{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:200;color:#fff;display:flex;flex-direction:column;align-items:center;background:#000000b3;padding:20px;border-radius:12px}.error-toast.svelte-4j8hpp{position:absolute;top:80px;left:50%;transform:translate(-50%);background:#ef4444;color:#fff;padding:8px 16px;border-radius:20px;font-size:14px;z-index:200}.spinner.svelte-4j8hpp{width:40px;height:40px;border:4px solid #4ade80;border-top-color:transparent;border-radius:50%;animation:svelte-4j8hpp-spin 1s linear infinite;margin-bottom:10px}@keyframes svelte-4j8hpp-spin{to{transform:rotate(360deg)}}@media(max-width:768px){.controls.svelte-4j8hpp,.crop-controls.svelte-4j8hpp,.result-controls.svelte-4j8hpp{padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))}.close-btn.svelte-4j8hpp{font-size:32px;width:52px;height:52px}}@media(max-height:500px)and (orientation:landscape){.controls.svelte-4j8hpp,.crop-controls.svelte-4j8hpp,.result-controls.svelte-4j8hpp{padding-bottom:calc(25px + env(safe-area-inset-bottom,0px));gap:15px}.shutter-btn.svelte-4j8hpp{width:70px;height:70px}.shutter-btn.svelte-4j8hpp:after{width:52px;height:52px}.crop-view.svelte-4j8hpp,.result-view.svelte-4j8hpp{padding-bottom:max(100px,calc(100px + env(safe-area-inset-bottom,0px)))}}html{overflow:hidden;height:100%;position:fixed;width:100%}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;background:#f0f0f0;user-select:none;-webkit-user-select:none;overflow:hidden;height:100%;width:100%;position:fixed;overscroll-behavior:none;-webkit-overflow-scrolling:touch}.container.svelte-1n46o8q{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;height:100dvh;gap:20px;overflow:hidden;width:100%}.options.svelte-1n46o8q{display:flex;gap:15px;font-size:16px;color:#333}label.svelte-1n46o8q{display:flex;align-items:center;gap:8px;cursor:pointer}input[type=checkbox].svelte-1n46o8q{width:20px;height:20px}h1.svelte-1n46o8q{margin:0;color:#333}.btn.svelte-1n46o8q{padding:15px 30px;font-size:18px;background:#007bff;color:#fff;border:none;border-radius:8px;cursor:pointer;box-shadow:0 4px 6px #0000001a;transition:transform .1s}.btn.svelte-1n46o8q:active{transform:scale(.95)}
