/* Large touch targets remain constant as tasks gain more steps. */
.guided-board .story-train{display:grid;grid-template-columns:repeat(var(--train-cols),minmax(45px,82px));gap:16px;justify-content:center;max-width:100%;width:100%}.guided-board .story-train .story-carriage{width:100%;min-width:0;height:auto;min-height:80px}.guided-board .story-options:has(>:nth-child(5)){grid-template-columns:repeat(3,minmax(85px,125px))}
.basket-grid{grid-template-columns:repeat(var(--basket-count,3),minmax(0,1fr));width:100%;max-width:620px}.number-intro{display:flex;align-items:center;gap:28px;justify-content:center}.number-intro>strong{font-size:100px;color:#be9168;line-height:1.2}.math-group{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;max-width:250px;padding:12px;background:#f4f0dc;border-radius:22px;min-width:66px}.math-object{width:45px;height:49px;padding:3px;border:0;background:transparent;position:relative}.math-object .art{width:100%;height:100%}.math-object.counted{background:#dceacb;border-radius:12px}.math-model{display:flex;align-items:center;justify-content:center;gap:13px}.math-model>b{font-size:32px;color:#9aa980}.math-model .math-group{max-width:235px}.math-object.taken-away{opacity:.4}.math-object.taken-away:after{content:'';position:absolute;width:44px;height:3px;left:1px;top:24px;background:#956c5c;transform:rotate(-42deg)}.math-equation{display:flex;gap:16px;align-items:center;font-size:34px;color:#7e936b}.math-equation>b:last-child{border:2px dashed #c1caaa;border-radius:12px;padding:0 10px}.zero-ring{display:block;width:44px;height:44px;border:3px dashed #ccc5a4;border-radius:50%;margin:auto}.example-no .art,.bug.sleepy .art{filter:grayscale(1);opacity:.6}.path-beach{background:#f0ddb4}.path-snow{background:#dcebf2}.path-night{background:#c7cedc}.compare-options{grid-template-columns:repeat(var(--compare-count,3),minmax(0,1fr))}.compare-size .sized-object{display:block}.compare-size .sized-object .art{width:100%;height:100%}
.puzzle-workbench{width:100%;max-width:750px;gap:30px}.puzzle-reference{align-self:center;max-width:190px}.puzzle-board:not(.game-board){aspect-ratio:5/4;gap:0!important;padding:0!important;border:3px solid #bfccb0;border-radius:12px;overflow:visible;background:#fffbed;width:100%;max-width:430px}.puzzle-slot{aspect-ratio:var(--piece-ratio);height:auto!important;border:0!important;border-radius:0!important;position:relative;background:transparent!important;padding:0!important;min-width:0;overflow:visible!important;box-shadow:none!important}.puzzle-slot .jigsaw-piece{position:absolute;left:var(--piece-left);top:var(--piece-top);width:var(--piece-width);height:var(--piece-height);max-width:none!important;pointer-events:none}.puzzle-slot.filled{z-index:2}.puzzle-slot .slot-outline{opacity:.65}.puzzle-slot .ghost{opacity:.17}.puzzle-tray{display:grid;grid-template-columns:repeat(3,minmax(62px,112px))!important;gap:15px!important;justify-content:center;width:100%;max-width:470px}.puzzle-piece{padding:8px!important;border-radius:16px;background:#f8f6e9!important;min-height:95px;aspect-ratio:1;display:grid;place-items:center;overflow:visible;box-shadow:0 4px 0 #e2e6d7}.puzzle-piece .puzzle-art{width:100%;height:100%;filter:drop-shadow(0 2px 1px #46573b30)}.puzzle-piece.selected{background:#e5efcf!important;outline:3px solid #d4b77c}.puzzle-reference>.puzzle-art{aspect-ratio:5/4;height:auto;max-width:100%}
@media(max-width:650px){.guided-board .story-options:has(>:nth-child(5)){grid-template-columns:repeat(2,minmax(86px,114px))}.guided-board .story-train{gap:13px;grid-template-columns:repeat(var(--train-cols),minmax(40px,67px))}.guided-board .story-train .story-carriage{min-height:62px;padding:5px}.puzzle-workbench{gap:15px}.puzzle-reference{width:128px;max-width:43%}.puzzle-board:not(.game-board){max-width:280px}.puzzle-tray{grid-template-columns:repeat(3,minmax(62px,91px))!important;gap:10px!important}.puzzle-piece{min-height:82px}.math-object{width:32px;height:36px}.math-object.taken-away:after{width:31px;top:18px}.number-intro>strong{font-size:76px}.math-group{max-width:185px;gap:1px;padding:8px}.math-model{gap:8px}.math-model .math-group{max-width:158px}.math-equation{font-size:29px}.number-intro{gap:18px}.compare-card{min-width:0}.basket-card{min-width:0}}

.puzzle-tray .puzzle-piece{width:100%!important;height:auto!important;aspect-ratio:1}.puzzle-slot>.puzzle-art{inset:auto;left:var(--piece-left);top:var(--piece-top)}
