.rra-page{min-height:100svh;padding:68px 12px 20px;background:linear-gradient(#d7f5f2,#fff1dc);color:#173f49}.rra-page,.rra-page *,.rra-success *{text-shadow:none!important;filter:none!important}.rra-heading{width:min(1180px,100%);margin:0 auto 15px;text-align:center}.rra-heading p{margin:0;color:#187a80;font-size:.82rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.rra-heading h1{margin:3px 0;color:#af5140;font-size:clamp(2rem,4vw,3.5rem);line-height:1.04;font-weight:1000;letter-spacing:-.04em}.rra-heading span{display:block;font-size:clamp(.95rem,1.5vw,1.1rem);font-weight:750}.rra-stage{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;width:min(1180px,100%);min-height:clamp(540px,calc(100svh - 168px),790px);margin:auto;overflow:hidden;border:6px solid white;border-radius:38px;background:#f1d6ac;box-shadow:0 22px 45px #1f53683d;padding:150px 24px 48px}.rra-background{position:absolute;z-index:-2;inset:0;background:url(/games/grade-4/math/receipt-repair-arcade/assets/backgrounds/receipt-arcade.webp) 50%/cover no-repeat;pointer-events:none}.rra-top{position:absolute;z-index:5;top:15px;left:145px;right:18px;display:flex;align-items:flex-start;justify-content:center;gap:14px}.rra-prompt{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(650px,100%);min-height:66px;padding:9px 9px 9px 17px;border-radius:19px;background:#fffaf0f5;box-shadow:0 7px 18px #22515b35}.rra-prompt p{margin:0;font-size:clamp(1rem,1.6vw,1.2rem);font-weight:850;line-height:1.2}.rra-prompt strong{color:#a64838}.rra-prompt button{display:flex;align-items:center;justify-content:center;gap:6px;min-width:92px;min-height:50px;border:2px solid white;border-radius:14px;background:#117e89;color:white;font-weight:900;cursor:pointer;touch-action:manipulation}.rra-prompt button svg{width:19px;height:19px}.rra-prompt button:disabled{opacity:.55;cursor:default}.rra-hud{display:flex;flex:0 0 auto;align-items:center;gap:6px;min-height:52px;font-size:.92rem;font-weight:950}.rra-hud span{padding:6px 8px;border-radius:999px;background:#fff9e9e0;white-space:nowrap}.rra-machine-row{position:relative;z-index:2;width:min(100%,850px)}.rra-machine{position:relative;flex:0 0 auto;width:min(550px,100%);aspect-ratio:1;margin:0 auto}.rra-machine img{object-fit:contain;pointer-events:none}.rra-paper{position:absolute;z-index:3;top:5%;right:21%;bottom:27%;left:21%;display:flex;flex-direction:column;min-width:0;overflow:hidden;color:#254550}.rra-paper-heading{flex:none;min-height:29px;display:grid;place-items:center;border-bottom:2px dashed #a3b3aa;font-size:.85rem;font-weight:1000;letter-spacing:.06em}.rra-rows{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));min-height:0;flex:1;gap:3px;padding:5px 0}.rra-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-content:center;column-gap:4px;min-width:0;min-height:48px;padding:4px 6px;border:2px solid transparent;border-bottom-color:#c4ccc2;border-radius:6px;background:transparent;color:#254550;text-align:left;cursor:pointer;touch-action:manipulation}.rra-row span{grid-column:1;grid-row:1;min-width:0;overflow-wrap:break-word;font-size:.9rem;font-weight:900;line-height:1.1}.rra-row strong{grid-column:2;grid-row:1;white-space:nowrap;font-size:.96rem;font-weight:1000;line-height:1.1}.rra-row small{grid-column:1/-1;grid-row:2;font-size:.77rem;font-weight:800;line-height:1.1}.rra-row:hover:not(:disabled){background:#d1f6eb}.rra-row:disabled{cursor:default}.rra-row.wrong{border-color:#ca5c57;background:#ffe4dc}.rra-row.fixed{border-color:#56a78a;background:#d5f5de}.rra-total{display:flex;flex:none;align-items:center;justify-content:space-between;gap:5px;min-height:36px;border-top:3px solid #688d8a;font-size:1.03rem;font-weight:1000}.rra-total strong{font-size:1.2rem}.rra-fix-item{min-height:43px;font-size:1.22rem}.rra-fix-item,.rra-fix-math{flex:none;display:grid;place-items:center;font-weight:1000;text-align:center}.rra-fix-math{min-height:48px;border-radius:9px;background:#e8f5e5;color:#195360;font-size:1.34rem}.rra-fix-choices{display:grid;grid-template-rows:repeat(3,minmax(48px,1fr));flex:1;min-height:0;gap:6px;padding:8px 0 10px}.rra-fix-choices button{min-width:0;min-height:48px;border:2px solid white;border-bottom:5px solid #a56c4e;border-radius:11px;background:linear-gradient(#fff7c8,#ffd0a0);box-shadow:0 4px 8px #6d5b4535;color:#304753;font-size:1.06rem;font-weight:1000;cursor:pointer;touch-action:manipulation}.rra-fix-choices button:hover:not(:disabled){background:#d5f9e6}.rra-fix-choices button:disabled{cursor:default}.rra-fix-choices button.wrong{background:#ffe0d8;border-bottom-color:#b85b57;color:#8e4037}.rra-feedback{position:relative;z-index:2;max-width:min(600px,100%);min-height:44px;margin:0;padding:8px 15px;border-radius:12px;background:#fff9edec;color:#184b55;text-align:center;font-size:.98rem;font-weight:850;line-height:1.25}.rra-cherry{position:absolute;z-index:3;left:0;bottom:24%;width:170px;height:170px;pointer-events:none}.rra-cherry img{object-fit:contain;object-position:bottom left}.rra-checkpoints{position:absolute;z-index:2;right:23px;bottom:9px;display:flex;gap:6px;padding:7px 11px;border-radius:999px;background:#fff8e8ed;color:#568389;font-size:1.6rem;line-height:1}.rra-checkpoints .lit{color:#f0a62d}.rra-stage button:focus-visible{outline:4px solid #163d85;outline-offset:3px}.rra-page .how-to-panel{animation:none}.rra-page .how-to-panel button,.rra-page .how-to-trigger{min-width:48px;min-height:48px}.rra-success #success-title{color:#a54836;-webkit-text-stroke:0!important;text-shadow:none!important}@media(max-width:900px){.rra-top{left:125px;gap:6px}.rra-hud{flex-wrap:wrap;justify-content:center;max-width:150px;gap:0}.rra-hud span{padding:2px 4px}.rra-machine{width:min(500px,100%)}.rra-cherry{width:125px;height:135px}}@media(max-width:700px){.rra-stage{min-height:clamp(650px,calc(100svh - 285px),760px);padding:175px 12px 50px}.rra-top{top:70px;left:12px;right:12px;flex-direction:column;align-items:stretch}.rra-prompt{margin-left:80px;width:calc(100% - 80px);min-height:58px}.rra-hud{align-self:flex-end;max-width:none;min-height:26px;flex-wrap:nowrap}.rra-machine{width:min(450px,100%)}.rra-cherry{width:100px;height:125px}.rra-checkpoints{right:13px;bottom:9px}}@media(max-width:560px){.rra-page{padding:66px 5px 10px}.rra-heading{margin-bottom:8px}.rra-heading h1{font-size:clamp(1.8rem,7vw,2.5rem)}.rra-heading span{font-size:.88rem}.rra-stage{padding:185px 9px 50px;border-width:4px;border-radius:25px}.rra-top{top:70px;left:9px;right:9px}.rra-prompt{margin-left:58px;width:calc(100% - 58px);min-height:64px;padding:7px;gap:5px}.rra-prompt p{font-size:.82rem}.rra-prompt button{min-width:50px;min-height:50px;padding:4px}.rra-prompt button span{display:none}.rra-machine{width:100%;margin-left:18px;margin-right:0}.rra-paper{top:4%;bottom:25%}.rra-paper-heading{min-height:19px;font-size:.65rem}.rra-rows{gap:0;padding:0}.rra-row{min-height:48px;padding:2px 3px}.rra-row span,.rra-row strong{font-size:.68rem}.rra-row small{font-size:.6rem}.rra-total{min-height:24px;font-size:.72rem}.rra-total strong{font-size:.86rem}.rra-fix-item{min-height:28px;font-size:.92rem}.rra-fix-math{min-height:32px;font-size:.95rem}.rra-fix-choices{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:48px;align-content:start;gap:3px;padding-top:6px}.rra-fix-choices button{min-height:48px;padding:0 1px;border-width:2px 2px 4px;border-radius:8px;font-size:.66rem}.rra-feedback{font-size:.82rem}.rra-cherry{width:85px;height:120px}.rra-checkpoints{right:8px;bottom:9px;font-size:1.3rem}}@media(max-width:360px){.rra-stage{min-height:clamp(610px,calc(100svh - 365px),710px)}.rra-prompt p{font-size:.76rem}.rra-cherry{width:75px;height:105px}}@media(prefers-reduced-motion:reduce){.rra-fix-choices button,.rra-row{transition:none!important}}