.tpfl-game{min-height:100vh;padding:78px 14px 24px;color:#113c57;background:linear-gradient(180deg,#f4fbff,#ece9ff)}.tpfl-heading{width:min(1180px,100%);margin:0 auto 16px;text-align:center}.tpfl-heading p{margin:0;color:#177a94;font-size:12px;font-weight:1000;letter-spacing:.18em;text-transform:uppercase}.tpfl-heading h1{margin:3px 0 1px;color:#173b66;font-size:clamp(32px,4.5vw,54px);font-weight:1000;line-height:1.04}.tpfl-heading span{color:#4b667c;font-size:clamp(14px,1.5vw,18px);font-weight:750}.tpfl-stage{position:relative;width:min(1180px,100%);min-height:820px;margin:0 auto;overflow:hidden;isolation:isolate;border:7px solid #fff;border-radius:42px;background:#173969;box-shadow:0 22px 55px #1737533c}.tpfl-background{z-index:-3;object-fit:cover;object-position:center}.tpfl-readable-wash{position:absolute;z-index:-2;inset:0;pointer-events:none;background:linear-gradient(180deg,#071d3912 0 20%,#ffffff0a 42%,#06182c35)}.tpfl-prompt{position:absolute;z-index:20;top:22px;left:48%;display:grid;width:min(750px,calc(100% - 340px));min-height:91px;grid-template-columns:56px 1fr 52px;align-items:center;gap:12px;padding:11px 15px;transform:translateX(-50%);border:3px solid #fff;border-radius:27px;background:#f7fdfff3;box-shadow:0 8px 0 #2aa2b8,0 16px 28px #071a3552}.tpfl-prompt>button,.tpfl-prompt>span{display:grid;width:50px;height:50px;place-items:center;border:0;border-radius:50%;color:#fff;background:linear-gradient(#6d69e7,#493bbb);box-shadow:0 5px 0 #302687}.tpfl-prompt>button{cursor:pointer}.tpfl-prompt svg{width:26px}.tpfl-prompt small{color:#147f96;font-size:10px;font-weight:1000;letter-spacing:.14em}.tpfl-prompt h2{margin:1px 0 0;color:#143b57;font-size:clamp(16px,1.9vw,24px);font-weight:1000;line-height:1.15}.tpfl-prompt>button:disabled{opacity:.55;cursor:not-allowed}.tpfl-hud{top:22px;min-width:145px;min-height:40px;align-items:center;justify-content:space-between;gap:14px;padding:8px 13px;border:2px solid #fff;border-radius:18px;color:#fff;background:#173b66e8;box-shadow:0 5px 12px #07192e50;font-size:15px;font-weight:1000}.tpfl-hud,.tpfl-progress{position:absolute;z-index:18;right:20px;display:flex}.tpfl-progress{top:74px;gap:6px}.tpfl-progress i{display:grid;width:31px;height:31px;place-items:center;border:3px solid #fff;border-radius:50%;color:#16415e;background:#eefcff;box-shadow:0 3px 0 #2796b0;font-size:12px;font-style:normal;font-weight:1000}.tpfl-progress i.current{color:#4d37b4;outline:4px solid #ffda4b}.tpfl-progress i.done{color:#fff;background:#20b489;box-shadow:0 3px 0 #11735e}.tpfl-progress svg{width:17px}.tpfl-workspace{position:absolute;z-index:8;top:137px;bottom:59px;left:46%;display:grid;width:min(860px,78%);grid-template-rows:1fr auto;gap:11px;transform:translateX(-50%)}.tpfl-sequence-phase{display:grid;align-content:center;gap:14px}.tpfl-engine-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.tpfl-engine{position:relative;padding:14px 14px 16px;border:3px solid #fff;border-radius:28px;background:#f6fdfff1;box-shadow:0 8px 0 #157f9a,0 16px 28px #071a3548}.tpfl-engine.purple{box-shadow:0 8px 0 #6540b3,0 16px 28px #071a3548}.tpfl-engine-title{display:flex;align-items:center;gap:9px}.tpfl-engine-title>span{display:grid;width:44px;height:44px;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(#43cae2,#168ea9);box-shadow:0 4px 0 #12677a;font-size:24px;font-weight:1000}.tpfl-engine.purple .tpfl-engine-title>span{background:linear-gradient(#9c77ec,#6540bd);box-shadow:0 4px 0 #422889}.tpfl-engine-title small{display:block;color:#147f96;font-size:9px;font-weight:1000;letter-spacing:.12em}.tpfl-engine.purple .tpfl-engine-title small{color:#6a42b3}.tpfl-engine-title b{display:block;color:#143d58;font-size:16px}.tpfl-sequence{display:flex;align-items:center;justify-content:center;gap:5px;margin:13px 0 11px}.tpfl-sequence i{display:grid;width:43px;height:43px;place-items:center;border-radius:13px;color:#124158;background:#d9f8fb;box-shadow:0 4px 0 #67cbd5;font-size:18px;font-style:normal;font-weight:1000}.tpfl-engine.purple .tpfl-sequence i{background:#e8ddff;box-shadow:0 4px 0 #a28ae1}.tpfl-sequence i.missing{color:#fff;background:#ef7c68;box-shadow:0 4px 0 #b94942}.tpfl-number-choices{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.tpfl-number-choices button{min-height:48px;border:3px solid #fff;border-radius:15px;color:#fff;background:linear-gradient(#49cbe0,#1592aa);box-shadow:0 5px 0 #11697b;cursor:pointer;font-size:20px;font-weight:1000}.tpfl-engine.purple .tpfl-number-choices button{background:linear-gradient(#9474e7,#6545bd);box-shadow:0 5px 0 #422b85}.tpfl-number-choices button.selected{outline:4px solid #ffd94f;outline-offset:2px}.tpfl-engine-answer{position:absolute;right:14px;top:14px;visibility:hidden}.tpfl-pair-board{display:grid;width:min(560px,90%);min-height:112px;margin:0 auto;padding:10px 14px;grid-template-columns:1fr auto;align-items:center;border:3px solid #8eeaf0;border-radius:24px;color:#fff;background:linear-gradient(135deg,#103f67ef,#272c6bef);box-shadow:0 7px 0 #0b2546,0 14px 25px #06172d55}.tpfl-pair-board span{grid-column:1;color:#ffd669;font-size:10px;font-weight:1000;letter-spacing:.12em}.tpfl-pair-board strong{grid-row:2;grid-column:1;font-size:clamp(28px,4vw,43px)}.tpfl-pair-board button{grid-row:1/3;grid-column:2;display:flex;min-height:58px;align-items:center;gap:7px;padding:9px 15px;border:3px solid #fff;border-radius:18px;color:#fff;background:linear-gradient(#ff8d70,#eb516b);box-shadow:0 6px 0 #a52d4d;cursor:pointer;font-size:14px;font-weight:1000}.tpfl-pair-board button:disabled{filter:grayscale(.6);opacity:.5;cursor:not-allowed}.tpfl-plot-phase{display:grid;align-content:center;gap:7px}.tpfl-pair-badge{justify-self:center;padding:7px 15px;border:2px solid #fff;border-radius:16px;color:#153f59;background:#fff8dff2;box-shadow:0 4px 0 #d59a3e;font-size:11px;font-weight:1000}.tpfl-pair-badge strong{margin-left:7px;color:#6b42c0;font-size:21px}.tpfl-graph-panel{padding:12px 15px 14px;border:3px solid #fff;border-radius:28px;background:#f7fdfff1;box-shadow:0 8px 0 #197e9a,0 16px 28px #071a3548}.tpfl-graph-heading{display:flex;align-items:center;justify-content:center;gap:8px;color:#5738ad;text-align:center}.tpfl-graph-heading svg{width:23px}.tpfl-graph-heading small{display:block;color:#168097;font-size:9px;font-weight:1000;letter-spacing:.12em}.tpfl-graph-heading b{display:block;font-size:17px}.tpfl-graph-wrap{position:relative;width:min(660px,90%);margin:8px auto 0;padding:0 0 25px 31px}.tpfl-plot{position:relative;aspect-ratio:1.65;border:4px solid #294d79;border-radius:14px;background-color:#faffff;background-image:repeating-linear-gradient(180deg,#b5dce3 0 2px,transparent 2px 25%),repeating-linear-gradient(90deg,#b5dce3 0 2px,transparent 2px 25%);box-shadow:inset 0 0 0 3px #fff,0 8px 18px #12385b3b}.tpfl-plot svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.tpfl-plot line,.tpfl-plot polyline{fill:none;stroke:#6d4ddd;stroke-width:.35;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.tpfl-plot circle{fill:#29aec3;stroke:#fff;stroke-width:.2;vector-effect:non-scaling-stroke}.tpfl-plot line.route-finish{stroke:#ef6c73;stroke-width:.5;stroke-dasharray:.7 .45}.tpfl-plot button{position:absolute;z-index:4;left:var(--x);top:var(--y);display:grid;width:42px;height:42px;place-items:center;transform:translate(-50%,-50%);border:3px solid #fff;border-radius:50%;color:#fff;background:linear-gradient(#ff8b70,#e95770);box-shadow:0 5px 0 #a32e4b;cursor:pointer}.tpfl-plot button svg{position:static;width:20px;height:20px}.tpfl-plot button span{position:absolute;top:42px;min-width:62px;padding:2px 4px;border-radius:7px;color:#163e58;background:#ffffffe8;font-size:11px;font-weight:1000}.tpfl-plot button.selected{outline:4px solid #ffd849}.tpfl-plot button.correct{background:linear-gradient(#48dea5,#17a77c);box-shadow:0 5px 0 #0d7057}.tpfl-x-axis,.tpfl-y-axis{position:absolute;display:flex;color:#173e5a;font-size:11px;font-weight:1000}.tpfl-x-axis{right:0;bottom:0;left:31px}.tpfl-x-axis,.tpfl-y-axis{justify-content:space-between}.tpfl-y-axis{top:0;bottom:25px;left:0;flex-direction:column;align-items:center}.tpfl-hint-zone{display:grid;min-height:55px;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:7px 10px;border:2px solid #ffe091;border-radius:20px;background:#fff6cef2;box-shadow:0 5px 0 #c8993c}.tpfl-hint-zone button{display:inline-flex;min-height:40px;align-items:center;gap:6px;padding:7px 12px;border:0;border-radius:13px;color:#67430c;background:#ffd75b;cursor:pointer;font-size:11px;font-weight:1000}.tpfl-hint-zone button:disabled{cursor:default;opacity:.62}.tpfl-hint-zone svg{width:17px}.tpfl-hint-zone p{margin:0;color:#5a431c;font-size:clamp(12px,1.3vw,15px);font-weight:800;line-height:1.25}.tpfl-hint-zone p b{color:#9b4b2c}.tpfl-mascot{position:absolute;z-index:12;right:.4%;bottom:35px;width:clamp(170px,20vw,235px);aspect-ratio:1;pointer-events:none}.tpfl-mascot .tpfl-mascot-art{width:100%}.tpfl-feedback{position:absolute;z-index:19;bottom:7px;left:50%;display:flex;width:min(850px,76%);min-height:39px;align-items:center;justify-content:center;gap:7px;transform:translateX(-50%);color:#fff;text-shadow:none}.tpfl-feedback svg{width:18px;color:#ffda56}.tpfl-feedback p{margin:0;font-size:clamp(12px,1.4vw,16px);font-weight:950;text-align:center}.tpfl-hint-zone button:focus-visible,.tpfl-number-choices button:focus-visible,.tpfl-pair-board button:focus-visible,.tpfl-plot button:focus-visible,.tpfl-prompt>button:focus-visible{outline:5px solid #ffe04d;outline-offset:3px}.tpfl-wrong .tpfl-engine-grid,.tpfl-wrong .tpfl-graph-panel{animation:tpfl-wiggle .4s ease-in-out}.tpfl-correct .tpfl-graph-panel,.tpfl-correct .tpfl-pair-board{border-color:#5ff0b4;box-shadow:0 8px 0 #14705d,0 16px 28px #071a3548}@keyframes tpfl-wiggle{30%{transform:translateX(-5px)}70%{transform:translateX(5px)}}@media(max-width:980px){.tpfl-prompt{left:43%;width:min(700px,calc(100% - 245px))}.tpfl-workspace{left:44%;width:78%}.tpfl-mascot{right:-1%;width:178px}}@media(max-width:760px){.tpfl-stage{min-height:950px}.tpfl-prompt{top:12px;left:12px;width:calc(100% - 24px);min-height:77px;grid-template-columns:44px 1fr 44px;transform:none;border-radius:21px}.tpfl-prompt>button,.tpfl-prompt>span{width:42px;height:42px}.tpfl-prompt h2{font-size:clamp(14px,3.5vw,20px)}.tpfl-hud{top:99px;left:16px;right:auto}.tpfl-progress{top:104px;right:16px}.tpfl-workspace{top:150px;bottom:83px;left:50%;width:calc(100% - 28px);transform:translateX(-50%)}.tpfl-mascot{right:-5px;bottom:29px;width:133px}.tpfl-feedback{width:95%;padding-right:88px;justify-content:flex-start}.tpfl-feedback p{text-align:left}}@media(max-width:570px){.tpfl-game{padding:66px 5px 10px}.tpfl-heading{margin-bottom:9px;padding-inline:8px}.tpfl-heading p{font-size:9px}.tpfl-heading h1{font-size:clamp(27px,8.5vw,38px)}.tpfl-heading span{font-size:12px}.tpfl-stage{min-height:max(1080px,calc(100svh - 124px));border-width:4px;border-radius:26px}.tpfl-prompt{grid-template-columns:1fr 42px;padding:8px 10px}.tpfl-prompt>span{display:none}.tpfl-hud{min-width:124px;font-size:13px}.tpfl-progress{gap:4px}.tpfl-progress i{width:27px;height:27px;border-width:2px}.tpfl-workspace{top:145px;bottom:91px;width:calc(100% - 16px)}.tpfl-engine-grid{grid-template-columns:1fr;gap:11px}.tpfl-engine{padding:10px 9px 12px;border-radius:22px}.tpfl-engine-title>span{width:38px;height:38px}.tpfl-sequence{margin:8px 0}.tpfl-sequence i{width:37px;height:37px;font-size:16px}.tpfl-number-choices button{min-height:43px;font-size:18px}.tpfl-pair-board{width:100%;min-height:90px}.tpfl-pair-board button{min-height:50px;padding-inline:10px;font-size:12px}.tpfl-graph-panel{padding:10px 5px 12px}.tpfl-graph-wrap{width:98%;padding-left:26px}.tpfl-plot{aspect-ratio:1.12}.tpfl-plot button{width:37px;height:37px}.tpfl-plot button span{top:37px;font-size:9px}.tpfl-hint-zone{grid-template-columns:1fr;gap:5px}.tpfl-hint-zone button{justify-self:start;min-height:34px}.tpfl-mascot{width:113px}}@media(max-height:760px) and (min-width:761px){.tpfl-stage{min-height:680px}.tpfl-workspace{top:122px;bottom:50px;gap:8px}.tpfl-engine{padding-block:9px 11px}.tpfl-number-choices button{min-height:43px}.tpfl-graph-wrap{width:min(590px,88%)}.tpfl-hint-zone{min-height:45px}}@media(prefers-reduced-motion:reduce){.tpfl-game *,.tpfl-game :after,.tpfl-game :before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.tpfl-heading h1{white-space:normal}.tpfl-heading span{display:block}.tpfl-prompt{width:min(720px,calc(100% - 400px))}.tpfl-engine,.tpfl-engine-grid,.tpfl-number-choices,.tpfl-pair-board,.tpfl-sequence-phase,.tpfl-workspace{min-width:0}.tpfl-number-choices{grid-template-columns:repeat(4,minmax(0,1fr))}.tpfl-number-choices button,.tpfl-pair-board button{min-width:0}@media(max-width:980px) and (min-width:761px){.tpfl-prompt{width:min(660px,calc(100% - 315px))}}@media(max-width:760px){.tpfl-prompt{width:calc(100% - 24px)}.tpfl-hud{top:119px}.tpfl-progress{top:124px}.tpfl-workspace{top:170px}}@media(max-width:570px){.tpfl-game{overflow-x:hidden}.tpfl-workspace{top:165px}.tpfl-engine-grid{grid-template-columns:minmax(0,1fr)}.tpfl-number-choices button{padding-inline:0}.tpfl-pair-board{grid-template-columns:minmax(0,1fr) 142px}.tpfl-pair-board button{justify-content:center;padding-inline:7px;font-size:11px;line-height:1.05}}.tpfl-heading{padding:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.tpfl-stage{margin-inline:auto}.tpfl-status-wrong .tpfl-engine-grid,.tpfl-status-wrong .tpfl-graph-panel{animation:tpfl-wiggle .4s ease-in-out}.tpfl-status-correct .tpfl-graph-panel,.tpfl-status-correct .tpfl-pair-board{border-color:#5ff0b4;box-shadow:0 8px 0 #14705d,0 16px 28px #071a3548}.tpfl-mascot{right:-3.5%}@media(max-width:980px){.tpfl-mascot{right:-4%}}@media(max-width:760px){.tpfl-mascot{right:-5px}}.tpfl-stage,.tpfl-stage *{text-shadow:none!important}