
html,body{margin:0;height:100%;background:#000;overflow:hidden;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:#eee;user-select:none;-webkit-user-select:none}
#c{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;display:block;touch-action:none}
#boot{position:fixed;inset:0;background:#0b0d10;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:100;transition:opacity .6s}#boot.done{opacity:0;pointer-events:none}
#boot h1{font-weight:800;letter-spacing:.3em;font-size:44px;margin:0 0 14px}#boot-msg{opacity:.65;letter-spacing:.2em;font-size:14px}
#menu{position:fixed;inset:0;z-index:90;display:none;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,rgba(8,10,14,.55),rgba(4,5,8,.9));backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:opacity .5s;overflow:auto}#menu.done{opacity:0;pointer-events:none}
#menu .card{max-width:880px;width:92vw;padding:26px 34px;box-sizing:border-box;max-height:96vh;overflow:auto}#menu h1{font-size:46px;letter-spacing:.28em;margin:0;font-weight:800}#menu .sub{opacity:.7;letter-spacing:.2em;margin:8px 0 18px;font-size:14px}
#menu p{line-height:1.75;font-size:15px;opacity:.9;margin:0 0 12px}#menu .cols{display:grid;grid-template-columns:1fr 1fr;gap:6px 30px;font-size:13.5px;line-height:1.9;margin:10px 0 18px}#menu .cols b{color:#f2c14e;font-weight:600;margin:0 7px 0 14px}#menu .cols b:first-child{margin-left:0}
#menu h3{margin:14px 0 4px;font-size:15px;letter-spacing:.15em;color:#f2c14e}#go{margin-top:6px;padding:13px 54px;font-size:20px;letter-spacing:.3em;background:#f2a020;color:#111;border:0;border-radius:4px;font-weight:800;cursor:pointer}#go:hover{background:#ffb640}#menu .by{margin-top:16px;font-size:13px;opacity:.6;letter-spacing:.1em}
#touch{display:none;position:fixed;inset:0;z-index:40;pointer-events:none}#touch>*{pointer-events:auto;position:absolute;touch-action:none}#touch .stick{left:22px;bottom:58px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.3)}#touch .nub{position:absolute;left:35px;top:35px;width:50px;height:50px;border-radius:50%;background:rgba(255,255,255,.45)}
#touch .tb{right:22px;width:58px;height:58px;border-radius:50%;background:rgba(20,24,30,.6);border:1px solid rgba(255,255,255,.4);color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center;text-align:center}#touch .shoot{bottom:70px;width:78px;height:78px;right:26px;background:rgba(242,160,32,.85);color:#111;font-weight:800;font-size:15px}#touch .raise{bottom:160px}#touch .mode{bottom:228px}#touch .zin{bottom:92px;right:118px}#touch .zout{bottom:24px;right:118px}#touch .crouch{bottom:160px;right:92px}#touch .fly{bottom:228px;right:92px}#touch .port{left:156px;right:auto;bottom:140px;width:50px;height:50px}#touch .up{left:156px;bottom:66px;right:auto}
body.touch .tool{top:0;bottom:auto;height:auto;padding:6px 6px 10px;justify-content:flex-start;overflow-x:auto;background:linear-gradient(rgba(0,0,0,.6),transparent);opacity:.9}body.touch .tool button{flex:none;font-size:12px;padding:6px 9px}body.touch #menu .kguide,#menu .tguide{display:none}body.touch #menu .tguide{display:block}body.touch #menu .tnote{display:none}#menu .card{position:relative}@media (max-height:520px){#menu h1{font-size:28px}#menu .sub{margin:4px 0 10px;font-size:12px}#menu p{font-size:13px;line-height:1.6;margin:0 0 8px}#menu .card{padding:14px 22px}#menu .cols{font-size:12.5px;line-height:1.7;margin:6px 0 10px}#go{padding:9px 34px;font-size:17px;position:absolute;top:18px;right:22px;margin:0}}@media (max-width:720px){#menu h1{font-size:30px}#menu .cols{grid-template-columns:1fr}#menu .card{padding:16px 18px}}
body.touch #touch .stick{left:max(22px,env(safe-area-inset-left))}body.touch #touch .up,body.touch #touch .port{margin-left:max(0px,calc(env(safe-area-inset-left) - 22px))}body.touch #touch .tb:not(.up):not(.port){margin-right:max(0px,calc(env(safe-area-inset-right) - 22px))}body.touch .tool{padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right))}body.touch #touch>*{zoom:var(--u,1)}body.touch .tool{zoom:var(--u,1)}
