.math-game .cw-title-row{display:block}.math-game .cw-title-row h1{font-size:clamp(35px,4.4vw,60px);margin-bottom:24px}.math-game .cw-modes{display:grid;grid-template-columns:1fr 1fr;gap:18px;width:100%;padding:0;border:0;background:none;border-radius:0}.math-game .cw-modes button{display:flex;align-items:center;gap:16px;min-height:100px;padding:18px 24px;text-align:left;background:#fdfbef;color:#335544;border:1px solid #d5dcc6;border-radius:23px;box-shadow:0 6px 0 #d1d7bf;transition:transform .15s,box-shadow .15s}.math-game .cw-modes button[aria-pressed=true]{background:#315b49;color:#fff7de;border-color:#315b49;box-shadow:0 6px 0 #163e31,0 13px 24px #315b4920}.math-game .mode-icon{display:grid;place-items:center;flex-shrink:0;width:55px;height:55px;border-radius:17px;background:linear-gradient(140deg,#fff5c6,#d7be70);color:#53603a;box-shadow:inset 2px 2px 3px #fff9,3px 5px 0 #81734355;font:34px Georgia,serif;transform:rotate(-7deg)}.math-game .cw-modes strong{display:block;font:25px Georgia,serif}.math-game .cw-modes small{display:block;font-size:12px;opacity:.85;margin-top:7px}.cw:not(.math-game) .mode-icon,.cw:not(.math-game) .cw-modes small{display:none}.cw:not(.math-game) .cw-modes strong{font:inherit}#game-step-description{color:#526b55;margin:20px 0 25px;font-size:14px}.math-game #pace-settings{border:0;padding:18px 0 0;margin-bottom:20px}.math-game .cw-paces button{min-height:90px}.math-game #pace-restart-note{display:none}.game-lobby{position:relative;overflow:hidden;display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;padding:28px 36px;border-radius:28px;background:#244b3d;color:#fbf4db;box-shadow:0 9px 0 #16392e,0 20px 38px #173e3020}.game-lobby:after{content:'+';position:absolute;right:25%;top:-35px;font:200px Georgia;opacity:.04;pointer-events:none}.game-avatar{display:grid;place-items:center;width:95px;height:102px;border-radius:40% 46% 38% 45%;background:linear-gradient(135deg,#fff1ad,#d9b345);box-shadow:inset 7px 6px 8px #fff7,inset -7px -8px 10px #796e2936,7px 9px 0 #152f26;font:bold 52px Georgia;color:#55652e;transform:rotate(-8deg)}.game-avatar[data-pilot=mindwizzy]{background:linear-gradient(140deg,#bfe8d2,#65b297);color:#214c3e;border-radius:28% 44% 28% 44%}.game-avatar[data-pilot=free]{background:#dce8d3}.game-lobby .eyebrow{color:#c6d9ba;margin:0 0 5px}.game-lobby h2{color:#fff2c9;font-size:29px;margin:0 0 10px}.game-lobby p{font-size:13px;margin:0}.game-lobby strong{font-weight:600}.game-lobby .btn{background:#ecd486;color:#294836;box-shadow:0 5px 0 #a38a49;border:0;min-height:54px;padding:15px 25px;font-weight:bold}.math-game #training{position:relative;isolation:isolate;padding:28px 36px 32px;background:radial-gradient(ellipse at 90% 20%,#3b735680,transparent 60%),#153e32;border:1px solid #446852;border-radius:32px;box-shadow:0 9px 0 #102e25,0 22px 40px #27493320;color:#fff4d4;overflow:hidden;scroll-margin-top:90px}.math-game #training:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.2;background-image:radial-gradient(#b3ce954d 1px,transparent 1px);background-size:25px 25px}.math-game .cw-training-top h2{color:#fff4d4;font-size:30px}.math-game #position{color:#dbe7cb;background:#ffffff0c;border:1px solid #ffffff20;padding:7px 14px;border-radius:999px}.game-hud{display:flex;gap:25px;align-items:center;padding:14px 0 20px}.game-hud>div{display:flex;gap:9px;align-items:baseline}.game-hud small{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#ceddc0}.game-hud b{font:26px Georgia;color:#f7d476;font-variant-numeric:tabular-nums}.game-hud #game-hit{font:bold 20px Georgia;color:#ffdf83;min-width:45px}.game-hud #game-settings{margin-left:auto;color:#dce8d3;font-size:12px;min-height:44px}.math-game #trail{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:0 0 18px}.math-game #trail li{display:grid;place-items:center;border-radius:10px;height:32px;background:#0f2e25;border:1px solid #456652;box-shadow:inset 0 3px 4px #0002;color:#87aa8b;font:16px Georgia}.math-game #trail li.current{border:1px solid #ebd38c;box-shadow:0 0 0 2px #e7d08333;color:#fff0b8;background:#446447}.math-game #trail li.done{background:#426947;color:#fff4ba;border-color:#87a86a}.math-game #trail li.correct{background:linear-gradient(130deg,#e7d283,#8eae61);color:#264533;border-color:#ebdb9b;box-shadow:0 3px 0 #526f45}.math-game #trail li.review{background:#465d4d;color:#e5daba}.math-game .cw-clock{background:#ffffff08;border:1px solid #ffffff20;color:#eaf2d9;margin-bottom:20px;padding:13px 18px}.math-game .cw-clock .quiet{color:#c2d2b4}.math-game #clock-left{font:34px Georgia;color:#fff0b0}.math-game .cw-clock progress{accent-color:#e9d07b}.math-game .cw-clock .btn{background:#365c48;color:#f2efd5;border-color:#769067;font-size:12px}.math-game #training[data-urgent=true] #clock-left{color:#ffd4a1}.math-game #training[data-urgent=true] .cw-clock{border-color:#c5a366}.math-game #pause-note{background:#e9dab0;color:#384d38}.math-game .question-box{position:relative;background:#faf7e9;border:1px solid #e7e0bd;border-radius:24px;padding:25px 28px 19px;box-shadow:0 6px 0 #0b2b2166;color:#244a3b;text-align:center;margin:0}.math-game #training-context{color:#63815b;font-size:10px}.math-game #prompt{font:bold clamp(38px,6vw,73px)/1.1 Georgia,serif;letter-spacing:-.025em;color:#284f3f;margin:17px 0 22px;min-height:0}.math-game .answer-row{justify-content:center;max-width:540px;margin:auto;gap:12px}.math-game #answer{background:#fffdf5;border:2px solid #a2b493;border-radius:17px;min-width:0;max-width:300px;width:100%;font:36px Georgia;text-align:center;height:67px;box-shadow:inset 0 4px 0 #e2e6d4;color:#264b3d}.math-game #answer:focus{outline:3px solid #d9c071;outline-offset:3px}.math-game #check{height:63px;border-radius:17px;background:#325e45;box-shadow:0 5px 0 #193d2b;font-size:15px;white-space:nowrap}.math-game #answer-detail{font-size:12px;color:#62705b;margin:16px 0 7px}.math-game #feedback{min-height:24px;font-size:13px;margin:9px 0;color:#45633d}.math-game #feedback.try{color:#80613b}.math-game .help-actions{justify-content:center;border-top:1px solid #d6dfc7;margin-top:13px;padding-top:9px;gap:25px}.math-game .help-actions button{font-size:12px;color:#5d7355}.math-game #hint{text-align:left}.math-game #finished{border-radius:30px;background:linear-gradient(150deg,#ecf0db,#faf5e4);border:1px solid #cbd7b7;text-align:center;box-shadow:0 7px 0 #d0d9bc;padding:30px}.game-result{margin:0 auto 25px;max-width:500px}.game-stars{font-size:63px;line-height:1.3;letter-spacing:10px;color:#a58228;text-shadow:0 4px 0 #ddd1a6}.game-result-stats{display:flex;justify-content:center;gap:40px;color:#587044;font-size:13px}.game-result-stats b{display:block;font:38px Georgia;color:#315a40;margin-bottom:5px}.math-game #review-area{text-align:left;max-width:700px;margin:22px auto;background:#fffdf4;border-radius:18px;padding:20px 25px}.math-game #finished .actions{justify-content:center}.math-game #finished-title{font-size:35px}.math-game #math-lesson{border-radius:25px;box-shadow:0 6px 0 #d9ddc4}.math-game .cw-dot{box-shadow:inset 2px 2px 3px #fff8,2px 4px 0 #60774840}.math-game [hidden]{display:none!important}.pop{animation:game-point .35s ease-out}@keyframes game-point{from{opacity:0;transform:translateY(10px) scale(.8)}to{opacity:1;transform:none}}
@media(max-width:700px){.math-game .cw-modes{gap:10px}.math-game .cw-modes button{padding:15px 13px;gap:11px;min-height:95px}.math-game .mode-icon{width:34px;height:40px;font-size:25px;border-radius:12px}.math-game .cw-modes strong{font-size:19px}.math-game .cw-modes small{font-size:10px}.game-lobby{grid-template-columns:65px 1fr;gap:18px;padding:24px}.game-avatar{width:63px;height:72px;font-size:38px}.game-lobby .btn{grid-column:1/-1}.game-lobby h2{font-size:25px}.math-game #training{padding:20px 16px;border-radius:24px}.math-game .cw-training-top h2{font-size:25px}.game-hud{gap:17px;flex-wrap:wrap}.game-hud small{font-size:9px}.game-hud b{font-size:22px}.game-hud #game-settings{padding:0}.math-game .question-box{padding:23px 16px 12px}.math-game #prompt{font-size:44px}.math-game #answer{font-size:30px;height:60px}.math-game #check{font-size:12px;height:57px;padding:12px}.math-game .cw-clock{padding:12px;gap:12px}.math-game #trail{gap:7px}.math-game #training #answer-form{flex-wrap:nowrap}.math-game #finished{padding:24px 15px}.game-result-stats{gap:25px}.game-stars{font-size:49px}.math-game .help-actions{gap:12px}.math-game .help-actions button{font-size:11px}.math-game #training #answer-detail{font-size:11px}}
@media(max-width:370px){.math-game .cw-modes button{display:block;padding:14px 11px}.math-game .mode-icon{display:none}.math-game .cw-modes strong{font-size:18px}.game-hud>div{gap:5px}.game-hud{gap:12px}.math-game #prompt{font-size:37px}.math-game #check{padding:10px}.math-game #answer{max-width:130px}}
@media(prefers-reduced-motion:reduce){.pop{animation:none}.math-game .cw-modes button{transition:none}}
