.firefly-path-planner{--fpp-deep:#174e57;--fpp-teal:#2ba987;--fpp-mint:#94e6aa;--fpp-gold:#fff06a;--hot:#51c59c;--deep:#1f7d70;--sky:#5488b7;background:linear-gradient(180deg,#4d78aa,#7ab6bd 55%,#4d9c70)}.firefly-path-planner .prek-machine{background:linear-gradient(145deg,#79d7ad,#2e9a7c);box-shadow:0 10px 0 #17695e,0 22px 42px #143f554d}.firefly-path-planner .prek-immersive-heading p{color:#e5fff5;text-shadow:0 2px #1b5b67}.firefly-path-planner .prek-immersive-heading h1{text-shadow:0 3px #2a967d,0 6px #17695e,0 10px 18px #173f4f66;-webkit-text-stroke-color:#17695e}.firefly-path-planner .prek-prompt{color:#204f55;background:#fffcefe8}.firefly-path-planner .prek-prompt h2{color:#204f55;font-size:clamp(21px,3vw,34px)}.firefly-path-planner .prek-prompt button{background:linear-gradient(#5cc9ae,#258f7c);box-shadow:0 5px #17695e}.firefly-path-planner .prek-status{color:#214f51;background:#f8ffe9dc}.firefly-path-planner.is-immersive .prek-screen{min-height:clamp(650px,calc(100svh - 168px),790px)}.fpp-stage{position:absolute;inset:0;box-sizing:border-box;overflow:hidden;padding:104px 18px 18px;border:0;border-radius:inherit;isolation:isolate}.fpp-backdrop{z-index:-4}.fpp-backdrop .prek-parallax-layer img{object-position:center 58%}.fpp-night-wash{z-index:-3;inset:0;background:linear-gradient(180deg,rgba(31,61,112,.36),rgba(28,87,82,.06) 58%,rgba(22,67,47,.24))}.fpp-mascot,.fpp-night-wash{position:absolute;pointer-events:none}.fpp-mascot{z-index:4;bottom:8px;left:-8px;width:clamp(155px,21vw,238px);aspect-ratio:1;filter:drop-shadow(0 12px 8px rgba(25,63,47,.4))}.fpp-mascot .prek-character-sprite{width:100%;height:100%}.fpp-gameplay{position:relative;z-index:5;display:grid;width:min(760px,calc(100% - 120px));max-width:100%;min-height:100%;margin:0 auto;grid-template-rows:auto minmax(0,1fr) auto;align-items:center;justify-items:center;gap:10px}.fpp-feedback{min-height:36px;margin:0;padding:7px 18px;border-radius:999px;color:#f6fff7;background:rgba(23,78,87,.86);box-shadow:0 4px rgba(9,52,56,.62);font-size:clamp(15px,2vw,20px);font-weight:1000;line-height:1.1;text-align:center}.fpp-feedback.is-correct{color:#315622;background:rgba(255,248,127,.94);box-shadow:0 4px #b49a36}.fpp-feedback.is-wrong{background:rgba(125,75,111,.92);box-shadow:0 4px #5b3451}.fpp-board{width:min(570px,100%);max-width:100%;box-sizing:border-box;aspect-ratio:4/3;padding:clamp(8px,1.2vw,13px);grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,1fr);gap:clamp(6px,1vw,11px);border:6px solid rgba(255,255,255,.92);border-radius:34px;background:linear-gradient(145deg,rgba(45,119,91,.88),rgba(25,86,73,.9));box-shadow:inset 0 5px rgba(190,255,199,.42),inset 0 -9px rgba(13,62,55,.35),0 12px 24px rgba(17,54,53,.34)}.fpp-board,.fpp-cell{position:relative;display:grid}.fpp-cell{min-width:0;min-height:0;place-items:center;overflow:visible;border:3px solid rgba(226,255,217,.7);border-radius:27% 34% 29% 38%;background:linear-gradient(150deg,#a7e482,#67bc69 65%,#4c9e5c);box-shadow:inset 0 5px rgba(255,255,255,.42),inset 0 -7px rgba(38,116,62,.42),0 4px rgba(19,77,54,.44)}.fpp-cell:after{content:"";position:absolute;inset:18% 14%;border-radius:50%;opacity:.32;background:radial-gradient(circle,#f4ffb3 0 9%,transparent 11%) 0 0 /27px 25px}.fpp-cell.is-obstacle{border-color:rgba(218,235,216,.68);background:linear-gradient(150deg,#7ca48a,#4c7966)}.fpp-rock{position:relative;z-index:2;display:grid;width:66%;aspect-ratio:1.18;place-items:center;border:4px solid #c8d1c7;border-radius:52% 43% 49% 38%;color:transparent;background:linear-gradient(145deg,#c7d5cc,#73867e 70%);box-shadow:inset 7px 7px #eef7ef70,0 7px #425e53,0 10px 14px #244b3f52;transform:rotate(-4deg)}.fpp-star{position:relative;z-index:4;width:clamp(38px,6vw,62px);height:clamp(38px,6vw,62px);color:#f2ad1c;fill:var(--fpp-gold);filter:drop-shadow(0 0 12px #fff7a8) drop-shadow(0 7px #8d7029);animation:fpp-star-pulse 1.4s ease-in-out infinite}.fpp-flower{position:relative;z-index:3;width:clamp(44px,7vw,70px);height:clamp(44px,7vw,70px);color:#fff9d8;fill:#ff8ec4;filter:drop-shadow(0 7px 3px rgba(54,74,49,.45))}.fpp-firefly{--firefly-column:0;--firefly-row:0;position:absolute;z-index:9;top:clamp(8px,1.2vw,13px);left:clamp(8px,1.2vw,13px);display:grid;width:calc((100% - clamp(16px, 2.4vw, 26px) - (3 * clamp(6px, 1vw, 11px))) / 4);height:calc((100% - clamp(16px, 2.4vw, 26px) - (2 * clamp(6px, 1vw, 11px))) / 3);place-items:center;pointer-events:none;transform:translate(calc(var(--firefly-column) * (100% + clamp(6px, 1vw, 11px))),calc(var(--firefly-row) * (100% + clamp(6px, 1vw, 11px))));transition:transform .28s cubic-bezier(.2,.82,.3,1)}.fpp-firefly-image{position:relative;z-index:2;width:clamp(74px,10vw,108px);height:auto;object-fit:contain;filter:drop-shadow(0 0 7px rgba(255,255,190,.95)) drop-shadow(0 0 18px rgba(221,255,80,.74)) drop-shadow(0 8px 7px rgba(25,63,42,.4));animation:fpp-firefly-float 1.8s ease-in-out infinite}.fpp-planner{display:grid;width:min(700px,100%);max-width:100%;box-sizing:border-box;padding:9px 13px 12px;grid-template-columns:auto 1fr auto;grid-template-areas:"queue arrows actions";align-items:center;gap:12px;border-radius:29px;background:rgba(249,255,229,.91);box-shadow:0 7px rgba(24,89,72,.72),0 13px 22px rgba(13,53,51,.25);backdrop-filter:blur(6px)}.fpp-queue{grid-area:queue;display:flex;gap:5px}.fpp-queue span{display:grid;width:44px;height:44px;place-items:center;border:3px dashed #7caf8a;border-radius:14px;color:#5f856a;background:rgba(255,255,255,.55);font-size:16px;font-weight:1000}.fpp-queue span.is-filled{border-style:solid;color:#fff;background:linear-gradient(#6acdaf,#29967d);box-shadow:inset 0 -4px rgba(17,106,91,.35)}.fpp-queue svg{width:27px;height:27px;stroke-width:4}.fpp-arrow-pad{grid-area:arrows;display:flex;justify-content:center;gap:7px}.fpp-actions button,.fpp-arrow-pad button{display:inline-flex;min-width:56px;min-height:56px;align-items:center;justify-content:center;cursor:pointer;border:4px solid #fff;border-radius:19px;color:#fff;background:linear-gradient(#77caef,#358fc4);box-shadow:0 6px #22648e;font:inherit;font-weight:1000;transition:filter .15s ease,transform .15s ease,box-shadow .15s ease;touch-action:manipulation}.fpp-actions button:hover:not(:disabled),.fpp-arrow-pad button:hover:not(:disabled){filter:brightness(1.08);transform:translateY(-2px)}.fpp-actions button:active:not(:disabled),.fpp-arrow-pad button:active:not(:disabled){transform:translateY(4px);box-shadow:0 2px #22648e}.fpp-actions button:focus-visible,.fpp-arrow-pad button:focus-visible{outline:6px solid #fff47a;outline-offset:3px}.fpp-actions button:disabled,.fpp-arrow-pad button:disabled{cursor:default;filter:grayscale(.35);opacity:.48}.fpp-arrow-pad svg{width:30px;height:30px;stroke-width:4}.fpp-actions{grid-area:actions;display:flex;gap:7px}.fpp-actions button{min-width:76px;gap:5px;padding:6px 10px;font-size:16px}.fpp-actions svg{width:22px;height:22px}.fpp-actions .fpp-undo{color:#315f5a;background:linear-gradient(#fff7c4,#edcf68);box-shadow:0 6px #af8733}.fpp-actions .fpp-go{min-width:86px;background:linear-gradient(#ff91bb,#e74f87);box-shadow:0 6px #9d315d;font-size:20px}.fpp-finish{position:fixed;z-index:9999;inset:0;display:grid;padding:18px;place-items:center;background:rgba(18,48,69,.67);backdrop-filter:blur(7px)}.fpp-finish-card{width:min(475px,95vw);padding:26px;text-align:center;border:7px solid #fff;border-radius:40px;background:linear-gradient(#f8ffcf,#d9fff2);box-shadow:0 12px #21806d,0 28px 60px rgba(10,39,53,.48);animation:fpp-finish-pop .5s cubic-bezier(.2,1.45,.4,1)}.fpp-finish-firefly{position:relative;display:grid;width:128px;aspect-ratio:1;margin:-3px auto 2px;place-items:center;color:#f6b423}.fpp-finish-firefly svg{position:absolute;inset:0;width:100%;height:100%;color:#7bcf83}.fpp-finish-firefly span{position:relative;font-size:68px;filter:drop-shadow(0 0 18px #fff67a);animation:fpp-finish-float 1.1s ease-in-out infinite alternate}.fpp-finish-card>p{margin:3px 0;color:#47726a;font-size:18px;font-weight:900}.fpp-finish-card h2{margin:2px 0;color:#1f8a74;font-size:clamp(42px,10vw,62px);font-weight:1000;letter-spacing:-.055em;line-height:1}.fpp-finish-stars{display:flex;justify-content:center;gap:6px;margin:12px 0 5px}.fpp-finish-stars svg{width:34px;height:34px;color:#dda31d;fill:#fff06a;filter:drop-shadow(0 4px #9a7132)}.fpp-finish-card .fpp-finish-cheer{margin:10px 0 21px;color:#a24775;font-size:22px}.fpp-finish-card>button{display:flex;width:100%;min-height:64px;align-items:center;justify-content:center;gap:10px;cursor:pointer;border:4px solid #fff;border-radius:22px;color:#fff;background:linear-gradient(#62d6aa,#26977d);box-shadow:0 7px #17695e;font:inherit;font-size:23px;font-weight:1000}.fpp-finish-card>button:active{transform:translateY(4px);box-shadow:0 3px #17695e}.fpp-finish-card>button:focus-visible{outline:7px solid #fff06a;outline-offset:4px}@keyframes fpp-star-pulse{50%{transform:scale(1.16) rotate(8deg)}}@keyframes fpp-firefly-float{50%{transform:translateY(-5px) rotate(4deg)}}@keyframes fpp-finish-pop{0%{opacity:0;transform:scale(.58) rotate(-3deg)}}@keyframes fpp-finish-float{to{transform:translateY(-10px) rotate(5deg)}}@media (max-width:1000px){.fpp-stage{padding-top:150px}.fpp-gameplay{width:min(720px,calc(100% - 50px))}.fpp-board{width:min(455px,100%)}.fpp-mascot{width:clamp(135px,19vw,185px);left:-20px}}@media (max-width:800px){.firefly-path-planner.is-immersive .prek-screen{min-height:max(calc(100svh - 126px),710px)}.fpp-stage{padding:145px 9px 16px}.fpp-gameplay{width:min(570px,calc(100% - 4px));gap:8px}.fpp-mascot{bottom:5px;left:-30px;width:145px;opacity:.92}.fpp-planner{width:min(540px,100%);grid-template-columns:1fr auto;grid-template-areas:"queue actions" "arrows arrows";gap:9px}.fpp-queue{justify-content:flex-start}.fpp-actions{justify-content:flex-end}}@media (max-width:560px){.firefly-path-planner .prek-immersive-heading h1{max-width:100%;font-size:clamp(20px,7.4vw,30px);line-height:1;text-wrap:balance}.firefly-path-planner .prek-prompt h2{font-size:clamp(17px,5.4vw,24px)}.fpp-stage{padding:137px 6px 14px}.fpp-feedback{min-height:32px;padding:6px 12px;font-size:14px}.fpp-board{width:min(390px,100%);padding:7px;gap:6px;border-width:4px;border-radius:25px}.fpp-firefly{top:7px;left:7px;width:calc((100% - 14px - 18px) / 4);height:calc((100% - 14px - 12px) / 3);transform:translate(calc(var(--firefly-column) * (100% + 6px)),calc(var(--firefly-row) * (100% + 6px)))}.fpp-planner{padding:8px 8px 11px;border-radius:23px}.fpp-queue span{width:39px;height:39px;border-radius:12px}.fpp-arrow-pad{gap:5px}.fpp-arrow-pad button{min-width:52px;min-height:52px;border-radius:17px}.fpp-actions button{min-width:67px;min-height:50px;padding-inline:7px;font-size:13px}.fpp-actions .fpp-go{min-width:72px;font-size:18px}.fpp-mascot{left:-38px;width:126px}}@media (max-width:360px){.fpp-planner{grid-template-columns:1fr;grid-template-areas:"queue" "arrows" "actions";justify-items:center}.fpp-actions{justify-content:center}.fpp-mascot{width:112px}.firefly-path-planner.is-immersive .prek-screen{min-height:760px}}@media (min-width:700px) and (max-height:760px){.firefly-path-planner.is-immersive .prek-screen{min-height:555px}.fpp-stage{padding:108px 16px 13px}.fpp-gameplay{width:min(860px,calc(100% - 35px));grid-template-columns:minmax(360px,1fr) minmax(300px,.8fr);grid-template-rows:auto 1fr;grid-template-areas:"feedback feedback" "board planner";column-gap:15px}.fpp-feedback{grid-area:feedback}.fpp-board{grid-area:board;width:min(440px,100%)}.fpp-planner{grid-area:planner;width:100%;grid-template-columns:1fr;grid-template-areas:"queue" "arrows" "actions";justify-items:center}.fpp-mascot{width:125px;opacity:.88}}@media (prefers-reduced-motion:reduce){.fpp-finish-card,.fpp-finish-firefly span,.fpp-firefly-image,.fpp-star{animation:none}.fpp-firefly{transition:none}}