*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#111713;color:#eee;font-family:system-ui,-apple-system,Segoe UI,sans-serif;touch-action:none}#game{position:relative;width:100%;height:100%;height:100dvh;overflow:hidden}#view{display:block;width:100%;height:100%;outline:0}.topbar{position:absolute;top:0;left:0;right:0;padding:calc(env(safe-area-inset-top) + 10px) 14px 10px;display:flex;align-items:center;gap:12px;background:linear-gradient(#0b100ddd,transparent);pointer-events:none}.brand{font-weight:900;letter-spacing:.12em;font-size:14px}.brand span{display:block;font-size:9px;letter-spacing:.22em;color:#c6a86c}.topbar #status{margin-left:auto;font-size:11px;color:#d6d4c9;text-shadow:0 1px 3px #000}.topbar button{pointer-events:auto;border:1px solid #927c52;background:#1b211cdd;color:#f5e5c0;border-radius:10px;width:38px;height:34px;font-size:22px}.help{position:absolute;top:64px;left:12px;padding:6px 9px;border-radius:8px;background:#111a15b8;color:#d9d5c7;font-size:10px;pointer-events:none}.controls{position:absolute;left:0;right:0;bottom:calc(env(safe-area-inset-bottom) + 14px);display:flex;align-items:end;justify-content:space-between;padding:0 18px;pointer-events:none}.stick{width:116px;height:116px;border-radius:50%;border:1px solid #d8c49a88;background:#151d19a8;box-shadow:inset 0 0 24px #0008;position:relative;pointer-events:auto;touch-action:none}.knob{position:absolute;width:48px;height:48px;border-radius:50%;left:33px;top:33px;background:radial-gradient(circle at 35% 30%,#e8d7b2,#8b744b);border:2px solid #f2dfb0;box-shadow:0 3px 12px #0009}.actions{display:flex;flex-direction:column;gap:9px;pointer-events:auto}.action{min-width:94px;padding:12px 14px;border:1px solid #9b8355;border-radius:10px;background:#20271fe8;color:#f1dfb5;font-weight:800;font-size:11px;letter-spacing:.08em}.action:active,.action.off{background:#594a30;color:#fff}.error{position:absolute;left:12px;right:12px;top:105px;padding:12px;border:1px solid #a44;background:#301818ed;color:#ffdada;border-radius:10px;font-size:12px;white-space:pre-wrap}