:root{--bg:#f3f2f1;--card:#fff;--ink:#201f1e;--sub:#605e5c;--blue:#0f6cbd;--ok:#107c10;--bad:#c4314b;--line:#e1dfdd}
*{box-sizing:border-box}html,body{margin:0;height:100%}
body{font-family:"Segoe UI",system-ui,-apple-system,Roboto,sans-serif;background:var(--bg);color:var(--ink);-webkit-user-select:none;user-select:none;display:flex;justify-content:center}
input,textarea{-webkit-user-select:text;user-select:text}
.wrap{width:100%;max-width:440px;padding:20px 16px;display:flex;flex-direction:column;gap:14px}
.card{background:var(--card);border-radius:14px;padding:20px;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.row{display:flex;align-items:center;gap:12px}
.av{width:44px;height:44px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:600}
.name{font-weight:600}.sub{color:var(--sub);font-size:13px}
h1{font-size:22px;margin:0 0 6px}p{margin:0 0 12px;line-height:1.45}
.btn{display:block;width:100%;border:0;border-radius:8px;background:var(--blue);color:#fff;font:600 16px inherit;padding:13px;text-align:center;text-decoration:none;cursor:pointer}
.btn.ghost{background:transparent;color:var(--blue)}
.otp{display:flex;gap:12px;justify-content:center;margin:18px 0}
.otp input{width:76px;height:92px;font:600 48px "Segoe UI",sans-serif;text-align:center;text-transform:uppercase;border:2px solid var(--line);border-radius:12px;outline:0;caret-color:var(--blue)}
.otp input:focus{border-color:var(--blue)}
.err{color:var(--bad);font-size:14px;min-height:20px;text-align:center}
video{width:100%;border-radius:12px;background:#000;aspect-ratio:1}
.tick{width:120px;height:120px;margin:10px auto}.tick circle{fill:none;stroke:var(--ok);stroke-width:5;stroke-dasharray:300;stroke-dashoffset:300;animation:d .5s forwards}
.tick path{fill:none;stroke:var(--ok);stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:60;stroke-dashoffset:60;animation:d .4s .4s forwards}
@keyframes d{to{stroke-dashoffset:0}}
.center{text-align:center}
table{width:100%;border-collapse:collapse;font-size:14px}td,th{padding:8px 6px;border-bottom:1px solid var(--line);text-align:left}
textarea{width:100%;min-height:150px;border:1px solid var(--line);border-radius:8px;padding:8px;font:13px monospace}
.flag{color:var(--bad);font-size:12px}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01s!important}}
