.pfm-game{width:100%;padding:68px 12px 18px;overflow-x:clip;color:#173d57}.pfm-game,.pfm-game *,.pfm-success *{box-sizing:border-box}.pfm-game :where(p,span,small,strong,b,button,h2,i,em),.pfm-success :where(p,span,strong,button,h2,a){text-shadow:none!important;-webkit-text-stroke:0!important}.pfm-success :where(h2,p,span,button,a){filter:none!important}.pfm-heading{width:min(1180px,100%);margin:0 auto 14px;text-align:center}.pfm-heading p{margin:0;color:#8a4bb5;font-size:13px;font-weight:950;letter-spacing:.14em;text-transform:uppercase}.pfm-heading h1{margin:4px 0 3px;color:#1c6581;font-size:clamp(30px,4vw,50px);font-weight:1000;letter-spacing:-.04em;line-height:1;text-shadow:0 3px 0 #fff,0 7px 16px #143d5930}.pfm-heading span{color:#405c6c;font-size:clamp(14px,1.8vw,18px);font-weight:800}.pfm-stage{position:relative;width:min(1180px,100%);min-height:clamp(660px,calc(100svh - 168px),790px);margin:0 auto;overflow:hidden;border:6px solid #fff;border-radius:38px;background:#e8f5f0;box-shadow:0 22px 52px #143d5938;isolation:isolate}.pfm-background{z-index:0;object-fit:cover;object-position:center;image-rendering:auto;user-select:none}.pfm-stage-wash{position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(180deg,#0e31500c 0 22%,transparent 45%,#fff4df13 72%,#17365124)}.pfm-prompt{position:absolute;z-index:28;top:15px;left:18px;display:grid;width:min(710px,calc(100% - 350px));min-height:78px;grid-template-columns:52px 1fr 52px;align-items:center;gap:10px;padding:9px 12px;border-radius:23px;background:#fffaf0f5;box-shadow:0 7px 0 #e8a83f,0 14px 28px #173f5530}.pfm-prompt>button,.pfm-prompt>span{display:grid;width:48px;height:48px;place-items:center;border:0;border-radius:50%;color:#fff;background:linear-gradient(145deg,#795de0,#5735b4)}.pfm-prompt>button{cursor:pointer;touch-action:manipulation}.pfm-prompt>button:disabled{cursor:not-allowed;opacity:.55}.pfm-prompt svg{width:25px;height:25px}.pfm-prompt small{display:block;color:#a65c2c;font-size:10px;font-weight:950;letter-spacing:.11em}.pfm-prompt h2{margin:2px 0 0;color:#123c55;font-size:clamp(19px,2.15vw,29px);font-weight:1000;letter-spacing:-.025em;line-height:1.08}.pfm-hud{position:absolute;z-index:27;top:20px;right:18px;display:flex;align-items:center;gap:15px;color:#173c58;font-size:15px;font-weight:950}.pfm-hud span{display:inline-flex;align-items:center;gap:5px}.pfm-hud svg{width:19px;height:19px;color:#8c50c4}.pfm-hud strong{font-size:20px}.pfm-progress{position:absolute;z-index:27;top:58px;right:18px;display:flex;gap:7px}.pfm-progress i{display:grid;width:34px;height:34px;place-items:center;border:3px solid #fff;border-radius:50%;color:#285e70;background:#fff8e5;font-size:13px;font-style:normal;font-weight:1000;box-shadow:0 4px 10px #24445b28}.pfm-progress i.current{outline:4px solid #ffd64f;outline-offset:2px}.pfm-progress i.done{color:#fff;background:#19aa87}.pfm-progress i svg{width:18px;height:18px;stroke-width:4}.pfm-workspace{position:absolute;z-index:8;top:124px;bottom:53px;left:43.5%;display:grid;width:min(860px,72%);grid-template-columns:minmax(390px,1.28fr) minmax(245px,.72fr);align-items:stretch;gap:17px;transform:translateX(-50%)}.pfm-artifact-zone{position:relative;display:grid;min-width:0;min-height:0;grid-template-rows:auto minmax(230px,1fr) auto 66px;align-items:center;padding:10px 14px 12px;border:3px solid #ffffffd9;border-radius:32px;background:linear-gradient(180deg,#efffffe3,#fff8e8e8);box-shadow:0 9px 0 #3b9ba7,0 18px 34px #173f5530}.pfm-gallery-rule{display:flex;min-height:38px;align-items:center;justify-content:center;gap:7px;color:#405d6c;font-size:10px;font-weight:900;text-align:center}.pfm-gallery-rule b{padding:5px 8px;border-radius:999px;color:#fff;background:#7b55c8;font-size:9px;letter-spacing:.07em}.pfm-artifact-plinth{position:relative;display:grid;width:min(330px,76%);height:100%;min-height:225px;margin:0 auto;place-items:center}.pfm-shape{position:relative;z-index:3;width:min(240px,80%);max-height:225px;overflow:visible;filter:drop-shadow(0 12px 7px #173f5545)}.pfm-shape-glow{fill:none;stroke:#fff7ad;stroke-width:9;stroke-linejoin:round;opacity:.7}.pfm-shape-face{fill:var(--shape-tone);stroke:#fff;stroke-width:4;stroke-linejoin:round}.pfm-plinth-base{position:absolute;z-index:2;bottom:8px;left:50%;width:76%;height:34px;transform:translateX(-50%);border:4px solid #fff;border-radius:50%;background:linear-gradient(#ffd36e,#dc8d34);box-shadow:0 8px 0 #99632f}.pfm-plinth-base span{position:absolute;top:-8px;left:16%;width:68%;height:18px;border:3px solid #fff;border-radius:50%;background:#fff6cf}.pfm-property-plaques{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.pfm-property-plaques span{display:inline-flex;min-height:34px;align-items:center;gap:4px;padding:6px 9px;border:2px solid #fff;border-radius:13px;color:#244e62;background:#d8f6f5;font-size:10px;font-weight:950}.pfm-property-plaques svg{width:13px;height:13px;color:#be7d20}.pfm-family-placeholder,.pfm-family-trail{display:flex;min-width:0;min-height:52px;align-items:center;justify-content:center;gap:5px;color:#68808c;font-size:10px;font-weight:900;text-align:center}.pfm-family-placeholder svg{width:18px}.pfm-family-trail{color:#244d60}.pfm-family-trail>b,.pfm-family-trail>span b,.pfm-family-trail>span em{display:inline-flex;min-height:31px;padding:5px 8px;align-items:center;border:2px solid #fff;border-radius:11px;background:#ffdb74;font-style:normal;font-weight:1000}.pfm-family-trail>span{display:inline-flex;align-items:center;gap:5px}.pfm-family-trail>i,.pfm-family-trail>span>i{color:#7d53c8;font-style:normal;font-weight:1000}.pfm-family-trail.square-trail>span{display:grid;grid-template-columns:1fr;gap:2px}.pfm-family-trail.square-trail>span em{min-height:24px;padding-block:3px;background:#c6f2ee}.pfm-control-zone{align-self:center;min-width:0;padding:15px 13px 18px;border:3px solid #ffffffd9;border-radius:27px;background:#fff9eaf0;box-shadow:0 8px 0 #d99a3c,0 16px 30px #173f5532}.pfm-control-label{display:flex;min-height:37px;align-items:center;justify-content:center;gap:8px;color:#6544b7;font-size:11px;font-weight:1000;letter-spacing:.08em;text-align:center}.pfm-control-label svg{width:22px;height:22px}.pfm-hint-tools{display:grid;gap:7px;margin:7px 0 5px}.pfm-hint-button{display:flex;width:100%;min-height:48px;align-items:center;justify-content:center;gap:7px;border:3px solid #fff;border-radius:15px;color:#5f469a;background:linear-gradient(#fff5a7,#ffd65d);box-shadow:0 5px 0 #c28d28;cursor:pointer;font-size:11px;font-weight:1000;letter-spacing:.035em;touch-action:manipulation}.pfm-hint-button svg{width:18px;height:18px;fill:#fff4a4;stroke-width:2.7}.pfm-hint-button:disabled{cursor:default;opacity:.72}.pfm-hint-message{display:grid;gap:3px;margin:2px 0 3px;padding:9px 10px;border-radius:13px;color:#354f5d;background:#fff8d9;font-size:11px;font-weight:800;line-height:1.3}.pfm-hint-message b{color:#7b55c8;font-size:9px;font-weight:1000;letter-spacing:.08em;text-transform:uppercase}.pfm-family-options,.pfm-room-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px}.pfm-family-options button,.pfm-room-options button{min-height:64px;border:4px solid #fff;border-radius:18px;color:#173f55;background:linear-gradient(#d5fbff,#78dce2);box-shadow:0 6px 0 #278e9b;cursor:pointer;font-size:clamp(13px,1.55vw,18px);font-weight:1000;touch-action:manipulation;overflow-wrap:anywhere}.pfm-room-options button.correct{color:#fff;background:linear-gradient(#38caa0,#159875);box-shadow:0 6px 0 #0c7159}.pfm-room-options button.wrong{color:#792739;background:#ffd0d5;box-shadow:0 6px 0 #b75e68;animation:pfm-wiggle .42s ease-in-out}.pfm-family-options button{display:flex;min-height:57px;align-items:center;justify-content:flex-start;gap:6px;padding:8px;background:linear-gradient(#eee9ff,#cbbcf8);box-shadow:0 6px 0 #7158ba;font-size:clamp(11px,1.25vw,15px)}.pfm-family-options button>span{display:grid;flex:0 0 27px;width:27px;height:27px;place-items:center;border-radius:50%;color:#6046a7;background:#fff}.pfm-family-options button svg{width:16px;height:16px}.pfm-family-options button.selected{color:#fff;background:linear-gradient(#8b70e7,#6248c1);box-shadow:0 6px 0 #3f2f8a}.pfm-family-options button.selected>span{color:#14846a}.pfm-connect{display:flex;width:100%;min-height:58px;margin-top:14px;align-items:center;justify-content:center;gap:8px;border:4px solid #fff;border-radius:19px;color:#fff;background:linear-gradient(#ff9b65,#e76050);box-shadow:0 7px 0 #a5413b;cursor:pointer;touch-action:manipulation}.pfm-connect b{font-size:clamp(13px,1.5vw,17px);font-weight:1000}.pfm-connect svg{width:23px;height:23px}.pfm-connect:hover:not(:disabled),.pfm-family-options button:hover:not(:disabled),.pfm-hint-button:hover:not(:disabled),.pfm-room-options button:hover:not(:disabled){transform:translateY(-3px)}.pfm-connect:disabled,.pfm-family-options button:disabled,.pfm-room-options button:disabled{cursor:not-allowed;opacity:.62}.pfm-wrong .pfm-artifact-zone{animation:pfm-wiggle .42s ease-in-out}@keyframes pfm-wiggle{30%{transform:translateX(-6px)}70%{transform:translateX(6px)}}.pfm-connect:focus-visible,.pfm-family-options button:focus-visible,.pfm-hint-button:focus-visible,.pfm-prompt>button:focus-visible,.pfm-room-options button:focus-visible{outline:5px solid #ffda43;outline-offset:3px}.pfm-mascot{position:absolute;z-index:13;right:10px;bottom:34px;width:clamp(150px,15vw,178px);aspect-ratio:1;pointer-events:none}.pfm-mascot .pfm-mascot-art{width:100%}.pfm-feedback{position:absolute;z-index:24;right:198px;bottom:8px;left:12%;display:flex;min-height:39px;align-items:center;justify-content:center;color:#fff}.pfm-feedback p{margin:0;font-size:clamp(13px,1.5vw,17px);font-weight:950;text-align:center}@media (max-width:1000px){.pfm-prompt{width:min(660px,calc(100% - 270px))}.pfm-workspace{left:42%;width:72%;grid-template-columns:minmax(315px,1.2fr) minmax(200px,.8fr);gap:12px}.pfm-mascot{right:8px;width:145px}.pfm-feedback{right:158px;left:10%}.pfm-family-options button{justify-content:center;padding-inline:5px;font-size:11px}.pfm-family-options button>span{display:none}}@media (max-width:760px){.pfm-game{padding-inline:7px}.pfm-stage{min-height:1180px}.pfm-prompt{top:12px;left:12px;width:calc(100% - 24px);min-height:72px;grid-template-columns:44px 1fr 48px;border-radius:20px}.pfm-prompt>span{width:42px;height:42px}.pfm-prompt>button{width:48px;height:48px}.pfm-prompt h2{font-size:clamp(18px,4.2vw,26px)}.pfm-hud{top:95px;left:16px;right:auto;width:calc(100% - 32px);justify-content:space-between}.pfm-progress{top:128px;right:16px}.pfm-workspace{top:170px;bottom:170px;left:50%;width:calc(100% - 28px);grid-template-columns:1fr;grid-template-rows:minmax(390px,1fr) auto;align-content:center;gap:12px}.pfm-artifact-zone{width:min(620px,100%);margin:0 auto;grid-template-rows:auto minmax(220px,1fr) auto 62px}.pfm-control-zone{width:min(560px,94%);margin:0 auto}.pfm-mascot{right:4px;bottom:28px;width:138px}.pfm-feedback{right:150px;left:12px;justify-content:flex-start}.pfm-feedback p{text-align:left}}@media (max-width:590px){.pfm-game{padding:66px 5px 10px}.pfm-heading{margin-bottom:10px;padding-inline:8px}.pfm-heading p{font-size:9px}.pfm-heading h1{font-size:clamp(27px,8.4vw,37px)}.pfm-heading span{font-size:12px}.pfm-stage{min-height:max(1190px,calc(100svh - 126px));border-width:4px;border-radius:25px}.pfm-prompt{grid-template-columns:1fr 48px;padding-inline:9px}.pfm-prompt>span{display:none}.pfm-prompt h2{font-size:clamp(17px,5vw,23px)}.pfm-progress{top:125px}.pfm-progress i{width:30px;height:30px;border-width:2px}.pfm-workspace{top:166px;bottom:165px;width:calc(100% - 18px);grid-template-rows:minmax(390px,1fr) auto;gap:10px}.pfm-artifact-zone{grid-template-rows:auto minmax(175px,1fr) auto 70px;padding-inline:8px;border-radius:24px}.pfm-gallery-rule{align-items:flex-start;gap:4px;font-size:9px}.pfm-artifact-plinth{width:83%;min-height:170px}.pfm-shape{width:min(185px,82%)}.pfm-property-plaques{gap:4px}.pfm-property-plaques span{min-height:30px;padding:4px 6px;font-size:9px}.pfm-family-trail{flex-wrap:wrap;font-size:9px}.pfm-family-trail>b,.pfm-family-trail>span b,.pfm-family-trail>span em{min-height:26px;padding:3px 5px}.pfm-control-zone{width:100%;padding:11px 9px 15px;border-radius:22px}.pfm-hint-message{padding:8px 9px;font-size:10px}.pfm-room-options button{min-height:54px;font-size:14px}.pfm-family-options{gap:7px}.pfm-family-options button{min-height:48px;font-size:11px}.pfm-connect{min-height:53px;margin-top:10px}.pfm-mascot{width:122px}.pfm-feedback{right:132px;bottom:8px}}@media (max-height:720px) and (min-width:761px){.pfm-game{padding-top:56px}.pfm-stage{min-height:610px}.pfm-workspace{top:106px;bottom:47px}.pfm-artifact-zone{grid-template-rows:auto minmax(195px,1fr) auto 55px}.pfm-artifact-plinth{min-height:190px}.pfm-shape{width:min(200px,70%);max-height:185px}.pfm-control-zone{padding-block:9px 13px}.pfm-family-options button,.pfm-room-options button{min-height:49px}.pfm-feedback{bottom:4px}}@media (prefers-reduced-motion:reduce){.pfm-game *,.pfm-game :after,.pfm-game :before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}