/* BLUFF Stage 5: responsive, accessible interactive puzzle */
.puzzle-v5{padding:18px 0 max(24px,env(safe-area-inset-bottom))}
.puzzle-progress-label{display:flex;justify-content:space-between;align-items:center;gap:10px;color:var(--bl-muted);font-size:13px;font-weight:700;margin-bottom:8px}
.puzzle-v5 .progress{margin:0 0 14px;height:7px;border-radius:99px;overflow:hidden}
.puzzle-head{text-align:center;padding:0 6px 14px}
.puzzle-head .mini{color:var(--bl-cyan);font-size:12px;letter-spacing:.4px}
.puzzle-emblem{width:74px;height:74px;margin:10px auto;border-radius:21px;display:grid;place-items:center;background:linear-gradient(145deg,#203e76,#111b41);border:1px solid rgba(246,198,95,.7);box-shadow:0 0 25px rgba(80,142,255,.15),inset 0 0 20px rgba(80,142,255,.08);transform:rotate(-7deg)}
.puzzle-emblem span{font-size:46px;font-weight:900;color:var(--bl-gold);transform:rotate(7deg);line-height:1}
.puzzle-head h1{font-size:clamp(27px,7vw,35px);margin:8px 0;line-height:1.3}
.puzzle-head p{font-size:14px;color:var(--bl-muted);line-height:1.7;margin:0}
.puzzle-card{border:1px solid var(--bl-border);border-radius:var(--bl-radius-lg);padding:15px 12px;background:linear-gradient(160deg,rgba(19,36,75,.95),rgba(8,19,44,.98));box-shadow:0 14px 30px rgba(0,0,0,.17)}
.puzzle-card-label{color:var(--bl-muted);font-size:12px;margin:0 3px 12px;text-align:center}
.puzzle-choices{display:grid;gap:12px}
.puzzle-choices .choice{width:100%;min-height:82px;display:flex;align-items:center;gap:12px;padding:15px 13px;text-align:start;line-height:1.6;font-size:clamp(14px,3.9vw,17px);box-shadow:none;transition:border-color .15s,background .15s}
.puzzle-choices .letter{flex:none;display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:rgba(83,141,230,.15);border:1px solid rgba(126,173,247,.4);color:var(--bl-cyan);font-weight:800}
.puzzle-choices .choice-copy{flex:1;min-width:0;overflow-wrap:anywhere}
.puzzle-choices .choice.selected{border:2px solid var(--bl-gold);background:linear-gradient(120deg,#283e65,#151d41)}
.puzzle-choices .choice.correct{border:2px solid var(--bl-success);background:linear-gradient(120deg,#123e45,#132342)}
.puzzle-choices .choice.wrong{border:2px solid var(--bl-error);background:linear-gradient(120deg,#4a203c,#171b39)}
.puzzle-choices .choice:disabled{opacity:1}
.puzzle-choices .choice[aria-hidden=true]{opacity:.28}
.answer-mark{flex:none;font-size:24px;font-weight:900}
.puzzle-state{font-size:13px;min-height:22px;text-align:center;color:var(--bl-muted);margin:14px 0 8px}
.puzzle-v5 .hinttext{font-size:13px;line-height:1.6;margin:12px 4px 0}
.puzzle-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:10px;align-items:stretch;margin-top:12px}
.puzzle-actions .hintbtn,.puzzle-actions .btn{min-width:0;min-height:54px;white-space:normal}
.puzzle-v5 .reveal{margin-top:10px;border-radius:var(--bl-radius-lg);padding:18px;line-height:1.8}
.puzzle-v5 .reveal h2{font-size:20px;margin:8px 0}
.puzzle-v5 .reveal p{overflow-wrap:anywhere}
.puzzle-result-symbol{font-size:30px;color:var(--bl-gold)}
.puzzle-v5 .qactions>.btn{width:100%}
@media(max-width:360px){.puzzle-card{padding:12px 9px}.puzzle-choices .choice{min-height:74px;padding:11px 9px;gap:8px}.puzzle-emblem{width:62px;height:62px}.puzzle-emblem span{font-size:38px}.puzzle-actions{grid-template-columns:1fr 1.1fr}}
