/* Pictures carry the task; captions never expose catalogue filenames. */
#player[data-scene=choices] #pVisual.gallery{grid-template-columns:repeat(var(--choice-columns,3),minmax(0,1fr));gap:12px;grid-auto-rows:minmax(100px,1fr)}
#player[data-scene=choices] #pVisual.gallery button{flex-direction:column;gap:5px;padding:10px;min-width:0}
#player[data-scene=choices] #pVisual.gallery button img{width:100%;height:calc(100% - 35px);flex:1 1 0;min-height:0;object-fit:contain}
#player .choice-label{font-size:clamp(15px,1.5vw,23px);line-height:1.15;text-align:center;max-width:100%;flex:0 0 auto}
#player.picture-choices .choice-label,#player .has-written-art .choice-label{display:none}
#player.picture-choices #pVisual.gallery button img,#player #pVisual.gallery button.has-written-art img{height:100%}
#quizTask{order:-1}#quizTask h3{font-size:clamp(17px,1.6vw,25px)}
#player.has-decision .speech{display:none!important}
#decisionTask{flex:0 0 auto;order:1;background:#fffaf4;border-radius:16px;margin:6px auto 10px;padding:12px 22px;width:min(1100px,96%);color:#21163e;text-align:center}
#decisionTask h3{font-size:clamp(17px,1.6vw,25px);margin:0 0 10px;line-height:1.25}
.decision-options{display:flex;justify-content:center;gap:16px}.decision-options button{min-height:48px;min-width:170px;font-size:20px;border:2px solid #d9ddcf;background:#edf2e4}
.decision-options button.decision-correct{background:#dff4e3;border-color:#25884b}.decision-options button.decision-retry{background:#ffe2de;border-color:#d35143}
#decisionTask p{font-size:15px;margin:8px 0 0;min-height:20px}
@media(max-width:760px){#player[data-scene=choices] #pVisual.gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;grid-auto-rows:minmax(100px,1fr)}#player .choice-label{font-size:13px}#player[data-scene=choices] #pVisual.gallery button{padding:5px}#quizTask h3{font-size:15px}#quizTask small{display:none}#decisionTask{padding:8px}#decisionTask h3{font-size:16px}.decision-options{gap:8px}.decision-options button{min-width:110px;font-size:16px;min-height:44px}#decisionTask p{font-size:12px}}

#player #pVisual img.without-print-code{object-position:center bottom;clip-path:inset(0 0 6% 0)}
