/* Course-owned learning challenges: independent from the recorded assessment. */
.learning-game{margin:36px 0;padding:28px;border:1px solid #dbe4ea;border-top:4px solid #123e68;border-radius:12px;background:#f4f7fa;box-shadow:0 10px 32px #123e680a;scroll-margin-top:24px;min-width:0}.learning-game h2{margin:5px 0 15px}.learning-game h3{font-size:1.1rem;margin:12px 0}.learning-game h4{font-size:1rem}.game-scope,.game-note{font-size:.85rem;color:#536b7a}.game-bank{padding:20px;background:white;border:1px solid #dbe4ea;border-radius:9px;min-width:0}.game-bank p{font-size:.85rem}.game-labels{display:flex;flex-wrap:wrap;gap:10px}.learning-game button{font-size:.94rem;line-height:1.45;max-width:100%;min-height:44px}.learning-game .game-chip{background:white;color:#123e68;border:1px solid #a8bbc9;text-align:left;touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab;display:flex;align-items:center;gap:8px}.game-chip span{font-size:1.4rem}.learning-game .game-chip[aria-pressed=true]{background:#123e68;color:white;box-shadow:0 0 0 3px white,0 0 0 5px #123e68}.game-selection{min-height:1.5em;font-weight:600;color:#123e68}.game-destinations{padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}.learning-game .game-zone{display:flex;flex-direction:column;gap:10px;width:100%;height:100%;padding:20px;text-align:left;background:white;border:2px dashed #a8bbc9;color:#102236;min-height:130px}.game-zone strong{color:#123e68}.game-zone span{font-weight:400}.game-zone em{font-size:.8rem;font-style:normal}.game-zone .retry{color:#9c1830}.learning-game .game-over{outline:4px solid #ef1b2d;outline-offset:3px;background:#eaf0f6}.game-sequence{grid-template-columns:1fr;gap:30px}.game-sequence li{position:relative}.game-sequence li:not(:last-child):after{content:'↓';position:absolute;left:50%;bottom:-29px;font-size:24px;font-weight:bold;color:#123e68}.game-sequence .game-zone{min-height:95px}.game-image-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;align-items:start}.game-image-layout .game-labels{display:grid;grid-template-columns:1fr}.game-picture{position:relative;max-width:480px;margin:0 auto;background:white;border:1px solid #dbe4ea;border-radius:8px;width:100%;isolation:isolate}.game-picture img{display:block;width:100%;height:auto;border-radius:8px}.learning-game .game-pin{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:0;border-radius:50%;border:3px solid white;background:#123e68;color:white;font-weight:bold;box-shadow:0 0 0 2px #123e68,0 3px 9px #10223640;z-index:2}.learning-game .game-pin.chosen{background:#a61930;box-shadow:0 0 0 3px #a61930}.game-picture-wide{max-width:800px}.game-image-key{font-size:.9rem;padding-left:24px}.game-image-key li{margin:9px 0}.game-list,.game-explanation{margin:20px 0;padding:16px 20px;background:white;border:1px solid #dbe4ea;border-radius:8px}.game-list summary,.game-explanation summary{cursor:pointer;font-weight:650;min-height:44px;align-content:center;color:#123e68}.game-list label{display:block;margin:16px 0;font-size:.92rem}.game-list select{display:block;width:100%;min-height:44px;margin-top:7px;padding:9px;color:#102236;font:inherit;border:1px solid #9ab0bf;border-radius:5px;background:white}.game-explanation p,.game-explanation li{font-size:.9rem}.game-explanation section{border-top:1px solid #dbe4ea;margin-top:16px}.game-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.learning-game .game-actions button+button{background:white;color:#123e68}.game-feedback{padding:18px 20px;border-left:4px solid #123e68;border-radius:0 7px 7px 0;background:white;min-height:66px}.game-flow-path{list-style:none;padding:0;margin:20px 0}.game-flow-path li{border-left:3px solid #123e68;margin-left:20px;padding:0 0 22px 24px}.game-flow-path span,.game-flow-path strong{display:block}.game-flow-path span{font-size:.9rem;color:#536b7a}.game-flow-path strong{font-size:.92rem;color:#123e68;margin-top:7px}.game-decision{position:relative;background:white;border:2px solid #123e68;border-radius:12px;padding:26px}.game-decision h3{font-size:1.2rem;line-height:1.5;margin:5px 0 22px}.game-diamond{display:grid;place-items:center;width:48px;height:48px;border:2px solid #123e68;border-radius:12px;margin:0 0 16px;color:#123e68;font-size:1.5rem;font-weight:bold}.game-branches{display:grid;gap:12px}.learning-game .game-branches button{background:#f4f7fa;color:#123e68;text-align:left;border:1px solid #a8bbc9;padding:15px 18px}.game-branches button span{font-weight:800;margin-right:8px}.game-end{border-top:6px solid #123e68}.game-spot-options{margin-top:20px}.game-spot-options label{display:flex;gap:10px;align-items:center;padding:12px;background:white;border:1px solid #dbe4ea;margin:10px 0;min-height:48px}.game-spot-options input{flex:0 0 auto;width:20px;height:20px}.game-drag-ghost{position:fixed;z-index:99999;pointer-events:none;transform:translate(12px,12px);background:#123e68;color:white;padding:12px 18px;border:2px solid white;border-radius:6px;box-shadow:0 6px 25px #10223650;max-width:260px;font:600 17px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}.game-jump{display:inline-block;margin:0 0 18px;font-weight:650}.learning-game :is(button,select,input,summary):focus-visible{outline:3px solid #086bba;outline-offset:4px}
@media(max-width:900px){.game-image-layout{grid-template-columns:1fr}.game-image-layout .game-labels{grid-template-columns:repeat(2,minmax(0,1fr))}.game-image-layout .game-bank{order:-1}.game-picture{max-width:420px}}
@media(max-width:600px){.learning-game{padding:18px 14px;margin:26px -2px}.game-bank{padding:14px}.game-destinations{grid-template-columns:1fr}.game-image-layout .game-labels{grid-template-columns:1fr}.learning-game .game-pin{width:44px;height:44px;min-height:44px}.game-decision{padding:18px}.game-list,.game-explanation{padding:12px}.game-labels{display:grid;grid-template-columns:1fr}.game-actions button{width:100%}.game-flow-path li{margin-left:8px;padding-left:14px}.learning-game button{font-size:16px}.game-feedback{font-size:16px;padding:14px}.game-picture-wide{margin-top:15px}}
@media print{.game-bank,.game-list,.game-actions,.game-branches,.game-pin,.game-feedback{display:none!important}.learning-game{border:1px solid #ccc;background:white;box-shadow:none;break-inside:auto}.game-explanation{display:block}.game-explanation::details-content{content-visibility:visible;height:auto}.game-explanation summary{display:none}.game-picture{max-width:300px}.game-explanation p{break-inside:avoid}.game-destinations{display:none}}

.learning-game .game-pin.assigned{background:white;color:#123e68}.game-placed{font-size:.72rem;margin-left:auto;font-weight:600;padding-left:8px}.game-chip[aria-pressed=true] .game-placed{color:white}

.game-chip .game-chip-name{font-size:inherit;min-width:0}.game-chip .game-part-card{display:block;width:82px;height:68px;object-fit:contain;flex:0 0 82px;pointer-events:none;background:white;border:1px solid #dbe4ea;border-radius:5px}.game-drag-ghost img{display:block;width:120px;height:94px;object-fit:contain;background:white;margin:0 auto 8px;border-radius:5px}.game-image-layout .game-placed{font-size:.65rem;padding-left:0}.game-image-layout .game-chip{padding:9px 10px;gap:8px}.game-image-layout .game-chip>span:first-child{font-size:1rem}@media(max-width:600px){.game-chip .game-part-card{width:66px;height:58px;flex-basis:66px}.game-image-layout .game-placed{display:none}}

/* Sharps scenes are landscape. Keep photo evidence large, the single picture key visible and all controls in flow. */
.learning-game .game-image-layout{grid-template-columns:1fr}.learning-game .game-picture{max-width:1000px}.learning-game .game-image-layout .game-labels{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-game .game-image-key{columns:2}.learning-game .game-note{font-size:15px}@media(max-width:700px){.learning-game .game-image-layout .game-labels{grid-template-columns:1fr}.learning-game .game-image-key{columns:1}}

.learning-game .game-picture-full{display:inline-flex;align-items:center;min-height:44px;margin:4px 0 12px;font-weight:650;color:#123e68}
