/* Kweko 4.0 — Kweko Vingerafdruk (eigen scherm, geen Google/Samsung) */
.kt-wrap{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-end;justify-content:center;padding:0;
  background:rgba(2,10,6,.55);opacity:0;transition:opacity .25s ease}
.kt-wrap.in{opacity:1}
.kt-wrap.out{opacity:0}
.kt-card{position:relative;width:100%;max-width:440px;padding:22px 22px max(22px,calc(var(--safe-b,0px) + 16px));border-radius:32px 32px 0 0;color:#fff;text-align:center;overflow:hidden;
  background:radial-gradient(130% 90% at 50% 0%,#1F9D55 0%,#0B3D24 48%,#050806 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 -20px 60px rgba(0,0,0,.4);
  transform:translateY(40px);transition:transform .45s var(--spring,cubic-bezier(.32,1.36,.5,1))}
.kt-wrap.in .kt-card{transform:none}
.kt-wrap.out .kt-card{transform:translateY(60px)}
@media (min-width:600px){.kt-wrap{align-items:center}.kt-card{border-radius:32px;padding-bottom:24px}}
.kt-brand{display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 7px;border-radius:999px;font:700 13px var(--font,system-ui);letter-spacing:.02em;background:rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}
.kt-logo{width:22px;height:22px;border-radius:7px;display:flex;align-items:center;justify-content:center;background:#fff;color:#1F9D55}
.kt-logo svg{width:16px;height:16px}
.kt-av{width:58px;height:58px;margin:16px auto 0;border-radius:50%;overflow:hidden;display:flex;align-items:center;justify-content:center;font:700 24px var(--font-display,system-ui);background:rgba(255,255,255,.16);box-shadow:0 0 0 2px rgba(255,255,255,.3)}
.kt-av img{width:100%;height:100%;object-fit:cover}
.kt-h{margin:14px 0 4px;font:700 22px var(--font-display,system-ui);letter-spacing:-.02em}
.kt-sub{margin:0 auto;max-width:320px;font-size:14.5px;line-height:1.4;opacity:.8}
.kt-pad{position:relative;width:132px;height:132px;margin:22px auto 10px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;cursor:pointer;
  background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.2),rgba(255,255,255,.05) 70%);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 0 0 1px rgba(255,255,255,.14),0 18px 40px -12px rgba(0,0,0,.6);
  transition:transform .25s var(--spring,ease),background .3s,box-shadow .3s;-webkit-tap-highlight-color:transparent}
.kt-pad:active{transform:scale(.94)}
.kt-pad:focus-visible{outline:3px solid #A8E596;outline-offset:4px}
.kt-art{position:relative;z-index:1;width:76px;height:76px}
.kt-ridges{stroke:currentColor;opacity:.92;transition:stroke .3s,opacity .3s}
.kt-ridges path{stroke-dasharray:120;stroke-dashoffset:0}
.kt-check{stroke:#fff;stroke-dasharray:50;stroke-dashoffset:50;opacity:0}
.kt-ring{position:absolute;inset:-8px;border-radius:50%;border:2px solid rgba(91,227,154,.0);transition:border-color .3s}
.kt-scan{position:absolute;left:18%;right:18%;top:22%;height:3px;border-radius:3px;opacity:0;background:linear-gradient(90deg,transparent,#A8E596,transparent);box-shadow:none}
/* idle: rustig ademen */
.kt-wrap:not(.scanning):not(.good):not(.bad) .kt-ring{border-color:rgba(91,227,154,.35);animation:ktBreath 2.4s ease-in-out infinite}
@keyframes ktBreath{0%,100%{transform:scale(1);opacity:.4}50%{transform:scale(1.08);opacity:1}}
/* bezig: lijnen tekenen + scanlijn */
.kt-wrap.scanning .kt-ridges path{animation:ktDraw 1.6s ease-in-out infinite}
.kt-wrap.scanning .kt-ridges path:nth-child(2n){animation-delay:.15s}
.kt-wrap.scanning .kt-ridges path:nth-child(3n){animation-delay:.3s}
@keyframes ktDraw{0%{stroke-dashoffset:120}55%{stroke-dashoffset:0}100%{stroke-dashoffset:-120}}
.kt-wrap.scanning .kt-scan{opacity:1;animation:ktScan 1.3s ease-in-out infinite alternate}
@keyframes ktScan{from{top:20%}to{top:78%}}
.kt-wrap.scanning .kt-ring{border-color:#A8E596;animation:ktBreath 1s ease-in-out infinite}
/* gelukt */
.kt-wrap.good .kt-pad{background:radial-gradient(circle at 50% 35%,#A8E596,#1F9D55 75%);box-shadow:0 0 0 6px rgba(91,227,154,.25)}
.kt-wrap.good .kt-ridges{opacity:0}
.kt-wrap.good .kt-check{opacity:1;stroke-dashoffset:0;transition:stroke-dashoffset .45s .05s ease,opacity .1s}
/* mislukt */
.kt-wrap.bad .kt-pad{animation:ktShake .45s ease;box-shadow:0 0 0 2px rgba(255,90,80,.7),0 18px 40px -12px rgba(0,0,0,.6)}
.kt-wrap.bad .kt-ridges{stroke:#FF8A80}
@keyframes ktShake{20%,60%{transform:translateX(-9px)}40%,80%{transform:translateX(9px)}}
.kt-msg{min-height:40px;margin:6px auto 0;max-width:320px;font:600 15px/1.35 var(--font,system-ui)}
.kt-btns{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:10px}
.kt-link{min-height:44px;padding:0 18px;border-radius:999px;font:600 15px var(--font,system-ui);color:#fff;background:rgba(255,255,255,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}
.kt-link.kt-cancel{background:none;box-shadow:none;opacity:.75}
.kt-foot{display:flex;align-items:center;justify-content:center;gap:6px;margin:14px 0 0;font-size:12.5px;opacity:.65}
.kt-foot svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
@media (prefers-reduced-motion:reduce){.kt-wrap *{animation:none !important;transition:none !important}}
/* knoppen op het inlogscherm en vergrendelscherm */
.kq-card .kq-bio{width:auto;padding:0 16px 0 12px;gap:6px;border-radius:999px;font:700 14px var(--font)}
.kq-card .kq-bio span{white-space:nowrap}
.lock-bio .icon,.kq-bio .icon{stroke-width:1.9}
.kt-wrap button{border:0;font-family:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}
.kt-wrap.good .kt-ridges{opacity:0;transition:opacity .15s}
.kt-wrap.good .kt-ring{border-color:rgba(91,227,154,.6)}
