:root{--sl:env(safe-area-inset-left,0px);--sr:env(safe-area-inset-right,0px);--st:env(safe-area-inset-top,0px);--sb:env(safe-area-inset-bottom,0px)}html,body{overscroll-behavior:none;background:#04060b;height:100%;margin:0;overflow:hidden}body{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;position:fixed;inset:0}canvas{touch-action:none;cursor:crosshair;display:block}#iris{pointer-events:none;position:fixed;inset:0}.ui{color:#6592b3;letter-spacing:.08em;pointer-events:none;font:12px/1.5 ui-monospace,Consolas,monospace;position:fixed}#title{left:calc(16px + var(--sl));top:calc(12px + var(--st))}#title b{color:#cfe6ef;letter-spacing:.3em;font-weight:400}#keys{left:calc(16px + var(--sl));bottom:calc(12px + var(--sb));color:#2f5276}#taps{left:calc(16px + var(--sl));top:calc(56px + var(--st));color:#2f5276;display:none}#fps{right:calc(16px + var(--sr));top:calc(12px + var(--st));white-space:pre;text-align:right}.stick{pointer-events:none;border-radius:50%;width:112px;height:112px;margin:-56px 0 0 -56px;position:fixed;box-shadow:inset 0 0 0 2px #2f5276}.stick i{background:#2f527699;border-radius:50%;width:48px;height:48px;position:absolute;top:32px;left:32px;box-shadow:inset 0 0 0 2px #6592b3}.turnpad,.sbtn{display:none}.tbtn,.sbtn{letter-spacing:.08em;color:#97cbe0;touch-action:none;-webkit-tap-highlight-color:transparent;background:#0b1424cc;border:2px solid #2f5276;border-radius:0;font:12px/1 ui-monospace,Consolas,monospace}.turnpad{right:calc(16px + var(--sr));bottom:calc(16px + var(--sb));gap:12px;position:fixed}.tbtn{width:60px;height:60px;font-size:28px}.tbtn:active{background:#2f5276cc}.sbtn{right:calc(12px + var(--sr));top:calc(8px + var(--st));padding:10px 12px;position:fixed}body.touch .turnpad{display:flex}body.touch .sbtn{display:block}body.touch #keys{display:none}body.touch #taps{display:block}body.touch #fps{top:calc(52px + var(--st))}body.touch #hp i{width:16px;height:11px}#loading{text-align:center;top:50%;left:50%;transform:translate(-50%,-50%)}#loading .bar{background:#172840;width:220px;height:4px;margin:0 auto 8px}#loading i{background:#93b9d1;width:0;height:100%;display:block}#hp{left:calc(16px + var(--sl));top:calc(34px + var(--st));gap:3px;display:flex}#hp i{background:#2a0a16;width:13px;height:9px;box-shadow:inset 0 0 0 1px #521022}#hp i.on{background:#e4524a;box-shadow:inset 0 -3px #b82b35,inset 0 2px #f58a76}#hp i.lag{box-shadow:none;background:#ffe6a8}#hp.low i.on{animation:.6s steps(2,end) infinite pulse}@keyframes pulse{50%{background:#84192c;box-shadow:inset 0 0 0 1px #b82b35}}#down{color:#e4524a;letter-spacing:.4em;font-size:14px;top:42%;left:50%;transform:translate(-50%,-50%)}
