.skillWork{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:19px;width:min(780px,100%);flex-shrink:0}.skillNote{font-size:14px;line-height:1.5;text-align:center;color:#708574;margin:0;max-width:620px}.skillActions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.skillActions button,.codeArrows button{background:#fffdf6;border:1px solid #fff;box-shadow:0 4px 0 #c6d9c7;min-height:48px;min-width:52px;border-radius:16px;padding:10px 17px;font-size:18px}.skillActions button:last-child{background:#f6dca6}.skillChoices{min-height:10px}.buildReadout{font-size:19px;color:#637e68}.buildReadout b{font-size:28px;color:#3c6554}
/* Đếm kho báu: đá quý SVG; viên được đếm nhảy vào rương (lớp sau = nắp mở, .chestPile = đá đã đếm, lớp trước = thân rương), ô để lại số thứ tự */
.treasureRow{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 34px;width:100%}.treasureGrid{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;max-width:570px}.countGem{width:83px;height:88px;border-radius:23px;background:linear-gradient(150deg,#f1e7ff,#c8b8e7);box-shadow:0 6px 0 #aa98c7,inset 0 2px 0 #fff;position:relative;display:grid;place-items:center}.gemArt{display:block;width:56px;height:56px;overflow:visible;filter:drop-shadow(0 4px 2px #4d357a38)}.countGem b{position:absolute;inset:0;margin:auto;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#fffbe6;font-family:var(--display);font-size:28px;line-height:1;color:#3c6554;box-shadow:0 3px 0 #9fbd92}.countGem b:empty{display:none}.countGem.counted{background:linear-gradient(150deg,#e8f3cf,#b8d6a4);box-shadow:0 4px 0 #90b083}
.treasureChest{position:relative;flex:none;width:156px;aspect-ratio:120/96}.treasureChest>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.chestPile{position:absolute;inset:0}.chestPile i{position:absolute;width:19%;aspect-ratio:1}.chestPile .gemArt{width:100%;height:100%;filter:none}.treasureChest>b{position:absolute;right:-9px;bottom:3px;display:grid;place-items:center;min-width:38px;height:38px;padding:0 6px;border-radius:19px;background:#fffbe6;border:2px solid #f3cc6b;font-family:var(--display);font-size:24px;line-height:1;color:#7a5326;box-shadow:0 3px 0 #c99a3e}
/* các trò có nút chọn hiện ra sau: giữ sẵn chỗ để bố cục không nhảy khi nút xuất hiện */
.skillWork[data-skill=demvat] .skillChoices,.skillWork[data-skill=gomchuc] .skillChoices{min-height:84px}
.magicTen{display:grid;grid-template-columns:repeat(5,62px);gap:12px;background:#fffaf0;padding:18px;border:2px solid #fff;border-radius:28px;box-shadow:0 6px 0 #d0ddc4}.magicTen button{position:relative;width:62px;height:62px;background:#e9eddd;border:2px dashed #cbd7ba;border-radius:18px;box-shadow:inset 0 3px 6px #9caf8e13;color:#aebda0;font-size:28px}
/* Mười ô phép màu: sao chờ trên kệ (.starShelf), rơi vào ô (.cellSeat). Ô chỉ SÁNG (.lit) khi sao đã chạm đáy; hai luật dưới thắng luật aria-pressed của sweet-ui.css */
.tenBoard{display:flex;flex-direction:column;align-items:center;gap:11px;--star:28px;--seat:44px}.starShelf{display:flex;justify-content:center;gap:5px;padding:5px 13px;border-radius:19px;background:#fffaf0b8;border:1px dashed #dfd3ae}.shelfSlot{display:block;width:var(--star);height:var(--star)}.lightStar{display:block;width:var(--star);height:var(--star);filter:drop-shadow(0 2px 2px #b98a2a40)}.lightStar svg{display:block;width:100%;height:100%;overflow:visible}.cellSeat{position:absolute;inset:0;margin:auto;width:var(--seat);height:var(--seat)}.cellSeat .lightStar{width:var(--seat);height:var(--seat)}
.magicTen button[aria-pressed=true]:not(.lit){background:#e9eddd;color:#aebda0;border:2px dashed #cbd7ba;box-shadow:inset 0 3px 6px #9caf8e13;text-shadow:none}.magicTen button.lit[aria-pressed]{background:radial-gradient(circle at 50% 42%,#fffef4,#ffeaa0 78%);border:2px solid #ffd978;box-shadow:0 4px 0 #dfb45a,0 0 16px #ffe89a;color:transparent;text-shadow:none}
.numberRoad{width:calc(100% - 58px);position:relative;padding-top:85px;margin:5px 25px 15px}.lineCar{position:absolute;top:27px;left:0;transform:translateX(-50%);display:flex}.hopTrail{position:absolute;left:0;top:0;width:100%;overflow:visible;pointer-events:none}.hopTrail path{fill:none;stroke:#e9a35a;stroke-width:4;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1}.hopTrail .tip{fill:#e9a35a;stroke:none;stroke-dasharray:none;opacity:0}.numberTicks span.fromHere{isolation:isolate;color:#a3542a}.numberTicks span.fromHere::after{content:'';position:absolute;left:50%;top:50%;width:1.6em;height:1.6em;margin:-.8em 0 0 -.8em;border-radius:50%;background:#ffe9c2;border:2px solid #f0b46a;z-index:-1}.numberTicks{display:flex;justify-content:space-between;border-top:7px solid #e8d1a3;padding-top:12px;position:relative}.numberTicks span{position:relative;width:0;display:flex;justify-content:center;font-family:var(--display);font-size:22px}.numberTicks span::before{content:'';position:absolute;width:2px;height:14px;background:#b59c73;top:-18px}.numberRoad::before{content:'';position:absolute;bottom:30px;left:-25px;right:-25px;height:34px;border-radius:30px;background:#f3e6c6;box-shadow:0 4px 0 #d4c19b}
.memoryGrid{width:min(620px,100%);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;perspective:900px}.memoryCard{height:103px;position:relative;border-radius:21px;background:linear-gradient(145deg,#ede2f6,#c2b7de);box-shadow:0 6px 0 #a595bd;border:2px solid #fff7;transform-style:preserve-3d;transition:background .2s,transform .2s}.memoryFront,.memoryBack{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--display);font-size:29px}.memoryFront{color:#fff6d2;font-size:39px;text-shadow:0 3px 0 #aea0c4}.memoryBack{opacity:0;transform:rotateY(180deg);backface-visibility:hidden}.memoryCard.opened{transform:rotateY(180deg);background:#fff9e5;box-shadow:0 5px 0 #d7c69f}.memoryCard.opened .memoryFront{opacity:0}.memoryCard.opened .memoryBack{opacity:1}.memoryCard.matched{background:#d8ebc3;box-shadow:0 4px 0 #a7c18f}.pairProgress{font-size:15px;color:#70866c}.pairProgress b{font-size:21px;color:#497858}
.numberCars{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.numberCars button{width:107px;height:111px;position:relative;display:flex;align-items:center;flex-direction:column;justify-content:center;background:#fffdf5;border-radius:22px;border:2px solid #fff;box-shadow:0 5px 0 #d1dec6}.numberCars button.parked{background:#eef0e2;border:2px dashed #cdd8bd;box-shadow:inset 0 3px 5px #a9b59a2e}
/* Đoàn xe xếp số: .carUnit = xe + biển số, đi cùng nhau từ ô chờ lên làn (.laneSlot). Hình xe lật ngang (.carFace) để xe quay đầu sang trái */
.carUnit{display:flex;flex-direction:column;align-items:center;flex:none}.carFace{display:flex;transform:scaleX(-1)}.carUnit b{font-family:var(--display);font-size:28px;line-height:1;background:#f4e7bc;padding:1px 16px;border-radius:12px}
.parkingLane{display:flex;gap:10px;min-height:112px;width:min(620px,100%);justify-content:center;align-items:flex-end;background:#e6edda;border-bottom:5px solid #c1d2ad;border-radius:22px;padding:9px 10px 8px}.laneSlot{flex:0 1 98px;min-width:0;height:92px;display:flex;align-items:flex-end;justify-content:center;border-radius:14px;border:2px dashed #c5d3b2}.laneSlot .toySvg{width:58px;height:58px}.laneSlot .carUnit b{font-size:22px;padding:1px 12px;border-radius:10px}
/* Cân cầu vồng: đòn cân xoay quanh chốt; mỗi đĩa là con của đòn (.balanceArm ở đầu đòn → .balanceHang xoay ngược để đĩa rủ thẳng → .balanceSwing đung đưa → dây + đĩa) */
.balanceScene{position:relative;width:min(500px,100%);height:236px;isolation:isolate;--pan:min(210px,calc(42vw - 21px));--string:34px}.balanceScene::after{content:'';position:absolute;left:50%;bottom:2px;width:104px;height:17px;margin-left:-52px;border-radius:20px;background:#83aca3;box-shadow:0 5px 0 #72978e;z-index:-1}.balanceStand{position:absolute;left:50%;top:33px;bottom:12px;width:30px;margin-left:-15px;background:linear-gradient(90deg,#b1d1c9,#8fb7ae);clip-path:polygon(36% 0,64% 0,100% 100%,0 100%);z-index:-1}
.balanceBeam{position:absolute;top:26px;left:22%;width:56%;height:14px;background:linear-gradient(#efce90,#c7a568);border-radius:10px;box-shadow:0 4px 0 #aa8b5b}.balancePivot{position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-11px;border-radius:50%;background:#f3cc6b;border:3px solid #fff7dc;box-shadow:0 2px 0 #c99a3e}.balanceArm{position:absolute;top:50%;width:0;height:0}.balanceArm.panL{left:5px}.balanceArm.panR{right:5px}.balanceHang{position:absolute;left:0;top:0;width:0;height:0;transform-origin:0 0}.balanceSwing{position:absolute;top:0;left:calc(var(--pan) / -2);width:var(--pan);transform-origin:50% 0}
.panStrings{display:block;width:100%;height:var(--string);overflow:visible}.panStrings path{fill:none;stroke:#b9a27a;stroke-width:2.5;stroke-linecap:round;vector-effect:non-scaling-stroke}.balancePan{position:relative;min-height:66px;background:#fffbef;border-radius:14px 14px 44px 44px;border-bottom:8px solid #c7cdb0;display:flex;align-items:flex-end;justify-content:center;gap:10px;padding:9px 12px 10px}.balancePan strong{position:absolute;left:0;right:0;bottom:-31px;margin:auto;width:max-content;padding:0 11px;border-radius:11px;background:#fff8df;border:2px solid #e6d6a8;font-family:var(--display);font-size:20px;line-height:1.25;white-space:nowrap}.balancePan strong b{color:#c2557f}
.tinyGems{display:flex;flex-wrap:wrap-reverse;gap:4px;max-width:86px;justify-content:center}.tinyGems.added:empty{display:none}.balGem{display:block;flex:none;width:14px;height:14px;background:radial-gradient(circle at 30% 20%,#ffeaba,#e6bd7a);border-radius:50%;box-shadow:0 2px 0 #c4a46c}.balGem.plus{background:radial-gradient(circle at 30% 20%,#ffdbe6,#ee8fae);box-shadow:0 2px 0 #c96f8d}
.logicShape{display:inline-block;flex:none;background:radial-gradient(circle at 30% 20%,#ffffffb0,var(--shape-color) 60%);box-shadow:inset -5px -6px 0 #0000000c,0 5px 0 #536d7719}.shape-0{border-radius:50%}.shape-1{border-radius:10px}.shape-2{clip-path:polygon(50% 0,100% 100%,0 100%);border-radius:0}.patternStrip{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px;width:100%;align-items:center;padding:16px;border-radius:25px;background:#fffaf1;border:1px solid #fff;box-shadow:0 5px 0 #d8dfc8}.patternStrip>span{height:60px;display:flex;align-items:center;justify-content:center}.patternMissing{background:#f6dfaa;border-radius:15px;font-family:var(--display);font-size:32px;color:#a68a59}.shapeOptions{display:flex;gap:20px}.shapeOptions button{width:98px;height:95px;background:#fffdf5;border:2px solid #fff;border-radius:22px;box-shadow:0 5px 0 #d5ddc7;display:grid;place-items:center}
.sortingItems{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;width:min(530px,100%)}.sortingItems button{height:73px;background:#fffaf1;border-radius:18px;box-shadow:0 4px 0 #d6dec7;border:3px solid transparent;display:grid;place-items:center}.sortingItems button.selected{border-color:#e9c577;background:#fff4d0}.sortingItems button.sorted{background:#eef0e2;box-shadow:inset 0 3px 5px #a9b59a2e;border-color:transparent}.sortingBins{display:flex;gap:15px;justify-content:center;width:100%}.sortingBins>button{width:min(180px,31%);padding:17px 10px;border-radius:20px 20px 40px 40px;background:linear-gradient(#f5e5c6,#e5cf9e);box-shadow:0 6px 0 #bea77e;display:flex;flex-direction:column;align-items:center;gap:9px;border:2px solid #fff6dd}.sortingBins button>span{display:flex;height:40px;align-items:center}.sortingBins i{width:37px;height:37px;border-radius:50%;box-shadow:inset 0 3px 0 #fff5}.sortingBins b{font-size:14px}.sortingBins small{color:#9a895f;font-size:12px}.binPile{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:5px;min-height:26px;width:100%}.binPile .logicShape{box-shadow:inset -2px -3px 0 #0000000c}
/* Lập trình xe cứu hỏa: 16 ô vuông đều nhau; xe (.codeCar) đặt ở tâm ô, .carTurn xoay theo hướng đi, .carFlip lật hình khi đi sang trái; nhà vẽ SVG nhô mái lên trên ô đích */
.codingGrid{position:relative;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);width:min(330px,75vw);aspect-ratio:1;gap:8px;background:#fff9e8;padding:8px;border-radius:25px;box-shadow:0 5px 0 #cfdbc1}.codingCell{position:relative;min-width:0;min-height:0;background:#dcebd0;border-radius:14px;border:1px solid #f8fff1;display:grid;place-items:center}.codingCell.blocked{background:linear-gradient(135deg,#d3d8db,#aebac1);box-shadow:inset -4px -4px 0 #849aa522}.codingCell.blocked::after{content:'◆';font-size:25px;line-height:1;color:#dfe4e4;text-shadow:1px 2px 0 #8ba1ad}.codeHome{position:absolute;left:-13%;right:-13%;bottom:15%;pointer-events:none}.codeHome .toySvg{display:block;width:100%;height:auto}
.codeCar{position:absolute;width:23%;transform:translate(-50%,-50%);pointer-events:none;z-index:2;aspect-ratio:1}.truckView{position:absolute;inset:0;opacity:0;transition:opacity .1s ease-out}.truckView svg{display:block;width:100%;height:auto}.codeCar[data-heading=R] [data-view=side],.codeCar[data-heading=L] [data-view=side],.codeCar[data-heading=D] [data-view=front],.codeCar[data-heading=U] [data-view=rear]{opacity:1}.codeCar[data-heading=L] [data-view=side]{scale:-1 1}
.commandTape.filled{text-align:left}.commandTape i{display:inline-grid;place-items:center;min-width:1.55em;height:1.55em;margin:2px 3px;border-radius:10px;background:#eaf1dd;font-style:normal;line-height:1}.commandTape i.now{background:#ffe3a0;color:#8a5a14;box-shadow:0 2px 0 #dcb45c}.commandTape i.done{color:#a9bca5;background:#f1f5e8}.commandTape i.bad{background:#ffd9cf;color:#b4573f;box-shadow:0 2px 0 #e2a999}.codeArrows{display:flex;gap:10px}.codeArrows button{width:55px;height:51px;padding:5px;font-size:26px;background:#e6edf5;box-shadow:0 4px 0 #bbcadc}.commandTape{width:min(560px,100%);min-height:48px;padding:9px 14px;background:#fffdf3;border:2px dashed #cfdcc4;border-radius:15px;font-size:23px;color:#73957a;text-align:center;overflow-wrap:anywhere;line-height:1.25}
.cubeCity{display:flex;align-items:flex-end;justify-content:center;gap:30px;padding:30px 20px 15px;width:100%;min-height:220px}.cubeTower{display:flex;flex-direction:column-reverse;align-items:center;position:relative;padding-bottom:25px;filter:drop-shadow(0 7px 3px #6b7c6325)}.isoCube{display:block;position:relative;width:70px;height:63px;margin-top:-3px}.isoCube i,.isoCube b,.isoCube em{position:absolute;display:block;background:var(--cube-color);width:36px;height:40px;top:22px}.isoCube i{left:0;transform:skewY(29deg);filter:brightness(1.03);border:1px solid #fff5}.isoCube b{right:0;transform:skewY(-29deg);filter:brightness(.88);border:1px solid #fff2}.isoCube em{width:50px;height:35px;left:10px;top:1px;transform:rotate(-30deg) skewX(30deg) scaleY(.86);filter:brightness(1.17);border:1px solid #fff5}.cubeTower small{position:absolute;bottom:-6px;opacity:0;background:#fff7df;padding:4px 9px;border-radius:10px;font-size:13px}.revealed .cubeTower small{opacity:1}
/* Chuyện toán mỗi ngày: tranh có mép cắt (bạn mới đến đi vào từ mép phải, xe chạy vào từ mép trái), dải đất ở đáy. Bớt: xe buýt hai tầng vẽ bằng CSS, .storyAway = chỗ đứng của các bạn đã xuống xe */
.storyScene{position:relative;width:min(600px,100%);display:flex;flex-direction:column;align-items:center;padding:14px 14px 20px;background:#fff9ea;border:1px solid #fff;border-radius:28px;box-shadow:0 5px 0 #d8dfc6;overflow:hidden;--pw:28px;--ph:35px;--pg:8px;--seat:38px}.storyScene::after{content:'';position:absolute;left:0;right:0;bottom:0;height:16px;background:#efe3c3}.storyScene>.toySvg{position:relative;z-index:1;margin-bottom:-6px}.storyPeople{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--pg);max-width:490px;margin-bottom:-1px}.storyPerson{font-size:0;display:block;flex:none;width:var(--pw);height:var(--ph);background:linear-gradient(#ebc7a6 0 30%,#a6c5d5 31%);border-radius:40% 40% 35% 35%;position:relative;box-shadow:0 3px 0 #8dadbd}.storyPerson::after{content:'';position:absolute;left:36%;top:26%;width:3px;height:3px;border-radius:50%;background:#6f736d;box-shadow:7px 0 #6f736d}.storyPerson.arriving{background:linear-gradient(#edcbb0 0 30%,#e7a8b9 31%);box-shadow:0 3px 0 #c58c9f}
.storyScene[data-story=sub]{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:14px 46px;padding-top:32px}.storyBus{position:relative;z-index:1;flex:none;margin-bottom:9px;padding:9px 42px 30px 13px;border-radius:24px 34px 14px 14px;background:linear-gradient(#ffdb78,#f8c04a);box-shadow:inset 0 -20px 0 #f0a13d,inset 0 3px 0 #ffeeb5,0 3px 0 #cf8f2e}.storyBus::before{content:'';position:absolute;right:8px;top:13px;width:25px;height:44%;border-radius:8px 16px 8px 8px;background:#c5e9f1;border:2px solid #fff3d1}.storyBus::after{content:'';position:absolute;right:-3px;bottom:27px;width:9px;height:9px;border-radius:50%;background:#fff6c9;box-shadow:0 0 0 2px #e9a13a}.busDeck{display:flex;gap:6px}.busDeck+.busDeck{margin-top:6px}.busSeat{display:grid;place-items:end center;width:var(--seat);height:calc(var(--seat) + 5px);border-radius:10px;background:#cdeef5;border:2px solid #fff3d1;box-shadow:inset 0 4px 0 #a9d8e2}.busWheel{position:absolute;bottom:-13px;left:22px;width:32px;height:32px;border-radius:50%;background:#536184;box-shadow:inset 0 0 0 5px #6a779a}.busWheel+.busWheel{left:auto;right:32px}.busWheel::after{content:'';position:absolute;left:8px;top:7px;width:13px;height:13px;border-radius:50%;background:#f1b6cd;box-shadow:inset 3px 3px 0 #fff3e1}
.storyAway{position:relative;z-index:1;display:grid;grid-template-columns:repeat(var(--n),var(--pw));grid-template-rows:repeat(var(--rows),var(--ph));gap:calc(2 * var(--pg)) var(--pg);flex:none;padding-left:calc(var(--pw) / 2);margin-bottom:-1px}.storyStopSlot{position:relative;grid-column:var(--col);grid-row:var(--row)}.storyStopSlot:nth-child(n+6){left:calc(-1 * (var(--pw) + var(--pg)) / 2)}.storyAway::before{content:'';position:absolute;right:-21px;bottom:0;width:4px;height:74px;border-radius:2px;background:#aebccb}.storyAway::after{content:'';position:absolute;right:-31px;bottom:70px;width:24px;height:24px;border-radius:50%;background:#73b7e3;border:3px solid #fff;box-shadow:0 2px 0 #9fb1c4}
.storyFormula b{display:inline-block;min-width:.7em;font-weight:inherit}.storyFormula{font-family:var(--display);font-size:32px;background:#f1dbab;border-radius:17px;padding:5px 25px;box-shadow:0 4px 0 #d0b887}
/* Ước lượng tài ba: dưới mỗi tấm ván có sẵn chỗ cho cây thước (.estRuler, 10 cm = 90% bề ngang); <u> là dải đo lớn dần, <em> là các vạch số */
.estimateBoards{width:min(640px,100%);display:flex;flex-direction:column;gap:12px;background:#fff9e9;border:2px solid #fff;border-radius:26px;padding:20px 23px}.estimateBoards button{position:relative;width:100%;min-height:77px;text-align:left;padding:9px 0 7px;border:2px solid transparent;border-radius:12px}.estimateBoards button>span{display:block;height:34px;border-radius:8px;background:linear-gradient(#eac69f,#c59a74);box-shadow:0 5px 0 #aa815e}.estimateBoards b{font-size:13px;display:inline-block;margin-top:7px;color:#8d7e5f}.estimateBoards small{display:block;position:absolute;right:10px;top:9px;padding:6px 12px;background:#f5e0ac;border-radius:12px;font-size:18px}.estimateBoards small:empty{display:none}.estimateBoards .selected{border-color:#9fbe83;background:#eef3d5}
.estRuler{position:relative;display:flex;justify-content:space-between;width:90%;height:25px;margin-top:10px;border-radius:0 0 7px 7px;background:#f7e6b4;border-top:2px solid #c9ab6b;box-shadow:0 3px 0 #dcc78f;font-style:normal}.estRuler em{position:relative;display:flex;justify-content:center;width:0;padding-top:9px;font-style:normal;font-size:12px;line-height:1;color:#86703f}.estRuler em::before{content:'';position:absolute;top:0;width:2px;height:7px;margin-left:-1px;left:0;background:#a68b56}.estRuler u{position:absolute;left:0;top:-5px;width:100%;height:7px;border-radius:4px;background:#f08a6c;transform-origin:0 50%;transform:scaleX(.001);text-decoration:none}
.skillWork #verifyLength[hidden]{display:block!important;visibility:hidden}
.clockPair{display:flex;align-items:center;justify-content:center;gap:26px}.clockPair>div{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px;color:#7c8f75}.clockPair>span{font-size:28px;color:#b8c6a7}.appointmentCards{display:flex;gap:15px;width:100%;justify-content:center}.appointmentCards button{width:min(180px,32%);display:flex;align-items:center;flex-direction:column;background:#fffdf2;border:2px solid #fff;border-radius:24px;gap:10px;padding:16px 10px;box-shadow:0 5px 0 #d5dfc6}.appointmentCards b{font-size:14px}.appointmentCards span{font-size:12px;color:#7e8e74}
/* Gom mười quả: quả rời xếp hàng mười (5 + 5), túi vải vẽ tay (.bagNeck = miệng túi, .bagTie = nơ buộc); nhiều túi thì túi và quả đứng cạnh nhau cho đỡ cao */
.bundlingBoard{display:flex;flex-direction:column;align-items:center;gap:13px;width:min(550px,100%);background:#fff9ea;border:2px solid #fff;border-radius:28px;padding:16px 18px;justify-content:center}.fruitBags{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.fruitBag{position:relative;display:block;flex:none;width:54px;height:59px}.fruitBag svg{display:block;width:100%;height:100%;overflow:visible}.fruitBag b{position:absolute;left:0;right:0;top:58%;text-align:center;font-family:var(--display);font-size:19px;line-height:1;color:#8a5a2c}
.looseFruit{display:grid;grid-template-columns:repeat(10,auto);gap:6px;justify-content:center;align-content:start}.bundleFruit{position:relative;display:block;width:15px;height:15px;background:radial-gradient(circle at 30% 20%,#ffd7ba,#e99da2);border-radius:50%;box-shadow:0 2px 0 #bd7980}.bundleFruit::before{content:'';position:absolute;left:50%;top:-3px;width:5px;height:4px;border-radius:0 4px 0 4px;background:#86bf73}.looseFruit .bundleFruit:nth-child(10n+6){margin-left:8px}
.bundlingBoard[data-many] .bundleFruit{width:12px;height:12px}.bundlingBoard[data-many] .looseFruit{gap:5px}.bundlingBoard[data-many] .fruitBag{width:46px;height:50px}.bundlingBoard[data-many] .fruitBag b{font-size:16px}
@media(min-width:700px){.bundlingBoard[data-many]{flex-direction:row;gap:30px;padding:14px 22px}.bundlingBoard[data-many] .fruitBags{display:grid;grid-template-columns:repeat(3,auto);gap:6px 8px}}.bundleSummary{font-family:var(--display);font-size:21px;color:#718467;text-align:center}
.positionBoard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:min(400px,90vw);gap:12px;background:#fff8e9;border:2px solid #fff;border-radius:27px;padding:13px;box-shadow:0 6px 0 #d5dfc6}.positionBoard button{height:98px;border-radius:20px;background:#edf1df;border:1px solid #f8ffeb;display:grid;place-items:center}.positionBoard button[disabled]{background:#d6e9df;outline:2px dashed #91b9a6}.toySvg,.toyImage{display:inline-block;vertical-align:middle;flex:none;overflow:visible;filter:drop-shadow(0 5px 3px #48577618)}.toyImage img{width:100%;height:100%;object-fit:contain;display:block}
@media(max-width:600px){.skillWork{gap:15px}.skillNote{font-size:12px}.skillActions{gap:7px}.skillActions button{font-size:14px;min-width:44px;padding:9px 12px}.countGem{width:57px;height:63px;border-radius:17px}.gemArt{width:40px;height:40px}.countGem b{width:34px;height:34px;font-size:21px}.treasureGrid{gap:11px}.treasureChest{width:124px}.treasureChest>b{min-width:32px;height:32px;font-size:20px}.magicTen{grid-template-columns:repeat(5,44px);gap:9px;padding:13px;border-radius:23px}.magicTen button{width:44px;height:48px;font-size:25px;border-radius:14px}.tenBoard{--star:21px;--seat:32px;gap:9px}.starShelf{gap:4px;padding:4px 10px}.memoryGrid{gap:10px}.memoryCard{height:86px;border-radius:17px}.memoryBack{font-size:21px}.numberCars{gap:10px}.numberCars button{width:84px;height:104px}.parkingLane{gap:6px;min-height:96px;padding:8px 8px 7px}.laneSlot{height:78px;border-radius:11px}.laneSlot .toySvg{width:46px;height:46px}.laneSlot .carUnit b{font-size:18px;padding:1px 7px}.patternStrip{gap:5px;padding:10px}.patternStrip>span{height:44px}.patternStrip .logicShape{width:28px!important;height:28px!important}.patternMissing{font-size:25px;border-radius:10px}.shapeOptions{gap:14px}.shapeOptions button{width:77px;height:79px}.shapeOptions .logicShape{width:47px!important;height:47px!important}.sortingItems{grid-template-columns:repeat(3,1fr);gap:10px}.sortingItems button{height:65px}.sortingBins{gap:9px}.sortingBins>button{padding:13px 7px;gap:7px}.sortingBins b{font-size:12px}.codeArrows{gap:9px}.codeArrows button{width:49px;min-width:49px;height:48px}.codingGrid{width:min(290px,80vw)}.commandTape{font-size:20px;padding:8px;min-height:43px}.cubeCity{gap:25px;padding:25px 8px 12px;min-height:210px}.isoCube{width:61px;height:55px}.isoCube i,.isoCube b{width:31px;height:35px;top:19px}.isoCube em{width:43px;height:30px;left:9px;top:1px}.appointmentCards{gap:8px}.appointmentCards button{padding:12px 6px;border-radius:18px;gap:8px}.appointmentCards svg{width:79px;height:79px}.appointmentCards b{font-size:12px}.appointmentCards span{font-size:10px}.clockPair{gap:16px}.clockPair svg{width:115px;height:115px}.estimateBoards{padding:16px}.storyScene{--pw:23px;--ph:30px;--pg:7px;--seat:30px}.storyPerson::after{box-shadow:6px 0 #6f736d}.storyScene[data-story=sub]{gap:12px 38px;padding-top:28px}.storyBus{padding:8px 34px 27px 10px;border-radius:20px 28px 12px 12px}.busDeck{gap:5px}.busDeck+.busDeck{margin-top:5px}.busWheel{width:28px;height:28px;left:17px}.busWheel+.busWheel{right:25px}.busWheel::after{left:7px;top:6px;width:11px;height:11px}.storyBus{margin-bottom:5px}.storyAway::before,.storyAway::after{display:none}.positionBoard{gap:9px;padding:10px}.positionBoard button{height:86px;border-radius:16px}.positionBoard .toySvg{width:66px;height:66px}.balanceScene{height:204px;--string:28px}.balancePan{padding:8px 8px 9px;min-height:58px;gap:7px}.balancePan strong{font-size:17px;bottom:-28px;padding:0 8px}.tinyGems{gap:3px;max-width:57px}.balGem{width:12px;height:12px}.numberTicks span{font-size:17px}.lineCar{top:41px}.lineCar .toySvg{width:48px;height:48px}.bundlingBoard{padding:13px 12px}.bundleFruit{width:13px;height:13px}.looseFruit{gap:5px}.fruitBag{width:46px;height:50px}.fruitBag b{font-size:16px}.bundlingBoard[data-many] .bundleFruit{width:11px;height:11px}.bundlingBoard[data-many] .looseFruit{gap:4px}.bundlingBoard[data-many] .fruitBag{width:40px;height:44px}.bundlingBoard[data-many] .fruitBag b{font-size:14px}}
@media(max-height:600px) and (min-width:601px){.skillWork{gap:12px}.codingGrid{width:210px}.commandTape{min-height:36px;font-size:18px}.codeArrows button{height:40px;min-height:40px}.skillActions button{min-height:40px;padding:6px 14px}.cubeCity{min-height:160px;padding-top:15px}.isoCube{height:44px;width:55px}.isoCube i,.isoCube b{height:28px;width:28px;top:17px}.isoCube em{width:39px;height:27px;top:0;left:8px}.memoryCard{height:70px}.magicTen{grid-template-columns:repeat(5,48px);gap:8px;padding:11px}.magicTen button{width:48px;height:45px}.tenBoard{--star:22px;--seat:32px;gap:7px}.starShelf{padding:3px 11px}.positionBoard{width:290px;gap:8px;padding:8px}.positionBoard button{height:67px}.positionBoard .toySvg{width:59px;height:59px}.balanceScene{height:188px;--string:26px}.balancePan{min-height:54px;padding-top:6px}.balancePan strong{font-size:17px;bottom:-27px}.storyScene{padding:8px 8px 18px;--seat:32px;--pw:25px;--ph:31px}.storyScene[data-story=sub]{padding-top:24px}.storyBus{padding:7px 36px 26px 11px}.storyScene>.toySvg{width:85px;height:85px}.storyFormula{font-size:25px}.estimateBoards{padding:12px}.estimateBoards button{min-height:57px}.appointmentCards button{padding:10px}.appointmentCards svg{width:75px;height:75px}.numberCars button{height:90px}.numberCars .toySvg{width:54px;height:54px}.numberCars .carUnit b{font-size:24px}.parkingLane{min-height:92px;padding-top:6px}.laneSlot{height:78px}.laneSlot .toySvg{width:48px;height:48px}.laneSlot .carUnit b{font-size:20px}.countGem{height:68px;width:65px}.gemArt{width:44px;height:44px}.countGem b{width:38px;height:38px;font-size:23px}.treasureChest{width:124px}.skillWork[data-skill=demvat] .skillChoices,.skillWork[data-skill=gomchuc] .skillChoices{min-height:64px}}
@media(prefers-reduced-motion:reduce){.skillWork *{animation:none!important;transition:none!important}}
/* Lập trình xe cứu hỏa ở máy tính bảng nằm ngang (1180x820): thu bảng lại để hàng nút "Chạy thử" nằm trong khung chơi, không phải cuộn (bé chưa đọc không biết cuộn) */
@media(min-width:601px) and (min-height:601px) and (max-height:900px){.skillWork:has(.codingGrid){gap:10px}.skillWork:has(.codingGrid) .codingGrid{width:230px}}
/* Bánh xe buýt có hai nan chéo: lúc xe chạy vào bến thấy rõ bánh đang lăn (vòng tròn trơn quay thì mắt không thấy) */
.busWheel::before{content:'';position:absolute;inset:4px;border-radius:50%;background:linear-gradient(90deg,transparent 43%,#8e9abb 43% 57%,transparent 57%),linear-gradient(transparent 43%,#8e9abb 43% 57%,transparent 57%)}
