.scan-intro{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;background:#0d293a;border:1px solid #285b75;border-radius:6px;margin-bottom:18px}.scan-intro h4{margin:0 0 7px;font-size:14px;color:#e8f6ff}.scan-intro p{margin:0;font-size:12px;color:#97bed6;line-height:1.6}.scan-intro .button{flex-shrink:0;border:0;cursor:pointer;font-size:12px;padding:12px 18px}.scan-message{font-size:12px;color:#9cdcf0;line-height:1.6;margin:12px 0}.scan-dialog{width:min(820px,94vw);max-height:92dvh;overflow:auto;border:1px solid #3c6983;border-radius:10px;padding:23px;background:#0c1823;color:#edf5fa;box-shadow:0 25px 90px #000a}.scan-dialog::backdrop{background:#000b}.scan-dialog-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:15px}.scan-dialog h2{font:400 29px Impact,Arial,sans-serif;margin:0}.scan-close{border:1px solid #436278;background:#102838;color:#dceef8;padding:9px 13px;border-radius:5px;cursor:pointer;font:700 12px Arial}.scan-instruction{font-size:13px;color:#a8c6d9;line-height:1.6;margin:0 0 15px}.scan-stage{position:relative;background:#030a10;overflow:hidden;max-height:53dvh;min-height:130px;aspect-ratio:16/9;border:1px solid #31556d;border-radius:6px}.scan-stage video{width:100%;height:100%;display:block;object-fit:contain}.scan-card-guide{position:absolute;top:50%;left:50%;height:82%;aspect-ratio:5/7;transform:translate(-50%,-50%);border:2px dashed #00cfff;border-radius:4px;pointer-events:none;box-shadow:0 0 0 2000px #0003}.scan-status{margin:12px 0;color:#a6d6eb;font-size:12px;line-height:1.6;min-height:20px}.scan-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.scan-actions button{font:700 12px Arial;border-radius:5px;padding:12px 18px;cursor:pointer;border:1px solid #345a72;background:#132e40;color:#d8edfa}.scan-actions .scan-primary{background:#00cfff;color:#042031;border-color:#00cfff}.scan-actions button:disabled{opacity:.45;cursor:wait}.scan-review{background:#040c13;border:1px solid #31556d;border-radius:6px;text-align:center;padding:8px}.scan-review img{display:block;width:100%;max-height:53dvh;object-fit:contain}.scan-dialog [hidden]{display:none!important}.scan-thumbnails{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0 18px}.scan-thumbnail{margin:0;width:110px}.scan-thumbnail img{width:110px;height:100px;object-fit:contain;background:#08111a;border:1px solid #315169;border-radius:4px}.scan-thumbnail figcaption{font-size:10px;color:#92b8ce;text-align:center;margin-top:6px}.scan-dialog button:focus-visible,.scan-intro button:focus-visible{outline:2px solid white;outline-offset:3px}@media(max-width:600px){.scan-intro{align-items:flex-start;flex-direction:column}.scan-dialog{padding:17px}.scan-dialog h2{font-size:25px}.scan-stage{max-height:48dvh}.scan-actions button{padding:12px 14px}}
