.fpw-game{box-sizing:border-box;display:flex;min-height:100svh;width:100%;min-width:0;overflow-x:hidden;flex-direction:column;align-items:center;padding:68px 12px 18px;color:#123f50;background:linear-gradient(180deg,#c8f2ee,#fff0cf 74%,#ffd0bb)!important}.fpw-game *,.fpw-game :after,.fpw-game :before,.fpw-success *{text-shadow:none!important}.fpw-game button,.fpw-game button *,.fpw-success button,.fpw-success button *{filter:none!important}.fpw-page-heading{position:relative;z-index:2;width:min(1100px,100%);margin:0 auto 14px;padding:0;border:0!important;background:transparent!important;box-shadow:none!important;text-align:center}.fpw-page-heading:after,.fpw-page-heading:before{display:none!important}.fpw-page-heading p{margin:0 0 4px;color:#087f86;font-size:12px;font-weight:950;letter-spacing:.16em}.fpw-page-heading h1{margin:0;color:#0d5868;font-size:clamp(29px,4.8vw,49px);line-height:1.02;letter-spacing:-.045em;text-shadow:0 2px 0 #fff!important}.fpw-page-heading>span{display:block;max-width:820px;margin:7px auto 0;color:#526b72;font-size:clamp(14px,2vw,17px);line-height:1.35}.fpw-stage{position:relative;isolation:isolate;width:min(1180px,100%);min-width:0;min-height:clamp(820px,calc(100svh - 130px),900px);overflow:hidden;border:6px solid #fff;border-radius:38px;box-shadow:0 18px 38px #62402745}.fpw-background{z-index:0;object-fit:cover;object-position:center}.fpw-scene-wash{position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(180deg,#0b81910d,transparent 42%,#ff9f7310)}.fpw-prompt{position:relative;z-index:30;display:grid;width:min(825px,calc(100% - 260px));min-height:82px;margin:16px auto 0;padding:10px 12px;grid-template-columns:50px 1fr 50px;align-items:center;gap:10px;border:0;border-radius:22px;background:linear-gradient(90deg,#fff8e1d6,#fffdf4f2 18%,#fffdf4f2 82%,#fff8e1d6)}.fpw-prompt>button,.fpw-prompt>span{display:grid;width:48px;height:48px;min-width:48px;place-items:center;border:0;border-radius:16px}.fpw-prompt>span{color:#fff;background:linear-gradient(145deg,#41d7cb,#078e98)}.fpw-prompt>button{cursor:pointer;color:#fff;background:linear-gradient(180deg,#ff9c78,#eb5a62);box-shadow:inset 0 2px 0 #ffd6c4,0 4px 0 #b23e4e}.fpw-prompt svg{width:25px;height:25px}.fpw-prompt>div{min-width:0;overflow:hidden}.fpw-prompt small{display:block;margin-bottom:2px;color:#16838c;font-size:11px;font-weight:950;letter-spacing:.14em}.fpw-prompt h2{max-width:100%;margin:0;overflow-wrap:anywhere;color:#173f52;font-size:clamp(14px,2vw,20px);line-height:1.25;text-wrap:balance}.fpw-hud{position:relative;z-index:29;display:flex;width:min(650px,calc(100% - 430px));min-height:38px;margin:5px auto 0;align-items:center;justify-content:space-between;gap:10px;color:#14576a;font-size:13px;font-weight:950}.fpw-hud span{display:inline-flex;min-width:0;align-items:center;gap:5px}.fpw-hud span:last-child{justify-content:flex-end;text-align:right;white-space:nowrap}.fpw-hud svg{width:18px;height:18px}.fpw-hud span:first-child svg{color:#d89a17;fill:#ffe265}.fpw-hud strong{font-size:18px}.fpw-progress{position:absolute;z-index:31;top:116px;right:18px;display:flex;gap:6px}.fpw-progress span{display:grid;width:34px;aspect-ratio:1;place-items:center;border-radius:50%;color:#176a76;background:#fff8dfeb;font-size:12px;font-weight:950}.fpw-progress span.is-current{outline:3px solid #ffd65e;outline-offset:1px}.fpw-progress span.is-done{color:#fff;background:#24a989}.fpw-worktable{position:absolute;z-index:10;top:172px;left:50%;width:min(920px,79%);aspect-ratio:4/3;transform:translateX(-50%);filter:drop-shadow(0 18px 14px #4f342d45)}.fpw-table-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}.fpw-board{position:absolute;z-index:3;top:17.1%;left:13.7%;width:72.7%;height:40.2%;overflow:visible;border-radius:8px;isolation:isolate;background:linear-gradient(90deg,#bfeaff42 1px,transparent 0),linear-gradient(180deg,#bfeaff42 1px,transparent 0),radial-gradient(circle at 50% 38%,#3990eb20,transparent 68%),linear-gradient(180deg,#0f5fc728,#074cba3d);background-size:calc(100% / var(--fpw-columns)) 100%,100% calc(100% / var(--fpw-rows)),100% 100%,100% 100%;box-shadow:inset 0 0 0 1px #82cce54a,inset 0 0 28px #04276a52}.fpw-board:before{z-index:0;inset:0;border-radius:inherit;background:repeating-linear-gradient(135deg,#d8f4ff08 0 8px,transparent 8px 16px),linear-gradient(90deg,#031f6333,transparent 8%,transparent 92%,#031f6333);content:""}.fpw-board:before,.fpw-cut-line{position:absolute;pointer-events:none}.fpw-cut-line{z-index:5;border-radius:999px}.fpw-cut-line-vertical{top:0;bottom:0;width:5px;transform:translateX(-50%);background:linear-gradient(90deg,#875311,#e3a62d 24%,#fff0a7 50%,#d18b17 78%,#75450b);box-shadow:0 0 0 1px #6d430e,2px 0 3px #031b5680}.fpw-cut-line-horizontal{right:0;left:0;height:5px;transform:translateY(-50%);background:linear-gradient(180deg,#875311,#e3a62d 24%,#fff0a7 50%,#d18b17 78%,#75450b);box-shadow:0 0 0 1px #6d430e,0 2px 3px #031b5680}.fpw-highlight-region{position:absolute;z-index:4;top:0;left:0;border:0;border-radius:4px;background:repeating-linear-gradient(135deg,#ffd96838 0 8px,#fff0ae1c 8px 16px),#ffce4f1f;box-shadow:inset 0 0 0 3px #ffe58f,inset 0 0 20px #ffd45b33}.fpw-cut-point{position:absolute;z-index:9;display:grid;width:clamp(38px,4.5vw,52px);height:clamp(38px,4.5vw,52px);padding:0;cursor:pointer;place-items:center;border:3px solid #f5d16c;border-radius:50%;color:#fff6d0;background:radial-gradient(circle at 35% 28%,#34cbd1,#0b8994 62%,#075560);box-shadow:inset 0 2px 0 #a4f6ed,0 0 0 2px #82530f,0 4px 5px #03264f80;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}.fpw-cut-point svg{width:46%;height:46%;stroke-width:2.4}.fpw-column-cut{top:0;transform:translate(-50%,-70%)}.fpw-row-cut{left:0;transform:translate(-70%,-50%)}.fpw-cut-point:focus-visible,.fpw-cut-point:hover:not(:disabled){color:#184757;background:#fff0a1;box-shadow:inset 0 2px 0 #fff9da,0 0 0 2px #82530f,0 4px 5px #03264f80;transform:translate(-50%,-70%)}.fpw-row-cut:focus-visible,.fpw-row-cut:hover:not(:disabled){transform:translate(-70%,-50%)}.fpw-cut-point.is-active{color:#713530;background:#ffcf5d;box-shadow:inset 0 2px 0 #fff1ad,0 0 0 3px #ff7b6b,0 0 0 5px #82530f,0 4px 5px #03264f80}.fpw-cut-point:disabled{cursor:default;opacity:.68}.fpw-fraction-choices{--fpw-choice-size:clamp(55px,6.1vw,76px);position:absolute;z-index:8;inset:0}.fpw-fraction-choices button{position:absolute;top:71.85%;left:var(--fpw-choice-position);display:grid;width:var(--fpw-choice-size);height:var(--fpw-choice-size);box-sizing:border-box;padding:0;cursor:pointer;place-items:center;border:0;border-radius:50%!important;outline:0;transform:translate(-50%,-50%);color:#fff;background:transparent;font-family:inherit;font-size:clamp(15px,2vw,24px);font-weight:950;line-height:1;font-variant-numeric:tabular-nums}.fpw-fraction-choices button:after{position:absolute;inset:-4px;border:4px solid transparent;border-radius:50%;content:"";pointer-events:none}.fpw-fraction-choices button>span{display:block;transform:translateY(-.07em)}.fpw-fraction-choices button.is-selected,.fpw-fraction-choices button:focus-visible,.fpw-fraction-choices button:hover:not(:disabled){transform:translate(-50%,-50%);outline:0}.fpw-fraction-choices button.is-selected:after,.fpw-fraction-choices button:focus-visible:after,.fpw-fraction-choices button:hover:not(:disabled):after{border-color:#fff36a;box-shadow:0 0 0 2px #8d631d99}.fpw-fraction-choices button:disabled{cursor:default}.fpw-check,.fpw-clear{position:absolute;z-index:10;display:flex;box-sizing:border-box;padding:0 0 1px;cursor:pointer;align-items:center;justify-content:center;flex-direction:column;border:0;border-radius:50%;transform:translate(-50%,-50%);color:#77452d;background:transparent;font:inherit;font-weight:950;line-height:1}.fpw-check{top:71.15%;left:50.25%;width:clamp(70px,8vw,100px);height:clamp(70px,8vw,100px);gap:1px}.fpw-clear{top:71.85%;left:62.6%;width:clamp(53px,6.1vw,76px);height:clamp(53px,6.1vw,76px);gap:1px;color:#fff}.fpw-check svg{width:25px;height:25px}.fpw-clear svg{width:22px;height:22px}.fpw-check span,.fpw-clear span{display:block;font-size:clamp(8px,1vw,11px);transform:translateY(-.04em)}.fpw-check:focus-visible,.fpw-check:hover:not(:disabled),.fpw-clear:focus-visible,.fpw-clear:hover:not(:disabled){transform:translate(-50%,-50%);outline:5px solid #fff36a;outline-offset:-1px}.fpw-check:disabled,.fpw-clear:disabled{cursor:default;opacity:.48}.fpw-mascot{z-index:24!important;right:0!important;bottom:58px!important;width:clamp(176px,18vw,228px)!important}.fpw-feedback{position:absolute;z-index:29;right:220px;bottom:12px;left:220px;display:grid;min-height:50px;overflow:hidden;place-items:center;color:#174a58;background:linear-gradient(90deg,transparent,#fffaf0e8 18%,#fffaf0e8 82%,transparent)}.fpw-feedback p{display:flex;max-width:100%;margin:0;padding:8px 14px;overflow-wrap:anywhere;align-items:center;justify-content:center;gap:8px;font-size:13px;font-weight:950;line-height:1.25;text-align:center}.fpw-feedback svg{width:19px;height:19px;flex:0 0 19px;color:#d99919}.fpw-result-correct .fpw-feedback{color:#147054}.fpw-result-wrong .fpw-feedback{color:#9d3744}.fpw-check:focus-visible,.fpw-clear:focus-visible,.fpw-cut-point:focus-visible,.fpw-prompt button:focus-visible{outline:4px solid #fff36a;outline-offset:3px}@media (max-width:1000px){.fpw-prompt{margin-left:18px;width:calc(100% - 245px)}.fpw-worktable{width:min(850px,86%)}.fpw-feedback{right:180px;left:120px}}@media (min-width:681px) and (max-height:820px){.fpw-game{padding-top:38px;padding-bottom:12px}.fpw-page-heading{margin-bottom:7px}.fpw-page-heading h1{font-size:39px}.fpw-page-heading>span{font-size:12px}.fpw-stage{min-height:760px}.fpw-prompt{margin-top:10px;min-height:76px}.fpw-progress{top:104px}.fpw-worktable{top:138px;width:min(830px,79%)}}@media (max-width:680px){.fpw-game{padding:62px 5px 10px}.fpw-page-heading{width:calc(100% - 116px);margin-bottom:9px;text-align:left}.fpw-page-heading p{font-size:9px}.fpw-page-heading h1{font-size:clamp(20px,5.7vw,28px)}.fpw-page-heading>span{font-size:10px;line-height:1.2}.fpw-stage{min-height:805px;border-width:4px;border-radius:26px}.fpw-background{object-position:center}.fpw-prompt{width:calc(100% - 16px);min-height:116px;margin:8px 8px 0;padding:8px;grid-template-columns:46px 1fr 46px;gap:7px;border-radius:18px}.fpw-prompt>button,.fpw-prompt>span{width:46px;height:46px;min-width:46px;border-radius:14px}.fpw-prompt h2{font-size:clamp(12px,3.55vw,16px);line-height:1.15}.fpw-hud,.fpw-prompt small{font-size:9px}.fpw-hud{width:calc(100% - 142px);margin:5px 7px 0 auto}.fpw-hud strong{font-size:14px}.fpw-hud span:last-child{white-space:normal}.fpw-hud svg{width:14px;height:14px}.fpw-progress{top:165px;right:7px;gap:3px}.fpw-progress span{width:25px;font-size:9px}.fpw-mascot{top:132px!important;right:auto!important;bottom:auto!important;left:7px!important;width:72px!important}.fpw-worktable{top:214px;width:116%;max-width:none}.fpw-cut-point{width:42px;height:42px;border-width:2px}.fpw-cut-line-vertical{width:3px}.fpw-cut-line-horizontal{height:3px}.fpw-highlight-region{border-width:3px}.fpw-fraction-choices{--fpw-choice-size:52px}.fpw-fraction-choices button{font-size:15px}.fpw-check{width:67px;height:67px}.fpw-clear{width:50px;height:50px}.fpw-check svg{width:19px;height:19px}.fpw-feedback{right:8px;bottom:15px;left:8px;min-height:58px;border-radius:16px;background:#fff9e8de}.fpw-feedback p{padding:7px 9px;font-size:10px}}@media (max-width:390px){.fpw-stage{min-height:790px}.fpw-worktable{top:220px;width:121%}.fpw-progress span{width:23px}}@media (prefers-reduced-motion:reduce){.fpw-check,.fpw-clear,.fpw-cut-point,.fpw-fraction-choices button{transition:none!important}}