.hg-arena[data-game="cross-math"]{background:#edf7f2;color:#173b30;overflow:auto}.hg-arena[data-game="cross-math"] .hg-stage{overflow:visible;display:block;min-height:0}.hg-arena[data-game="cross-math"] .hg-play{display:block;min-height:0;overflow:visible}.hg-arena[data-game="cross-math"] .hg-players,.hg-arena[data-game="cross-math"] .hg-status,.hg-arena[data-game="cross-math"] .hg-rotate{display:none!important}.hg-arena[data-game="cross-math"] .hg-top{background:#fff;color:#173b30;position:sticky;top:0;z-index:3}.hg-arena[data-game="cross-math"] .hg-top button{background:#e3f1e9;color:#173b30;border-color:#ccdfd4}.cm-game{font-family:system-ui,-apple-system,sans-serif;padding:22px 16px 40px;color:#173b30}.cm-game *{box-sizing:border-box}.cm-game button{font:inherit;cursor:pointer;touch-action:manipulation;border:0;color:#164533;transition:transform .15s,background .15s}.cm-game button:active{transform:scale(.96)}.cm-game button:focus-visible{outline:3px solid #15815a;outline-offset:3px}.cm-game button:disabled{cursor:default}.cm-home,.cm-puzzle{max-width:620px;margin:auto}.cm-home{text-align:center}.cm-mark{display:inline-grid;place-items:center;font-size:30px;font-weight:900;line-height:1.1;width:78px;height:78px;background:#174d3d;color:#fff;border-radius:24px;box-shadow:0 8px 0 #cfdfd4;transform:rotate(-7deg);margin:8px}.cm-kicker{font-size:10px;letter-spacing:2px;font-weight:800;margin:24px 0 8px;color:#6b8576}.cm-home h1{font-size:clamp(34px,6vw,48px);margin:0;letter-spacing:-2px}.cm-sub{margin:5px;color:#718477}.cm-total{display:inline-block;background:white;border-radius:30px;padding:10px 22px;margin:20px;font-weight:800}.cm-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cm-level{display:grid!important;justify-items:center;gap:8px;padding:22px 10px!important;background:#fff!important;border:1px solid #dce9df!important;border-radius:20px!important;box-shadow:0 5px 0 #dce9df!important}.cm-level span{font-size:29px;color:#539877}.cm-level b{font-size:21px}.cm-level small{font-size:11px;color:#718477}.cm-level em{font-size:12px;font-style:normal;background:#e4f4eb;padding:7px 22px;border-radius:20px}.cm-daily{display:block;width:100%;background:#225f48;color:white!important;padding:18px;margin:25px 0 15px;border-radius:18px;font-weight:800!important}.cm-daily small{display:block;font-weight:400;margin-top:7px;color:#cee5d7}.cm-records{background:#fff;border-radius:16px;padding:16px;text-align:left;font-size:14px}.cm-records summary{cursor:pointer;font-weight:700}.cm-records li{padding:10px 0;border-bottom:1px solid #edf3ee}.cm-records b{float:right}.cm-records small{display:block;color:#718477}.cm-footnote{font-size:12px;color:#718477;margin:24px 0}.cm-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.cm-heading h2{font-size:18px;margin:0}.cm-heading button{background:#fff;border-radius:14px;padding:10px;font-size:12px}.cm-stats{display:flex;justify-content:space-between;align-items:center;font-weight:800;font-variant-numeric:tabular-nums;padding:20px 6px;color:#4a6a58}.cm-stats span:first-child{color:#ce7169}.cm-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;max-width:340px;margin:0 auto;background:#fff;padding:12px;border-radius:22px;box-shadow:0 8px 25px #25452c0c}.cm-cell,.cm-op,.cm-gap{aspect-ratio:1.35;min-width:0;display:grid;place-items:center;border-radius:9px;font-size:clamp(16px,4vw,23px);font-weight:750}.cm-cell{background:#f9f1d4;border:1px dashed #d9bc76!important;box-shadow:0 3px 0 #e7dcc0}.cm-fixed{background:#f5edce;border:1px solid #e3d8b4!important}.cm-cell span{color:#c0ad7b;font-size:16px}.cm-cell:disabled{opacity:1;color:#344634}.cm-solved{background:#d9edbd!important;border-color:#bdd39d!important;animation:cm-pop .3s ease}.cm-op{color:#8a957b;font-weight:500}.cm-feedback{text-align:center;font-size:13px;min-height:18px;margin:18px 0 12px;color:#617d69}.cm-bank{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;max-width:470px;margin:0 auto}.cm-bank button{min-width:48px;padding:12px 8px;background:#a5d49d;border-radius:12px;font-weight:850;box-shadow:0 4px 0 #7ead77;font-size:20px}.cm-bank button:disabled{opacity:.32;box-shadow:none}.cm-bank .cm-selected{background:#225f48;color:#fff;outline:3px solid #b6dbc4;outline-offset:3px}.cm-actions{display:flex;justify-content:center;gap:12px;margin:24px}.cm-actions button{background:#fff;border-radius:14px;padding:12px 25px;font-weight:700;box-shadow:0 3px 0 #dce9df}.cm-actions button:disabled{opacity:.5}.cm-actions b{background:#e3efdf;padding:3px 7px;border-radius:8px;margin-left:5px}.cm-paused{text-align:center;padding:14px;background:#d8e8df;border-radius:12px}.cm-complete{text-align:center;background:white;border-radius:22px;padding:25px;margin-top:20px;box-shadow:0 10px 30px #25452c12;animation:cm-pop .3s ease}.cm-complete>span{font-size:40px;color:#599c66}.cm-complete h2{font-size:25px;margin:10px}.cm-complete p{color:#698573}.cm-complete button{display:block;width:100%;padding:14px;background:#225f48;color:white;border-radius:14px;margin-top:10px;font-weight:700}.cm-complete button:last-child{background:#e3efdf;color:#225f48}@keyframes cm-pop{from{transform:scale(.94)}to{transform:scale(1)}}@media(max-width:600px){.cm-game{padding:16px 12px 30px}.cm-level{padding:16px 8px!important}.cm-board{max-width:310px;padding:10px;gap:4px}.cm-heading h2{font-size:16px}.cm-mark{width:64px;height:64px}.cm-kicker{margin-top:18px}.hg-arena[data-game="cross-math"] .hg-top{flex-wrap:wrap;height:auto;min-height:60px}}@media(prefers-reduced-motion:reduce){.cm-game *{animation:none!important;transition:none!important}}
.hg-arena[data-game="cross-math"] .hg-stage{flex:0 0 auto;background:transparent;border:0;margin:0;overflow:visible}.hg-arena[data-game="cross-math"] .hg-play{height:auto}.hg-arena[data-game="cross-math"] .hg-top h2{color:#225f48}.cm-game .cm-cell{padding:0;min-height:40px}.cm-game .cm-op{min-height:40px}.cm-game .cm-heading button{min-height:44px}
