/* Shared confirmation dialog; intentionally scoped to both local clients. */
.vf-match-confirmation{box-sizing:border-box;width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #48616b;background:#10191e;color:#e8f1f3;padding:24px;box-shadow:0 16px 70px #0009;font:15px/1.5 system-ui,sans-serif}
.vf-match-confirmation::backdrop{background:#02090bc9}
.vf-match-confirmation *{box-sizing:border-box}
.vf-match-confirmation h2{margin:0 0 6px;font-size:23px;line-height:1.3}
.vf-confirm-context{margin:0 0 16px;color:#a9bec7;overflow-wrap:anywhere}
.vf-confirm-thumbnail{display:block;width:100%;max-height:160px;object-fit:cover;border:1px solid #34515c;margin-bottom:14px}
.vf-confirm-characters{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.vf-match-confirmation label{display:block;font-weight:600}
.vf-match-confirmation select,.vf-confirm-end input{display:block;width:100%;height:38px;margin-top:5px;padding:6px 9px;border:1px solid #48616b;border-radius:3px;background:#0a1216;color:#e8f1f3;font:inherit}
.vf-confirm-detected{font-size:12px;color:#a9bec7;margin:6px 0 14px}
.vf-match-confirmation .vf-confirm-check{display:flex;gap:9px;align-items:center;margin:14px 0;font-weight:500}
.vf-confirm-check input{width:17px;height:17px;margin:0;accent-color:#54dce8}
.vf-confirm-history{margin:16px 0}
.vf-confirm-history select{font-size:13px}
.vf-confirm-end input:disabled{opacity:.5}
.vf-confirm-help{color:#b8cbd2;font-size:13px;margin:10px 0 18px}
.vf-confirm-error{color:#ffd28e;background:#36291b;padding:10px;margin:12px 0}
.vf-confirm-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;flex-wrap:wrap}
.vf-confirm-actions button{font:inherit;font-weight:700;padding:10px 14px;border:1px solid #48616b;cursor:pointer}
.vf-confirm-later{background:#18272e;color:#e8f1f3}
.vf-confirm-save{background:#54dce8;color:#041316}
.vf-confirm-video{color:#80e7ee;font-size:13px;margin-right:auto;text-decoration:underline}
.vf-match-confirmation button:disabled{opacity:.5;cursor:wait}
.vf-match-confirmation :focus-visible,.vf-confirm-open:focus-visible{outline:2px solid #54dce8;outline-offset:3px}
.vf-confirm-open{font:inherit;color:#86e4ed;border:1px solid #3b5964;background:#122128;padding:3px 9px;cursor:pointer;white-space:nowrap}
.match-confirm-actions{display:flex;align-items:center;gap:12px}
.replay-choice{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.replay-confirmed{color:#8de6cc;font-size:12px}
@media(max-width:480px){.vf-match-confirmation{padding:18px}.vf-confirm-actions{gap:8px}.vf-confirm-actions button{padding:9px 10px}.vf-confirm-actions .vf-confirm-save{flex:1}.vf-confirm-history select{max-width:100%}}
