diff --git a/templates/index.html b/templates/index.html index fb571b0..5030c4b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -190,6 +190,16 @@ object-fit: cover; transform: scaleX(-1); } + /* Овал — безопасная зона: лицо должно помещаться в него целиком */ + .scan-oval { + position: absolute; + inset: 12%; + border: 3px solid rgba(255, 255, 255, 0.9); + border-radius: 50%; + box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.4); + pointer-events: none; + z-index: 2; + } .scan-progress { color: #fff; margin-top: 20px; font-size: 16px; text-align: center; } .scan-progress-bar { width: 280px; @@ -414,6 +424,7 @@