.game-page{background:#f3faf5;width:100%;max-width:1180px;margin:0 auto;padding:0 24px 12px}.game-topbar{grid-template-columns:1fr auto 1fr;align-items:center;margin-bottom:0;display:grid}.back-button{color:#39704b;justify-self:start;font-size:13px;font-weight:600;text-decoration:none}.back-button:hover{text-decoration:underline}.game-class{color:#587264;font-size:13px;font-weight:700}.game-score{color:#7b6840;background:#fff4d7;border-radius:16px;justify-self:end;padding:7px 13px;font-size:13px;font-weight:700}.exercise-banner{width:100%;max-height:300px;margin:0;line-height:0;overflow:hidden}.exercise-banner img{width:100%;max-width:100%;height:auto;margin-top:-55px;margin-bottom:-55px;display:block}.exercise-info{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:0;display:flex}.lesson-badge{color:#39704b;background:#dff3e5;border-radius:20px;padding:5px 10px;font-size:10px;font-weight:700;display:inline-block}.exercise-info h1{color:#173f4b;margin:0;font-size:25px;line-height:1.15}.exercise-info p{color:#718078;margin:0;font-size:12px}.progress{color:#8b918b;flex-shrink:0;font-size:12px;font-weight:600}#mimi-area{justify-content:center;align-items:center;gap:10px;min-height:52px;margin:0 0 3px;display:flex}#mimi{flex-shrink:0}#mimi-image{object-fit:contain;width:50px;height:50px;display:block}.mimi-message{color:#526258;background:#edf3eb;border-radius:16px;min-width:190px;padding:8px 14px}.mimi-message strong{color:#6d8a78;margin-bottom:2px;font-size:12px;display:block}.mimi-message p{margin:0;font-size:13px}.mimi-message.wrong-message{color:#8f3f3f;background:#f8d7d7}.mimi-message.wrong-message strong{color:#a94b4b}#mimi.correct{animation:.7s mimiJump}#mimi.wrong{animation:.45s mimiShake}@keyframes mimiJump{0%{transform:translateY(0)}40%{transform:translateY(-10px)}70%{transform:translateY(-4px)}to{transform:translateY(0)}}@keyframes mimiShake{0%,to{transform:translate(0)}25%{transform:translate(-5px)}75%{transform:translate(5px)}}.question-card{background:#f8f3e9;border-radius:20px;margin-bottom:8px;padding:12px}.question-instruction{text-align:center;color:#7c837c;margin:0 0 9px;font-size:20px;font-weight:600;line-height:1.3}.question-box{background:#fffdf9;border-radius:17px;justify-content:center;align-items:center;min-height:135px;padding:12px;display:flex;overflow:hidden}#question{color:#29372f;text-align:center;width:100%;font-size:38px;font-weight:700;line-height:1.25}.counting-objects{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;max-width:800px;margin:0 auto;display:flex}.counting-object{font-size:40px;line-height:1}.answers{grid-template-columns:1fr 1fr;gap:8px;width:100%;display:grid}.answers button{color:#263f35;cursor:pointer;width:100%;min-height:50px;transition:transform .15s, box-shadow .15s, * * background * * .15s;background:#edf3ee;border:none;border-radius:14px;font-size:21px;font-weight:700}.answers button:hover{background:#e1ebe2;transform:translateY(-2px);box-shadow:0 5px 14px #32463714}.answers button:active{transform:scale(.97)}.answers button:disabled{cursor:default}.result-screen{text-align:center;padding:40px 20px}.result-icon{margin-bottom:10px;font-size:52px}.result-screen h1{color:#173f4b;margin:12px 0 5px;font-size:34px}.result-screen>p{color:#718078;margin:0;font-size:14px}.result-score{color:#718078;flex-direction:column;gap:4px;margin:18px 0;font-size:14px;display:flex}.result-score strong{color:#39704b;font-size:30px}.result-actions{justify-content:center;align-items:center;gap:10px;display:flex}#play-again,.back-to-lessons{cursor:pointer;border-radius:14px;justify-content:center;align-items:center;min-height:42px;padding:0 20px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.choose-game{color:#5b4636;cursor:pointer;background:#f3d9a5;border-radius:14px;justify-content:center;align-items:center;min-height:44px;padding:0 20px;font-size:13px;font-weight:700;text-decoration:none;transition:transform .15s;display:inline-flex}.choose-game:hover{transform:translateY(-2px)}#play-again{color:#45604e;background:#dbe8d9;border:none}.back-to-lessons{color:#45604e;background:#edf3ee}.site-footer{background:#e8f6ec;width:100%;max-width:1180px;margin:0 auto}.footer-inner{justify-content:space-between;align-items:center;width:100%;min-height:64px;padding:12px 24px;display:flex}.footer-brand{align-items:center;gap:8px;display:flex}.footer-brand img{object-fit:contain;width:32px;height:32px}.footer-brand>div{flex-direction:column;gap:2px;display:flex}.footer-brand strong{color:#244b38;font-size:13px;line-height:1.1}.footer-brand span{color:#708279;font-size:10px;line-height:1.2}.footer-links{align-items:center;gap:18px;display:flex}.footer-links a{color:#39704b;font-size:11px;font-weight:600;text-decoration:none}.footer-links a:hover{text-decoration:underline}.footer-bottom{text-align:center;color:#8a9990;border-top:1px solid #50785a0f;padding:7px 24px 9px;font-size:9px}.hidden{display:none!important}.ordering-question{width:100%}.ordering-cards{grid-template-columns:repeat(4,1fr);gap:8px;width:100%;display:grid}.order-card{box-sizing:border-box;cursor:grab;user-select:none;touch-action:none;background:#fffdf9;border:2px solid #dce6de;border-radius:14px;min-width:0;height:145px;padding:4px;transition:transform .15s,border-color .15s,box-shadow .15s,opacity .15s}.order-card:active{cursor:grabbing}.order-card.selected{border-color:#8fb39a;transform:translateY(-2px);box-shadow:0 0 0 3px #8fb39a2e}.order-card.dragging{opacity:.45}.order-card img{object-fit:contain;width:100%;height:108px;margin:0 auto;display:block}.order-card .order-number{color:#29372f;background:#f5eadc;border-radius:8px;margin-top:2px;padding:4px;font-size:22px;font-weight:800;line-height:1;display:block}.ordering-arrow{color:#8b918b;justify-content:center;align-items:center;padding:5px 0;font-size:18px;font-weight:800;display:flex}.ordering-drop-zone{grid-template-columns:repeat(4,1fr);gap:8px;width:100%;display:grid;position:relative}.ordering-drop-zone .order-slot{position:relative}.ordering-drop-zone .order-slot:not(:last-child):after{content:"→";z-index:3;color:#8fa096;pointer-events:none;font-size:17px;font-weight:800;position:absolute;top:50%;right:-12px;transform:translateY(-50%)}.order-slot{box-sizing:border-box;color:#758178;cursor:pointer;background:#f7fbf7;border:2px dashed #cbd9ce;border-radius:14px;height:145px;padding:4px;transition:background .15s,border-color .15s,transform .15s}.order-slot .placed-card{flex-direction:column;justify-content:center;align-items:center;gap:2px;height:100%;display:flex}.order-slot .placed-card img{object-fit:contain;width:100%;height:108px;display:block}.order-slot .placed-number{color:#29372f;background:#f5eadc;border-radius:8px;margin-top:2px;padding:4px 12px;font-size:19px;font-weight:800;line-height:1;display:block}.order-slot.over{background:#edf6ef;border-color:#8fb39a;transform:translateY(-2px)}.order-slot.filled{background:#fffdf9;border-style:solid;border-color:#b8cdbd}.order-slot .slot-label{color:#9aa39c;margin-bottom:4px;font-size:9px;font-weight:700;display:block}.order-slot .slot-number{color:#29372f;font-size:27px;font-weight:800;line-height:1;display:block}.ordering-cycle{color:#55705e;background:#edf6ef;border-radius:14px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;margin-top:10px;padding:9px 12px;font-size:12px;font-weight:700;display:flex}.ordering-cycle .cycle-step{align-items:center;gap:4px;display:inline-flex}.ordering-cycle img{object-fit:contain;width:31px;height:31px}.ordering-cycle .cycle-arrow{color:#91a096;font-size:15px}.order-success{animation:.7s orderSuccess}@keyframes orderSuccess{0%{transform:scale(1)}45%{transform:scale(1.025)}to{transform:scale(1)}}@media (width<=600px){.game-page{padding:0 14px 20px}.game-topbar{margin-bottom:0}.game-class{font-size:11px}.game-score{padding:7px 10px;font-size:12px}.exercise-banner{width:100%;height:auto;margin:0;padding:0;line-height:0;overflow:visible}.exercise-banner img{width:100%;max-width:100%;height:auto;margin:0;display:block}.exercise-info{flex-direction:column;align-items:flex-start;gap:3px;margin:0 0 2px}.exercise-info h1{margin:0;font-size:22px;line-height:1.15}.exercise-info p{margin:0;font-size:12px}.progress{align-self:flex-end}#mimi-area{gap:8px;min-height:52px;margin:0 0 3px}#mimi-image{width:50px;height:50px}.mimi-message{width:100%;min-width:0;padding:7px 11px}.mimi-message strong,.mimi-message p{font-size:12px}.question-card{border-radius:18px;margin-bottom:8px;padding:10px}.question-box{border-radius:16px;min-height:135px;padding:10px 8px}#question{font-size:clamp(28px,9vw,38px)}.counting-object{font-size:36px}.answers{gap:7px}.answers button{min-height:52px;font-size:20px}.result-actions{flex-direction:column}#play-again,.choose-game,.back-to-lessons{width:100%}.choose-game{color:#5b4636;cursor:pointer;background:#f3d9a5;border-radius:14px;justify-content:center;align-items:center;min-height:44px;padding:0 20px;font-size:13px;font-weight:700;text-decoration:none;transition:transform .15s;display:inline-flex}.choose-game:hover{transform:translateY(-2px)}.site-footer .footer-inner{flex-direction:row;justify-content:space-between;align-items:center;gap:8px;min-height:auto;padding:10px 14px}.site-footer .footer-brand{align-items:center;gap:5px;display:flex}.site-footer .footer-brand img{width:28px;height:28px}.site-footer .footer-brand>div{text-align:left;flex-direction:column;align-items:flex-start;gap:1px;display:flex}.site-footer .footer-brand strong{text-align:left;font-size:11px;line-height:1.1}.site-footer .footer-brand span{text-align:left;font-size:8px;line-height:1.2}.site-footer .footer-links{align-items:center;gap:10px;display:flex}.site-footer .footer-links a{font-size:9px}.site-footer .footer-bottom{padding:6px 14px 8px;font-size:8px}}.comparison-modes{grid-template-columns:repeat(4,1fr);gap:5px;display:grid}.comparison-mode{color:#45604e;cursor:pointer;background:#edf3ee;border:none;border-radius:13px;min-height:42px;padding:7px 10px;font-size:11px;font-weight:700;line-height:1.2;transition:transform .15s,background .15s}.comparison-mode:hover{background:#e1ebe2;transform:translateY(-1px)}.comparison-mode.active{color:#39704b;background:#dbe8d9}#question{width:100%}.visual-question{grid-template-columns:1fr 38px 1fr;align-items:center;gap:8px;width:100%;display:grid}.visual-vs{text-align:center;color:#8b918b;font-size:13px;font-weight:800}.container-choice{cursor:pointer;background:#fffdf9;border:2px solid #dce6de;border-radius:17px;width:100%;min-height:210px;padding:9px;transition:transform .15s,box-shadow .15s,border-color .15s}.container-choice:hover{border-color:#9fbaa5;transform:translateY(-2px);box-shadow:0 5px 14px #32463714}.container-object-area{border-radius:13px;flex-wrap:wrap;place-content:center;align-items:center;gap:5px;min-height:165px;padding:9px;display:flex;overflow:hidden}.number-visual-question .number-box{box-sizing:border-box;background:#f5eadc;border:3px solid #ae8d6b;border-radius:13px;justify-content:center;align-items:center;min-height:165px;display:flex}.number-object{color:#29352f;font-size:52px;font-weight:700;line-height:1}.object{user-select:none;font-size:31px;line-height:1}.basket{background:#f6eadb;border:4px solid #b88b61;border-top:0;border-radius:0 0 38px 38px}.house{background:#f7eee2;border:3px solid #c7a77f;border-radius:9px}.bag{background:#eee8df;border:3px solid #b7a58f;border-radius:10px 10px 22px 22px}.aquarium{background:linear-gradient(#e9f8f7 0 70%,#d7eee5 70%);border:3px solid #7da7ad;border-radius:10px}.pot{background:#f0e2d7;border:3px solid #b98162;border-radius:7px 7px 22px 22px}.box{background:#f5eadc;border:3px solid #ae8d6b;border-radius:7px}.number-question{grid-template-columns:1fr 35px 1fr;align-items:center;gap:8px;width:100%;max-width:680px;margin:0 auto;display:grid}.number-card{color:#29372f;background:#fff;border-radius:17px;place-items:center;min-height:125px;font-size:clamp(42px,8vw,64px);font-weight:700;display:grid}.number-question .question-mark{text-align:center;color:#8b918b;font-size:25px;font-weight:800}.symbol-question{color:#29372f;justify-content:center;align-items:center;gap:13px;width:100%;font-size:clamp(40px,8vw,62px);font-weight:700;display:flex}.symbol-number{text-align:center;min-width:120px}.symbol-buttons{grid-template-columns:repeat(3,1fr)}.symbol-buttons button{font-size:28px}@media (width<=600px){@media (width<=600px){.comparison-modes{grid-template-columns:repeat(2,1fr);gap:5px}.comparison-mode{min-height:38px;padding:7px 4px;font-size:9px;line-height:1.15}.visual-question{grid-template-columns:1fr;gap:5px}.visual-vs{display:none}.container-choice{min-height:155px}.container-object-area{min-height:112px}.object{font-size:27px}.number-question{grid-template-columns:1fr 25px 1fr}.number-card{min-height:100px;font-size:43px}.symbol-question{gap:5px;font-size:43px}.symbol-number{min-width:85px}.ordering-cards{grid-template-columns:repeat(2,1fr);gap:6px}.order-card{border-radius:12px;height:125px;padding:3px}.order-card img{height:91px}.order-card .order-number{margin-top:1px;padding:3px;font-size:19px}.ordering-drop-zone{gap:6px}.order-slot{border-radius:11px;min-height:62px;padding:6px 4px}.order-slot .slot-number{font-size:23px}.ordering-cycle{gap:4px;padding:8px 6px;font-size:10px}.ordering-cycle img{width:27px;height:27px}}.order-card{border-radius:13px;padding:6px}.order-card img{height:78px}.order-card .order-number{font-size:20px}.visual-question{grid-template-columns:1fr;gap:5px}.visual-vs{display:none}.container-choice{min-height:155px}.container-object-area{min-height:112px}.object{font-size:27px}.number-question{grid-template-columns:1fr 25px 1fr}.number-card{min-height:100px;font-size:43px}.symbol-question{gap:5px;font-size:43px}.symbol-number{min-width:85px}}
