/* «Scatta da remoto» per via diretta: la fotocamera a tutto schermo, un pannello in basso, le cifre del conto grandi. */
:root { --blu: #123F78; --rosso: #B4261A; }
html, body { margin: 0; height: 100%; background: #000; color: #fff; font: 17px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; }
video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.segno { position: fixed; top: calc(env(safe-area-inset-top) + 8px); left: 50%; transform: translateX(-50%); z-index: 3; padding: .3rem .8rem; border-radius: 999px; background: var(--rosso); font-size: .85rem; font-weight: 700; white-space: nowrap; }
.conto { position: fixed; inset: 0; z-index: 2; display: grid; place-items: center; font-size: 34vw; font-weight: 800; color: #fff; text-shadow: 0 4px 30px rgba(0,0,0,.7); }
.pannello { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3; padding: 16px 16px calc(env(safe-area-inset-bottom) + 16px); background: rgba(0,0,0,.72); }
h1 { margin: 0 0 .3rem; font-size: 1.15rem; }
.test { margin: 0 0 .4rem; font-size: 1.3rem; font-weight: 700; }
.esito { font-weight: 600; overflow-wrap: anywhere; }
.esito.ok { color: #7fe0b1; }
.esito.no { color: #ffb4ab; }
.dettaglio { margin: .3rem 0 0; color: #d6dde6; font-size: .9rem; overflow-wrap: anywhere; }
button { width: 100%; margin-top: .7rem; padding: .85rem; font: inherit; font-weight: 700; color: #fff; background: var(--blu); border: 0; border-radius: 12px; }
[hidden] { display: none !important; }
