.game-quick-math #game-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;min-height:calc(100vh - 200px)}#math-problem-container{display:flex;flex-direction:column;align-items:center;gap:30px;max-width:600px;width:100%}#math-problem{font-size:3.5rem;font-weight:700;color:#1f2937;text-align:center;padding:40px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:16px;box-shadow:0 8px 16px #00000026;min-height:120px;display:flex;align-items:center;justify-content:center;transition:all .3s ease;width:100%}#math-problem.correct{background:linear-gradient(135deg,#84fab0,#8fd3f4);transform:scale(1.05);animation:correctPulse .3s ease}#math-problem.wrong{background:linear-gradient(135deg,#f093fb,#f5576c);animation:wrongShake .5s ease}@keyframes correctPulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@keyframes wrongShake{0%,to{transform:translate(0)}25%{transform:translate(-10px)}75%{transform:translate(10px)}}#answer-container{display:flex;gap:12px;width:100%;max-width:400px}#answer-input{flex:1;padding:16px 20px;font-size:1.5rem;font-weight:600;text-align:center;border:3px solid #e5e7eb;border-radius:12px;background:#fff;color:#1f2937;transition:all .2s ease;outline:none}#answer-input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}#answer-input.shake{animation:shake .5s ease;border-color:#ef4444}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-8px)}75%{transform:translate(8px)}}#submit-answer{padding:16px 32px;font-size:1.2rem;font-weight:600;white-space:nowrap}@media (max-width: 768px){.game-quick-math #game-container{padding:20px 16px;min-height:calc(100vh - 180px);min-height:calc(100dvh - 180px)}#math-problem{font-size:2.5rem;padding:30px 20px;min-height:100px}#answer-container{flex-direction:column;max-width:100%}#answer-input{font-size:1.3rem;padding:14px 16px}#submit-answer{width:100%;padding:14px;font-size:1.1rem}}@media (max-width: 480px){#math-problem{font-size:2rem;padding:24px 16px;min-height:80px}#answer-input{font-size:1.2rem;padding:12px}}.game-quick-math.immersive-mode #game-container{min-height:calc(100vh - 120px);padding:60px 20px}@media (max-width: 768px){.game-quick-math.immersive-mode #game-container{min-height:calc(100vh - 100px);min-height:calc(100dvh - 100px);padding:40px 16px}#answer-input{font-size:16px!important}@supports (-webkit-touch-callout: none){#answer-input{position:relative;-webkit-user-select:text;user-select:text}}.game-quick-math.immersive-mode{height:100vh;height:100dvh}}
