.grr-page{min-height:100svh;padding:68px 12px 18px;background:linear-gradient(#d8f4f5,#fff0dc);color:#173e46}.grr-page,.grr-page *,.grr-success *{text-shadow:none!important;filter:none!important}.grr-heading{width:min(1180px,100%);margin:0 auto 14px;text-align:center}.grr-heading p{margin:0;color:#167b80;font-size:.82rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.grr-heading h1{margin:3px 0;color:#b95b47;font-size:clamp(2rem,4vw,3.5rem);line-height:1.03;font-weight:1000;letter-spacing:-.04em}.grr-heading span{display:block;font-size:clamp(.95rem,1.6vw,1.12rem);font-weight:750}.grr-stage{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;width:min(1180px,100%);min-height:clamp(700px,calc(100svh - 168px),850px);margin:auto;overflow:hidden;border:6px solid #fff;border-radius:38px;background:#ccecf1;box-shadow:0 22px 45px #1f53683d;padding:115px 24px 20px}.grr-background{position:absolute;z-index:-2;inset:0;background:url(/games/grade-4/math/grid-rule-rover/assets/backgrounds/rover-valley.webp) 50%/cover no-repeat;pointer-events:none}.grr-top{position:absolute;z-index:4;top:15px;left:17px;right:17px;display:flex;align-items:flex-start;justify-content:center;gap:16px;padding-left:150px}.grr-prompt{display:flex;align-items:center;gap:12px;max-width:620px;min-height:64px;padding:8px 9px 8px 16px;border-radius:19px;background:#fffcf3f2;box-shadow:0 7px 18px #2b576138}.grr-prompt p{margin:0;font-size:clamp(.88rem,1.35vw,1.05rem);font-weight:850;line-height:1.25}.grr-prompt button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:92px;min-height:50px;border:2px solid #fff;border-radius:14px;background:#117e89;color:#fff;font-weight:900;cursor:pointer;touch-action:manipulation}.grr-prompt button svg{width:19px;height:19px}.grr-hud{display:flex;flex:0 0 auto;align-items:center;gap:8px;min-height:52px;color:#163d46;font-weight:1000;font-size:.93rem}.grr-hud>span{padding:7px 5px;white-space:nowrap;background:#fff9e6d9;border-radius:999px}.grr-board{position:relative;flex:0 0 auto;width:min(720px,72%);aspect-ratio:1259/840;margin:auto 0 0}.grr-board>img{object-fit:contain;object-position:center bottom;pointer-events:none}.grr-grid{position:absolute;inset:0;color:#14515c;font-size:clamp(1.15rem,2vw,1.65rem);font-weight:1000;text-align:center;line-height:1}.grr-grid [role=row]{display:contents}.grr-grid [role=cell]{position:absolute;left:var(--tile-x);top:var(--tile-y);display:grid;place-items:center;width:17%;height:12%;transform:translate(-50%,-50%);white-space:nowrap}.grr-grid [role=row]:first-child{--tile-y:17%}.grr-grid [role=row]:nth-child(2){--tile-y:34.3%}.grr-grid [role=row]:nth-child(3){--tile-y:54.5%}.grr-grid [role=row]:nth-child(4){--tile-y:70.6%}.grr-grid [role=row]:nth-child(4) [role=cell]{height:9%}.grr-grid [role=row]:first-child [role=cell]:first-child{--tile-x:24.2%}.grr-grid [role=row]:first-child [role=cell]:nth-child(2){--tile-x:41.3%}.grr-grid [role=row]:first-child [role=cell]:nth-child(3){--tile-x:59.3%}.grr-grid [role=row]:first-child [role=cell]:nth-child(4){--tile-x:76.8%}.grr-grid [role=row]:nth-child(2) [role=cell]:first-child{--tile-x:23.1%}.grr-grid [role=row]:nth-child(2) [role=cell]:nth-child(2){--tile-x:40.9%}.grr-grid [role=row]:nth-child(2) [role=cell]:nth-child(3){--tile-x:59.6%}.grr-grid [role=row]:nth-child(2) [role=cell]:nth-child(4){--tile-x:78%}.grr-grid [role=row]:nth-child(3) [role=cell]:first-child{--tile-x:21.4%}.grr-grid [role=row]:nth-child(3) [role=cell]:nth-child(2){--tile-x:40.5%}.grr-grid [role=row]:nth-child(3) [role=cell]:nth-child(3){--tile-x:59.4%}.grr-grid [role=row]:nth-child(3) [role=cell]:nth-child(4){--tile-x:78.2%}.grr-grid [role=row]:nth-child(4) [role=cell]:first-child{--tile-x:20%}.grr-grid [role=row]:nth-child(4) [role=cell]:nth-child(2){--tile-x:39.9%}.grr-grid [role=row]:nth-child(4) [role=cell]:nth-child(3){--tile-x:59.6%}.grr-grid [role=row]:nth-child(4) [role=cell]:nth-child(4){--tile-x:79.2%}.grr-grid .grr-missing{color:#b24e44;font-size:1.3em;background:radial-gradient(circle,#ffe38b 0,#ffecaa9a 38%,transparent 68%)}.grr-rules{z-index:2;display:flex;justify-content:center;gap:16px;margin-top:-18px;color:#174f57;font-size:clamp(.9rem,1.8vw,1.15rem);font-weight:1000}.grr-rules span{min-width:125px;padding:6px 12px;border-radius:999px;background:#fff8dfeb;text-align:center}.grr-task{z-index:3;display:flex;align-self:center;align-items:center;justify-content:center;gap:9px;width:min(720px,calc(100% - 310px));min-height:48px;margin-top:9px;padding:8px 12px;border-radius:16px;background:#145463f0;color:white;text-align:center}.grr-task svg{width:19px;height:19px;flex:none;color:#ffdd83}.grr-task strong{font-size:clamp(.9rem,1.65vw,1.1rem);line-height:1.25}.grr-choices{z-index:3;display:grid;align-self:center;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:min(680px,calc(100% - 330px));margin:12px 0 0;padding:0;border:0}.grr-choices legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.grr-choices button{min-height:61px;border:3px solid white;border-bottom:6px solid #a86149;border-radius:17px;background:linear-gradient(#fff8cc,#ffc99b);color:#513e31;font-size:clamp(1.1rem,2vw,1.4rem);font-weight:1000;cursor:pointer;touch-action:manipulation;box-shadow:0 8px 15px #4d492b35}.grr-choices button:hover:not(:disabled){transform:translateY(-2px)}.grr-choices button:disabled{cursor:default}.grr-choices button.wrong{background:#ffe2d9;border-bottom-color:#b24e4a;color:#863b39}.grr-choices button.correct{background:#c9f9d7;border-bottom-color:#3c9d6c;color:#1e684a}.grr-bottom{z-index:3;display:flex;align-self:center;align-items:flex-start;justify-content:center;width:min(680px,calc(100% - 330px));min-height:130px}.grr-bottom p{margin:12px 0 0;max-width:100%;padding:6px 10px;border-radius:12px;background:#fff9e6ed;color:#174750;font-size:clamp(.9rem,1.4vw,1.05rem);font-weight:850;text-align:center}.grr-cherry{position:absolute;left:8px;bottom:8px;width:293px;height:238px;pointer-events:none}.grr-cherry img{object-fit:contain;object-position:bottom center}.grr-rover{position:absolute;right:18px;bottom:60px;width:160px;height:150px;pointer-events:none}.grr-rover img{object-fit:contain;object-position:bottom center}.grr-trail{position:absolute;top:75px;right:20px;display:flex;gap:8px;padding:5px 12px;border-radius:999px;background:#fff9e9df;color:#3d8d91;font-size:1.15rem;font-weight:1000}.grr-trail .done{color:#d86a45}.grr-stage button:focus-visible{outline:4px solid #173d85;outline-offset:4px}.grr-page .how-to-panel{animation:none}.grr-page .how-to-panel button,.grr-page .how-to-trigger{min-width:48px;min-height:48px}.grr-success #success-title{color:#a54836;-webkit-text-stroke:0!important;text-shadow:none!important}@media(max-width:900px){.grr-top{padding-left:120px;gap:6px}.grr-prompt{max-width:560px}.grr-hud{flex-wrap:wrap;justify-content:center;max-width:150px;gap:0}.grr-hud>span{padding:2px 4px}.grr-board{width:min(680px,78%)}}@media(min-width:701px) and (max-width:1024px){.grr-cherry{left:-32px}}@media(max-width:700px){.grr-stage{padding:210px 14px 16px}.grr-background{background-image:url(/games/grade-4/math/grid-rule-rover/assets/backgrounds/rover-valley-mobile.webp)}.grr-top{top:70px;left:12px;right:12px;flex-direction:column;align-items:stretch;padding-left:0}.grr-prompt{max-width:none;min-height:66px;margin-left:85px}.grr-hud{align-self:flex-end;max-width:none;min-height:32px}.grr-board{width:100%;margin:18px 0 0}.grr-rules{gap:8px;margin-top:-10px}.grr-rules span{min-width:100px}.grr-task{align-self:center;width:min(720px,100%);margin-top:10px}.grr-choices{align-self:center;width:min(680px,100%)}.grr-bottom{align-self:center;align-items:flex-start;width:100%;min-height:205px;justify-content:center}.grr-bottom p{width:100%;max-width:none;margin-top:5px}.grr-cherry{left:4px;bottom:8px;width:205px;height:183px}.grr-rover{right:7px;bottom:12px;width:105px;height:102px}.grr-trail{top:auto;right:10px;bottom:125px}}@media(max-width:560px){.grr-page{padding:66px 5px 10px}.grr-heading{margin-bottom:8px}.grr-heading h1{font-size:clamp(1.8rem,7vw,2.5rem)}.grr-heading span{font-size:.89rem}.grr-stage{min-height:calc(100svh - 126px);padding:210px 10px 12px;border-width:4px;border-radius:25px}.grr-top{top:70px;left:9px;right:9px}.grr-prompt{margin-left:56px;min-height:72px;padding:7px;gap:5px}.grr-prompt p{font-size:.78rem}.grr-prompt button{min-width:50px;min-height:50px;padding:4px}.grr-prompt button span{display:none}.grr-grid{font-size:clamp(.7rem,3.5vw,1.13rem)}.grr-rules{font-size:.84rem}.grr-rules span{min-width:95px;padding:4px 7px}.grr-task{min-height:48px;padding:7px}.grr-task strong{font-size:.86rem}.grr-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}.grr-choices button{min-height:52px}.grr-bottom p{font-size:.78rem}}@media(max-width:390px){.grr-prompt p{font-size:.73rem}.grr-grid{font-size:clamp(.78rem,3.5vw,.92rem)}.grr-bottom p{font-size:.73rem}.grr-rover{width:86px;height:85px}.grr-trail{bottom:101px}}@media(max-width:360px){.grr-top{top:70px}}@media(prefers-reduced-motion:reduce){.grr-choices button{transition:none!important;transform:none!important}}