@font-face{font-family:system;src:local('Avenir Next')}*{box-sizing:border-box}body{margin:0;background:#0b1423;color:#eff8f6;font-family:system,Arial,sans-serif;overflow:hidden}button{font:inherit;cursor:pointer;color:inherit;border:0}button:focus-visible,a:focus-visible{outline:3px solid #6effc7;outline-offset:5px}#world{position:fixed;inset:0;width:100%;height:100%;touch-action:none}header{position:fixed;top:0;left:0;right:0;padding:30px 38px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.brand{display:flex;align-items:center;gap:12px;color:white;text-decoration:none;pointer-events:auto}.brand svg{width:34px;height:43px}.brand>span{font-size:13px;font-weight:800;letter-spacing:2.6px;line-height:1.6}.brand small{display:block;font-size:10px;letter-spacing:5.2px;color:#b0c4cc}.brand em{margin-left:14px;border:1px solid #536470;border-radius:5px;font-style:normal;font-size:9px;letter-spacing:2px;padding:7px 10px;color:#bad1d3}.tools{display:flex;gap:8px;pointer-events:auto}.tools button{background:#122331d9;border:1px solid #ffffff18;border-radius:12px;min-width:43px;height:43px;font-size:22px}.tools button span{font-size:11px;margin:0 12px 0 8px;color:#bed0d5}.mission{position:fixed;left:40px;top:140px;width:285px;padding:24px;background:linear-gradient(135deg,#172c39f0,#0c1b29d9);border:1px solid #8bb6ae29;border-radius:20px;box-shadow:0 16px 70px #0003;backdrop-filter:blur(16px)}.eyebrow,.modal-eyebrow{font-size:9px;letter-spacing:2.5px;color:#8beec6;display:flex;align-items:center;gap:8px}.eyebrow i,.map i{width:5px;height:5px;background:#6effc7;display:inline-block;border-radius:50%;box-shadow:0 0 12px #6effc7}h1{font-size:29px;line-height:1.2;letter-spacing:-1px;margin:14px 0 12px}p{font-size:12px;line-height:1.8;color:#b8cdd2}.progress-label{display:flex;justify-content:space-between;margin-top:27px;font-size:9px;letter-spacing:1.5px;color:#8ca5b1}.progress-label b{color:#d7fbeb;font-size:12px;letter-spacing:0}.progress{height:4px;border-radius:4px;background:#ffffff15;margin:12px 0 22px;overflow:hidden}.progress i{display:block;width:0;height:100%;background:#6effc7;box-shadow:0 0 12px #6effc7;transition:width .4s}.steps{display:flex;justify-content:space-between;font-size:9px;color:#667f8d}.steps span{display:flex;gap:4px}.steps b{font-weight:500}.steps .active{color:#91f3ca}.score{position:fixed;right:40px;top:142px;text-align:right}.score small{font-size:9px;letter-spacing:2px;color:#9ab6c5}.score strong{display:block;font-size:48px;line-height:1.3;font-weight:400;letter-spacing:-2px}.score>span{font-size:9px;color:#8a9eae}.map{position:fixed;right:38px;bottom:95px;display:flex;flex-direction:column;align-items:center;background:#0b1927b8;border:1px solid #9bbbac2c;border-radius:100px 100px 14px 14px;overflow:hidden;padding:6px 6px 15px;backdrop-filter:blur(8px)}.map canvas{width:150px;height:150px}.map>span{font-size:8px;letter-spacing:1.7px;color:#afc8ca}.map i{margin-right:5px}.bottom{position:fixed;bottom:27px;left:40px;right:40px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.hint{display:flex;align-items:center;gap:9px;font-size:10px;color:#a7bec7}.key{border:1px solid #ffffff2a;padding:6px 8px;border-radius:5px;color:#d7e6e8;font-size:9px}.hint i{width:3px;height:3px;background:#627984;margin:0 3px;border-radius:50%}.signature{text-align:right;font-size:8px;letter-spacing:1.5px;color:#aec9ce}.signature small{display:block;font-size:8px;letter-spacing:.2px;margin-top:7px;color:#6d8997}#interact{position:fixed;bottom:120px;left:50%;transform:translateX(-50%);background:#70f5bd;color:#102b25;padding:16px 24px;border-radius:12px;font-size:11px;letter-spacing:1px;font-weight:800;box-shadow:0 0 40px #53f3ad40}kbd{margin-left:15px;border:1px solid #1f44394a;padding:3px 6px;border-radius:4px}#toast{position:fixed;left:50%;top:115px;transform:translate(-50%,-20px);opacity:0;background:#15352ee8;border:1px solid #6effc749;padding:13px 24px;border-radius:12px;color:#b8ffe1;font-size:12px;transition:.3s;pointer-events:none}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{background:#142733f5;color:#f2fffa;border:1px solid #8eaeab40;border-radius:25px;padding:38px;max-width:490px;width:calc(100% - 36px);box-shadow:0 35px 100px #0008;backdrop-filter:blur(18px)}dialog::backdrop{background:#07121a8c;backdrop-filter:blur(5px)}h2{font-size:36px;line-height:1.14;letter-spacing:-1.5px;margin:17px 0}dialog p{font-size:13px}.primary{width:100%;background:#7bf1bf;color:#143329;font-size:11px;letter-spacing:1px;font-weight:800;padding:18px 20px;border-radius:11px;margin-top:18px}.primary:hover{background:#a2ffd8}.primary span{float:right}.secondary{width:100%;padding:15px;background:transparent;font-size:11px;color:#9cb7c1}.fine{display:block;font-size:9px;color:#82a0af;margin-top:17px;text-align:center}.instructions{display:flex;gap:20px;margin:26px 0}.instructions>span{flex:1;color:#a5f5d2;font-size:25px}.instructions b{display:block;color:#ebfff7;font-size:11px;margin:9px 0 5px}.instructions small{display:block;color:#93afba;font-size:10px;line-height:1.5}.result{display:flex;align-items:center;gap:24px;padding:22px;border:1px solid #6effc729;border-radius:15px;margin:20px 0}.result>b{font-size:48px;color:#81f5c3;font-weight:400}.result span{font-size:10px;letter-spacing:1px}.result small{display:block;font-size:9px;letter-spacing:0;color:#89a6b2;margin-top:8px}#loading{position:fixed;inset:0;z-index:10;background:#0b1423;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;transition:opacity .6s}#loading b{font-size:18px}#loading small{font-size:12px;color:#91adb7}.loader-ring{height:48px;width:48px;border:1px solid #68efb62b;border-top-color:#68efb6;border-radius:50%;animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#error{position:fixed;inset:0;background:#102332;z-index:20;padding:15vh 10vw}#error[hidden]{display:none}.touch-controls{display:none}body:before{content:'';position:fixed;inset:0;pointer-events:none;z-index:1;box-shadow:inset 0 0 160px #08121c70}header,.mission,.score,.map,.bottom,.touch-controls,#toast{z-index:2}@media(max-width:760px){header{padding:20px}.brand em{display:none}.brand>span{font-size:11px}.brand small{font-size:8px}.tools button span{display:none}.mission{top:90px;left:18px;width:215px;padding:17px;border-radius:16px}h1{font-size:23px;margin:10px 0}.mission p{font-size:10px;margin:6px 0}.progress-label{margin-top:15px;font-size:8px}.progress{margin:8px 0 14px}.eyebrow{font-size:8px;letter-spacing:1.5px}.steps{font-size:8px}.score{top:100px;right:20px}.score small{font-size:7px;letter-spacing:1px}.score strong{font-size:34px}.score>span{display:block;width:90px;line-height:1.6;font-size:8px}.map{right:18px;bottom:200px;padding:4px 4px 10px}.map canvas{width:90px;height:90px}.map>span{font-size:6px;letter-spacing:.5px}.map i{width:3px;height:3px}.bottom{left:20px;right:20px;bottom:15px}.hint{display:none}.signature{font-size:6px;width:100%;text-align:center}.signature small{font-size:7px}.touch-controls{display:flex;position:fixed;left:28px;right:28px;bottom:65px;justify-content:space-between;align-items:center;pointer-events:none}#joystick{height:112px;width:112px;border-radius:50%;border:1px solid #b2e7d049;background:#0c21349c;pointer-events:auto;touch-action:none;position:relative;box-shadow:inset 0 0 30px #5affad0a}#stick{width:46px;height:46px;position:absolute;top:32px;left:32px;border-radius:50%;background:#7df2bc66;border:1px solid #93ffce9c;pointer-events:none}#dash{height:75px;width:75px;border:1px solid #c4b0ff6b;background:#4c3f719c;border-radius:50%;font-size:11px;font-weight:bold;letter-spacing:1px;pointer-events:auto;touch-action:none}#dash span{display:block;font-size:7px;color:#baa6ed;margin-top:6px}#interact{bottom:210px;white-space:nowrap;font-size:10px;padding:14px 17px}#toast{top:auto;bottom:205px;max-width:85%;width:max-content;font-size:11px;text-align:center}dialog{padding:27px}h2{font-size:32px}.instructions{gap:12px}.modal-eyebrow{font-size:8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}.loader-ring{animation:none}}
:root{--tg-top:0px;--tg-bottom:0px}header{top:var(--tg-top)}.vitals{position:fixed;left:40px;bottom:100px;width:180px;z-index:2}.vitals>span{display:flex;justify-content:space-between;font-size:9px;letter-spacing:2px;color:#b7d9ce}.vitals>div{height:4px;background:#ffffff20;margin-top:8px;border-radius:3px;overflow:hidden}.vitals i{display:block;width:100%;height:100%;background:#6effc7;transition:width .2s}.vitals small{display:block;font-size:9px;margin-top:9px;color:#b5a1db}#damage-flash{position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 100px #ff465999;opacity:0;z-index:3;transition:opacity .18s}.actions{display:flex;gap:12px;align-items:center;pointer-events:auto}.actions button{height:65px;width:65px;touch-action:none;border-radius:50%;font-size:9px;font-weight:800;letter-spacing:.6px;background:#203c4cdd;border:1px solid #a8c5ce77}.actions #attack{width:80px;height:80px;background:#304b45e8;border-color:#75e7b3}.actions #attack span{display:block;font-size:7px;font-weight:400;margin-top:5px;color:#a3dbbd}.mission{top:calc(140px + var(--tg-top))}.bottom{bottom:calc(27px + var(--tg-bottom))}@media(max-width:760px){.mission{top:calc(84px + var(--tg-top));width:200px;padding:14px}.mission h1{font-size:21px}.score{top:calc(100px + var(--tg-top))}.touch-controls{left:20px;right:20px;bottom:calc(65px + var(--tg-bottom))}.actions{gap:8px;flex-wrap:wrap;width:150px;justify-content:center}.actions #jump{height:45px;width:65px;border-radius:16px}.actions #dash{height:59px;width:59px}.actions #attack{height:70px;width:70px}.vitals{left:22px;bottom:calc(204px + var(--tg-bottom));width:115px}.map{bottom:calc(238px + var(--tg-bottom))}.map canvas{width:70px;height:70px}.bottom{bottom:calc(15px + var(--tg-bottom))}#interact{bottom:calc(310px + var(--tg-bottom))}#toast{bottom:calc(280px + var(--tg-bottom))}#joystick{height:105px;width:105px}#stick{left:29px;top:29px}}
