.battery-app .game{width:100%;min-width:0;display:flex;flex-direction:column;align-items:center;gap:14px}.battery-app .phase-label,.battery-app .rule-label{font-size:15px;font-weight:650;margin:0;text-align:center}.battery-app .rule-label{padding:9px 20px;background:#eef2ff;color:#3451e8;border-radius:8px;letter-spacing:.07em;font-size:13px}.battery-app .input-note{font-size:12px;color:var(--eqoa-muted);margin:0;min-height:18px;text-align:center}.battery-app .memory-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;width:min(100%,310px);aspect-ratio:1}.battery-app .memory-cell{border:1px solid #ccd7ee;background:#f5f7fc;border-radius:8px;color:#748199;font:500 12px var(--eqoa-font);cursor:pointer;min-width:0;min-height:44px}.battery-app .memory-cell:disabled{opacity:1;cursor:default}.battery-app .memory-cell.target,.battery-app .memory-cell.selected{background:#4263ff;border-color:#3451e8;color:white;box-shadow:inset 0 0 0 2px #fff5}.battery-app .memory-cell.distractor{color:#cf6a32;font-size:30px}.battery-app .direction-slots{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;max-width:100%;min-height:100px;align-items:center}.battery-app .direction-slot{width:58px;min-height:76px;display:flex;flex-direction:column;gap:3px;border:1px solid #ccd7ee;background:#f5f7fc;color:#202b40;border-radius:9px}.battery-app .direction-slot small{font-size:11px}.battery-app .direction-slot span{font-size:32px}.battery-app .direction-slot.cursor{outline:2px solid #4263ff}.battery-app .direction-slot:disabled{opacity:1}.battery-app .direction-controls{display:flex;gap:8px}.battery-app .direction-controls .btn{font-size:25px;min-width:56px}.battery-app .match-board{width:min(100%,580px)}.battery-app .centre-symbol{display:flex;flex-direction:column;align-items:center;gap:8px}.battery-app .centre-symbol small{font-size:10px;letter-spacing:.1em;color:#606c82}.battery-app .match-symbol{display:flex;flex-direction:column;align-items:center;gap:4px}.battery-app .shape{font-size:58px;line-height:1.1}.battery-app .colour-A .shape{color:#4263ff}.battery-app .colour-B .shape{color:#d17d20}.battery-app .colour-C .shape{color:#087c72}.battery-app .symbol-label{font-size:12px;font-weight:500;color:#202b40}.battery-app .match-options{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:30px}.battery-app .match-options .btn{min-height:130px;display:flex;flex-direction:column;gap:12px}.battery-app .control-hint{font-size:12px;text-transform:capitalize}.battery-app .fixation{font-size:30px;color:#7b88a1;min-height:70px;display:grid;place-items:center}.battery-app .connect-game>.fixation{min-height:240px}.battery-app .arrow-field{height:240px;width:min(100%,540px);position:relative;display:grid;place-items:center}.battery-app .arrow-field .fixation{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.battery-app .arrow-row{position:absolute;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:10px;height:70px;font-size:50px;font-family:Arial,sans-serif;font-weight:600}.battery-app .arrow-row.above{top:0}.battery-app .arrow-row.below{bottom:0}.battery-app .location-cue{font-size:28px;color:#4263ff}.battery-app .response-controls{display:flex;gap:16px}.battery-app .response-controls .btn{min-width:120px;text-transform:capitalize}.battery-app .intercept-field{width:min(100%,435px);height:auto;max-height:330px;overflow:visible;border:1px solid #dce3f2;border-radius:10px}.battery-app .launcher-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:min(100%,620px)}.battery-app .launcher-controls .btn{font-size:11px;display:flex;flex-direction:column;gap:5px;padding:9px 5px;min-height:58px}.battery-app .launcher-controls kbd{font:650 13px var(--eqoa-font)}.battery-app .review-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;max-width:210px;margin:14px auto}.battery-app .review-grid span{display:grid;place-items:center;aspect-ratio:1;background:#f0f3f9;font-size:10px;border-radius:4px}.battery-app .review-grid .expected{background:#dce4ff;box-shadow:inset 0 0 0 2px #4263ff}.battery-app .review-grid .actual{background:#4263ff;color:white}.battery-app .review-arrows{font:30px Arial,sans-serif;letter-spacing:5px}.battery-app .review-symbols{display:flex;gap:25px;justify-content:center;margin:14px 0}.battery-app .review-symbols .shape{font-size:36px}.battery-app [hidden]{display:none!important}@media (max-width:600px){.battery-app .game{gap:12px}.battery-app .memory-grid{max-width:280px;gap:6px}.battery-app .memory-cell{min-height:44px}.battery-app .intercept-field{max-height:300px}.battery-app .launcher-controls{gap:5px}.battery-app .launcher-controls .btn{font-size:10px;min-height:62px}.battery-app .arrow-row{gap:5px;font-size:42px}.battery-app .direction-slot{width:44px}.battery-app .match-options{gap:14px}.battery-app .match-options .btn{min-height:122px}.battery-app .arrow-field{height:210px}}

.battery-app .recall-actions,.battery-app .demo-examples{display:flex;justify-content:center;gap:10px}.battery-app .distractor-strip{font-size:15px;color:#a16a35;padding:10px;border:1px dashed #dfc9b1;border-radius:8px}.battery-app .demo-examples .btn{font-size:11px}

/* Keep Collect's board and status slots stable throughout each round. */
.battery-app .collect-board{position:relative;width:min(100%,340px);aspect-ratio:1;display:grid;place-items:center}
.battery-app .collect-board .memory-grid{width:100%;max-width:none;height:100%}
.battery-app .collect-board .direction-slots{width:100%;height:100%;align-content:center}
.battery-app .collect-board .distractor-strip{position:absolute;bottom:12px;left:0;right:0;text-align:center}
.battery-app .collect-controls{height:58px;display:flex;align-items:center;justify-content:center}
.battery-app .collect-game .phase-label{min-height:1.5em}
.battery-app .collect-game .input-note{height:1.5em;min-height:1.5em}
.battery-app .memory-cell.incorrect{background:#fff1f3;border-color:#e13b58;color:#c32040;box-shadow:inset 0 0 0 1px #e13b58}
.battery-app .collect-game .phase-label[data-outcome="incorrect"]{color:#c32040}
.battery-app .collect-game .phase-label[data-outcome="correct"]{color:#188352}
@media(max-width:600px){.battery-app .collect-board{width:min(100%,300px)}}

.cognitive-page .battery-app .collect-board .memory-grid{width:100%}
.battery-app .collect-game .input-note:empty,.battery-app .collect-game .phase-label:empty{display:block}

/* Enlarge the direction task without changing Collect's memory grid. */
.battery-app .direction-arrow{display:block;width:100%;height:100%;flex-shrink:0}
.battery-app .collect-game[data-task=directions] .collect-board{width:min(100%,600px);height:300px;aspect-ratio:auto}
.battery-app .collect-game[data-task=directions] .direction-slots{gap:12px}
.battery-app .collect-game[data-task=directions] .direction-slot{box-sizing:border-box;width:80px;height:104px;align-items:center;justify-content:center;gap:10px;padding:8px}
.battery-app .collect-game[data-task=directions] .direction-slot small{font-size:14px}
.battery-app .collect-game[data-task=directions] .direction-mark{display:grid;place-items:center;width:48px;height:48px}
.battery-app .collect-game[data-task=directions] .collect-controls{height:72px}
.battery-app .collect-game[data-task=directions] .direction-controls{gap:12px}
.battery-app .collect-game[data-task=directions] .direction-controls .btn{display:grid;place-items:center;width:72px;min-width:0;height:64px;padding:14px 18px}
.cognitive-page .battery-app .synchronize-game .arrow-field{width:min(100%,720px);height:300px}
.cognitive-page .battery-app .synchronize-game .arrow-row{gap:16px;height:88px}
.battery-app .synchronize-game .arrow-row>span{display:block;width:76px;height:76px}
.cognitive-page .battery-app .synchronize-game .response-controls .btn{min-width:210px;min-height:70px;font-size:20px!important}
.cognitive-page .battery-app .connect-game .match-board{width:min(100%,760px)}
.cognitive-page .battery-app .connect-game .shape{font-size:100px}
.battery-app .connect-game .symbol-label{font-size:17px}
.battery-app .connect-game .centre-symbol small{font-size:13px}
.battery-app .connect-game .match-options .btn{min-height:170px;gap:14px}
.battery-app .connect-game .control-hint{font-size:16px}
@media(max-width:600px){
 .battery-app .collect-game[data-task=directions] .collect-board{height:300px}
 .battery-app .collect-game[data-task=directions] .direction-slots{gap:10px}
 .battery-app .collect-game[data-task=directions] .direction-slot{width:64px;height:92px}
 .battery-app .collect-game[data-task=directions] .direction-mark{width:40px;height:40px}
 .battery-app .collect-game[data-task=directions] .direction-controls{gap:8px}
 .battery-app .collect-game[data-task=directions] .direction-controls .btn{width:62px;height:60px;padding:12px 15px}
 .cognitive-page .battery-app .synchronize-game .arrow-field{height:260px}
 .cognitive-page .battery-app .synchronize-game .arrow-row{gap:8px}
 .battery-app .synchronize-game .arrow-row>span{width:48px;height:48px}
 .cognitive-page .battery-app .synchronize-game .response-controls .btn{min-width:130px;min-height:64px;font-size:18px!important}
 .cognitive-page .battery-app .connect-game .shape{font-size:84px}
 .battery-app .connect-game .match-options .btn{min-height:155px}
}

/* The matching rule is the primary instruction; symbols carry their own accessible names. */
.cognitive-page .battery-app .connect-game .rule-label{font-size:clamp(24px,3vw,32px);line-height:1.25;padding:12px 22px;font-weight:700}

.cognitive-page .connect-game .connect-symbol-slot{height:110px;width:100%;display:grid;place-items:center}
.cognitive-page .connect-game .match-options .btn:disabled{opacity:1;cursor:default}
.cognitive-page .connect-game .rule-label{min-width:min(100%,330px)}
