*{box-sizing:border-box}body{font:16px Arial,sans-serif;margin:0;background:#f0f5fa;color:#092f62}header{background:#fff;padding:12px 16px;display:flex;align-items:center;gap:14px;border-bottom:4px solid #092f62}header img{width:130px}header strong{border-left:1px solid #afbdcb;padding-left:14px}main{max-width:610px;margin:auto;padding:18px}.intro small{color:#be1e32;font-weight:bold}.intro h1{font-size:29px;margin:8px 0}.intro p{color:#425874}.camera{position:relative;min-height:230px;border-radius:12px;overflow:hidden;background:#10243b}video{width:100%;max-height:410px;min-height:230px;display:block;object-fit:contain}.target{position:absolute;inset:23% 10%;border:2px solid #fff;border-radius:10px;pointer-events:none;box-shadow:0 0 0 100vmax #0003}.target:after{content:'';position:absolute;top:50%;left:8%;right:8%;height:2px;background:#ef273d;box-shadow:0 0 10px #ff1c2b}button,input{font:inherit;padding:11px 14px;border:1px solid #a8bbd1;border-radius:7px;min-height:44px}button{background:#092f62;color:#fff;cursor:pointer;font-weight:bold}.outline{background:white;color:#092f62}.buttons{display:flex;flex-wrap:wrap;gap:8px}button:disabled{opacity:.5}input{display:block;width:100%;margin:8px 0}.photo{display:block;margin:14px 0}.foot{font-size:12px;color:#526884}footer{background:#092f62;color:white;padding:15px;text-align:center;font-size:12px}[hidden]{display:none!important}
@media(max-width:360px){header{padding:9px;gap:8px}header img{width:105px}header strong{font-size:13px;padding-left:8px}main{padding:12px}.intro h1{font-size:24px}.camera,video{min-height:160px}.buttons>*{flex:1;min-width:0;font-size:14px}}
@media(orientation:landscape) and (max-height:500px){video{min-height:120px;max-height:45vh}.camera{min-height:120px}.intro h1{font-size:22px}}
