.challenge-actions{gap:10px;flex-wrap:wrap}.challenge-actions button[hidden]{display:none}
.challenge-dialog{width:min(1000px,calc(100% - 28px));max-width:1000px;max-height:calc(100dvh - 28px);padding:22px;border:1px solid #526553;border-radius:18px;background:#18231f;color:var(--text);box-shadow:0 24px 90px #000a;overflow:auto}.challenge-dialog::backdrop{background:#050907d9;backdrop-filter:blur(5px)}.challenge-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.challenge-heading .eyebrow{margin-bottom:7px}.challenge-heading h2{margin:0;font-size:clamp(18px,3vw,24px);letter-spacing:-.03em}.challenge-close{width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:#202c25;color:var(--text);font-size:25px;line-height:1;cursor:pointer}.challenge-instructions{max-width:760px;margin:14px 0;color:var(--muted);font-size:13px;line-height:1.55}.challenge-instructions strong{color:var(--text)}.challenge-screen{position:relative;display:grid;place-items:center;min-height:240px;max-height:calc(100dvh - 230px);overflow:auto;border:1px solid var(--line);border-radius:12px;background:#0c110e}.challenge-screen img{display:block;max-width:100%;max-height:calc(100dvh - 280px);object-fit:contain;touch-action:none;user-select:none;cursor:crosshair}.challenge-screen img[hidden]{display:none}.challenge-screen p{margin:14px;color:var(--muted);font-size:12px}.challenge-actions{display:flex;justify-content:flex-end;margin-top:14px}.challenge-actions button:disabled{opacity:.55;cursor:wait}.challenge-error{color:var(--red)!important}@media(max-width:600px){.challenge-dialog{padding:16px;border-radius:14px}.challenge-screen{min-height:190px;max-height:calc(100dvh - 245px)}.challenge-screen img{max-height:calc(100dvh - 300px)}.challenge-instructions{font-size:12px}}
