.entrant-id-tools{display:flex;gap:.6rem;align-items:center;min-width:0}
.entrant-id-tools input{flex:1;min-width:0}
.entrant-id-tools button{flex:none;white-space:nowrap;min-height:44px}
#judge-qr-dialog{width:min(560px,calc(100vw - 24px));max-width:560px;max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;padding:24px;border:1px solid #454545;border-radius:16px;background:#191919;color:#f5f5f5}
#judge-qr-dialog::backdrop{background:rgba(0,0,0,.8)}
#judge-qr-dialog .section-heading{align-items:center;gap:12px;margin-top:0}
#judge-qr-dialog h2{margin:0;font-size:1.5rem}
#judge-qr-dialog button{min-height:44px}
#judge-qr-close{white-space:nowrap}
#judge-qr-video{display:block;width:100%;max-height:34dvh;object-fit:contain;background:#050505;border-radius:10px;margin-bottom:14px}
#judge-qr-video[hidden],#judge-qr-preview[hidden]{display:none}
.qr-input-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.qr-photo-label{width:100%;font-size:.9rem}
.qr-photo-label input{margin-top:6px;width:100%;min-width:0;font-size:.9rem}
#judge-qr-status{min-height:1.5em;overflow-wrap:anywhere}
.qr-result{border:1px solid #ed1c24;border-radius:12px;padding:16px;margin:16px 0;background:#242424}
.qr-result h3{margin:0 0 12px}
.qr-result dl{display:grid;grid-template-columns:auto 1fr;gap:8px 16px;margin:0 0 18px}
.qr-result dt{color:#c9c9c9}.qr-result dd{margin:0;font-weight:700;overflow-wrap:anywhere;min-width:0}
.qr-text-fallback{margin:18px 0}.qr-text-fallback summary{cursor:pointer;padding:10px 0;min-height:44px;box-sizing:border-box}
.qr-text-fallback form{display:grid;gap:12px;margin-top:10px}
@media(max-width:480px){#judge-qr-dialog{padding:16px}.qr-result .inline-actions{display:grid;grid-template-columns:1fr}.entrant-id-tools{gap:.4rem}.entrant-id-tools button{padding:10px 12px}}
