.game-stage.is-html-game{background:#09172b}.is-html-game #phaser-example{aspect-ratio:auto;max-width:none;overflow:visible}.asteroid-game{padding:24px;color:#edf6ff}.escape-instruments{display:flex;justify-content:space-between;gap:12px;margin-bottom:17px;font-family:Consolas,monospace;font-size:12px;letter-spacing:1.2px;color:#91dce9}.escape-counter{color:#ffda8b}.escape-window{position:relative;isolation:isolate;height:230px;overflow:hidden;border:1px solid #3d6383;border-radius:12px;background:radial-gradient(circle at 14% 28%,#edf7ff 1px,transparent 2px),radial-gradient(circle at 40% 68%,#a5cdef 1px,transparent 2px),radial-gradient(circle at 65% 22%,#e9faff 1px,transparent 2px),radial-gradient(ellipse at 35% 110%,#52408088,transparent 70%),#071326;background-size:101px 113px,137px 127px,173px 167px,auto,auto}.escape-orbit{position:absolute;width:120%;height:135px;border:1px dashed #90c8e433;border-radius:50%;top:85px;left:-10%;transform:rotate(-9deg)}.escape-planet{position:absolute;right:-25px;top:-36px;width:155px;height:155px;border-radius:50%;background:radial-gradient(circle at 30% 70%,#ffd98c,#bf835f 48%,#43375d 82%);box-shadow:-12px 10px 40px #fbc87817}.escape-ship{position:absolute;left:8%;top:80px;width:155px;z-index:2;filter:drop-shadow(0 5px 13px #0008);transition:transform 1.3s ease-in,opacity 1.3s}.escape-ship>svg{display:block;width:100%;height:auto;stroke:none}.escape-window-label{position:absolute;bottom:14px;left:17px;font-size:9px;color:#92acc7;letter-spacing:2px}.escape-rock{position:absolute;width:47px;height:47px;opacity:0;transform:scale(.4) rotate(-30deg);transition:opacity .3s,transform .4s}.escape-rock.is-visible{opacity:1;transform:scale(1) rotate(0)}.escape-rock svg{display:block;width:100%;height:100%;fill:#987d71;stroke:#d1bba2;stroke-width:1.5}.escape-rock circle{fill:#655a5a;stroke:#b09889}.rock-1{left:43%;top:25px}.rock-2{left:65%;top:135px;width:39px;height:39px}.rock-3{left:34%;top:155px;width:37px;height:37px}.rock-4{left:70%;top:57px}.rock-5{left:51%;top:105px;width:55px;height:55px}.rock-6{left:21%;top:20px;width:37px;height:37px}.rock-7{left:81%;top:164px;width:38px;height:38px}.rock-8{left:28%;top:80px;width:43px;height:43px}.escape-controls{max-width:730px;margin:24px auto 0}.escape-clue{font-size:17px;line-height:1.7;color:#d3e5f5;text-align:center;margin-bottom:20px}.escape-word{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 auto 16px}.escape-letter{display:grid;place-items:center;width:49px;height:58px;border:1px solid #6f8bad;border-bottom:3px solid #ffd172;border-radius:7px;background:#18324e;color:#fff5d9;font-size:30px;font-weight:750;box-shadow:inset 0 1px #ffffff16}.escape-feedback{text-align:center;min-height:48px;margin-bottom:17px;color:#b7d3e9;font-size:14px;line-height:1.7}.escape-keyboard{max-width:630px;margin:auto}.escape-key-row{display:flex;justify-content:center;gap:7px;margin-bottom:8px}.escape-key-row button{flex:1;max-width:53px;min-width:0;min-height:48px;padding:8px 0;border:1px solid #7d9db8;border-bottom:4px solid #16243b;border-radius:7px;background:linear-gradient(#3d587a,#253e61);color:#fff;font-size:17px;font-weight:750;box-shadow:inset 0 1px #ffffff38,0 3px #020b19}.escape-key-row button:hover:not(:disabled){background:#6b4fb3;border-color:#c3acf4}.escape-key-row button:disabled{box-shadow:none;border-bottom-width:1px;cursor:default;background:#101f33;color:#a8b9cb;border-color:#4a5d72}.escape-key-row button.is-correct{background:#145344;color:#aaf5ce;border-color:#69c2a1}.escape-key-row button.is-missed{background:#362c3d;color:#b6acbd;border-color:#6c5a72}.escape-result{text-align:center;margin-top:20px}.escape-result[hidden]{display:none}.escape-reference{color:#ffd78a;font-size:13px;margin-bottom:16px}.escape-tip{text-align:center;margin:20px 0 0;font-size:11px;line-height:1.7;color:#9fbcd3}.escape-won .escape-ship{transform:translateX(650px) translateY(-20px);opacity:0}.escape-won .escape-feedback{color:#a2f3c9;font-weight:650}.escape-lost .escape-feedback{color:#ffdfa0}.escape-won .escape-letter{border-color:#8ae4b1;background:#164537}.escape-lost .escape-letter{border-bottom-color:#d8ac84}
@media(max-width:700px){.asteroid-game{padding:16px 12px}.escape-window{height:195px}.escape-ship{left:4%;top:65px;width:125px}.escape-planet{width:110px;height:110px;right:-25px;top:-29px}.escape-controls{margin-top:19px}.escape-clue{font-size:15px;margin-bottom:17px}.escape-word{gap:5px}.escape-letter{width:32px;height:44px;font-size:23px}.escape-feedback{font-size:13px}.escape-instruments{font-size:10px;letter-spacing:.7px}.escape-rock{width:37px;height:37px}.rock-3{top:145px;width:29px;height:29px}.rock-5{top:93px;width:41px;height:41px}.rock-7{top:140px;width:29px;height:29px}.escape-key-row{gap:4px;margin-bottom:7px}.escape-key-row button{font-size:14px;min-height:44px;border-radius:5px}.escape-window-label{font-size:7px;letter-spacing:1.5px;left:12px}.escape-tip{font-size:10px}.escape-reference{font-size:12px}}
@media(max-width:370px){.asteroid-game{padding:13px 8px}.escape-letter{width:26px;height:39px;font-size:21px}.escape-word{gap:4px}.escape-instruments{font-size:9px}.escape-key-row{gap:3px}.escape-key-row button{font-size:13px}}
@media(prefers-reduced-motion:reduce){.escape-ship,.escape-rock{transition:none}.escape-won .escape-ship{transform:none;opacity:1}}
