:root { color-scheme: dark; font-family: "Segoe UI", system-ui, sans-serif; background: #000000; color: #f5f5f5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: max(28px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom)); background: radial-gradient(ellipse at 50% 0, #242424 0, transparent 65%); }
.card { width: 100%; max-width: 440px; padding: 32px; border: 1px solid #333333; border-radius: 24px; background: #111111; box-shadow: 0 24px 80px #0005; }
.brand { display: flex; align-items: center; gap: 12px; color: #ffffff; font-size: 20px; font-weight: 650; letter-spacing: .23em; margin-bottom: 32px; }
.orb { width: 32px; height: 32px; border: 2px solid #ffffff; border-radius: 50%; box-shadow: 0 0 20px #ffffff33, inset 0 0 9px #ffffff33; }
.eyebrow { font-size: 10px; letter-spacing: .14em; color: #a3a3a3; font-weight: 600; }
h1 { font-size: clamp(24px, 6vw, 29px); margin: 10px 0; line-height: 1.2; }
p { font-size: 14px; line-height: 1.55; }
.muted, footer { color: #a3a3a3; }
#message { margin: 16px 0; overflow-wrap: anywhere; color: #e5e5e5; }
#message:empty { display: none; }
label { display: block; margin: 18px 0 7px; font-size: 13px; font-weight: 600; }
input { width: 100%; min-height: 48px; padding: 12px; border: 1px solid #4a4a4a; border-radius: 10px; color: #f5f5f5; background: #080808; font: inherit; font-size: 16px; }
input:focus, button:focus-visible, a:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
button, .button { display: block; width: 100%; min-height: 48px; padding: 13px 12px; margin-top: 18px; border: 1px solid transparent; border-radius: 10px; background: #ffffff; color: #111111; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; text-decoration: none; text-align: center; }
.secondary { background: transparent; color: #d4d4d4; border-color: #404040; margin-top: 12px; }
.danger { color: #e5e5e5; }
button:disabled { cursor: wait; opacity: .55; }
.computer { display: flex; gap: 14px; align-items: center; padding: 16px; margin-top: 20px; border: 1px solid #404040; border-radius: 12px; }
.computer > span { font-size: 32px; color: #ffffff; }
.computer div { min-width: 0; }
.computer strong, .computer small { display: block; overflow-wrap: anywhere; }
.computer small { color: #a3a3a3; margin-top: 5px; }
.success { color: #f5f5f5; }
.identity { color: #d4d4d4; overflow-wrap: anywhere; }
.steps { background: #1c1c1c; padding: 18px; border-radius: 12px; margin-top: 20px; font-size: 14px; line-height: 1.6; }
ol { padding-left: 20px; margin-bottom: 0; }
li + li { margin-top: 8px; }
footer { border-top: 1px solid #333333; padding-top: 24px; margin-top: 28px; text-align: center; font-size: 12px; line-height: 1.8; }
@media (max-width: 360px) { .card { padding: 24px 20px; } body { padding-inline: 12px; } }
#scanner { margin-top: 20px; }
#scan-video { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid #404040; border-radius: 16px; background: #000000; }
