/* Pelk FaceFit — extracted stylesheet */
#pelk-facefit-root{display:none}

.pelkff-modal{position:fixed;inset:auto auto 5% 50%;transform:translateX(-50%);width:min(92vw,640px);background:#111;border-radius:14px;box-shadow:0 20px 60px rgba(0,0,0,.5);color:#eee;z-index:999999;display:flex;flex-direction:column}
@media (max-width:640px){.pelkff-modal{inset:0;transform:none;width:100vw;height:100vh;border-radius:0}}
.pelkff-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);backdrop-filter:saturate(60%) blur(2px);z-index:999998}
.pelkff-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid rgba(255,255,255,.06)}
.pelkff-title{font-weight:700}
.pelkff-close{background:#1f1f1f;border:0;color:#ddd;padding:8px 12px;border-radius:10px;cursor:pointer}
.pelkff-body{padding:12px 16px}
.pelkff-status{font-size:.92rem;opacity:.95;margin-bottom:8px;min-height:1.3em}
.pelkff-canvas-wrap{position:relative;background:#000;border-radius:12px;overflow:hidden;aspect-ratio:3/4}
.pelkff-video,.pelkff-canvas{position:absolute;inset:0;width:100%;height:100%}
.pelkff-video{object-fit:cover}
.pelkff-foot{display:flex;gap:8px;padding:12px 16px;border-top:1px solid rgba(255,255,255,.06);align-items:center;justify-content:space-between}
.pelkff-start{background:var(--pelk-ff-theme,#ff1e56);border:0;color:#fff;padding:10px 16px;border-radius:10px;cursor:pointer}
.pelkff-start[disabled]{opacity:.55;cursor:not-allowed}
.pelkff-secondary{background:#222;border:1px solid rgba(255,255,255,.12);color:#e6e6e6;padding:10px 14px;border-radius:10px;cursor:pointer}
.pelkff-privacy{font-size:.88rem;opacity:.85;margin-top:4px}
.pelkff-choices{display:none;gap:8px}
.pelkff-choice{background:#222;border:1px solid rgba(255,255,255,.14);color:#eaeaea;padding:8px 12px;border-radius:10px;cursor:pointer}

/* Debug overlay — appears AFTER scan finishes */
.pelkff-debug{position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,.55); z-index:1000001; opacity:0; transition:opacity .35s ease}
.pelkff-debug-card{width:min(92vw,520px); background:rgba(15,15,15,.96); color:#e6e6e6; border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:16px 18px; box-shadow:0 20px 60px rgba(0,0,0,.55); font:13px/1.45 sans-serif}
.pelkff-debug .title{font-weight:800;font-size:14px;opacity:.9;margin-bottom:10px}
.pelkff-debug .tops{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:12px}
.pelkff-debug .top{background:#1c1c1c; border:1px solid rgba(255,255,255,.10); border-radius:12px; padding:10px 12px; text-align:center}
.pelkff-debug .top .label{display:block;font-weight:800;font-size:18px;margin-bottom:4px}
.pelkff-debug .top .pct{display:block;font-weight:700;opacity:.9;font-size:14px}
.pelkff-debug table{width:100%;border-collapse:collapse;margin-top:6px}
.pelkff-debug td{padding:2px 6px;vertical-align:top}
.pelkff-debug .k{opacity:.78}
.pelkff-debug .v{font-weight:600}
.pelkff-debug .hot{color:#aef1a6}
.pelkff-debug .warn{color:#ffdf8a}
.pelkff-debug .bad{color:#ff8a8a}