*{box-sizing:border-box}html,body{margin:0;padding:0;height:100%;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#0d0f13;color:#e9eef5}
#app{display:flex;gap:16px;padding:16px}
#world{border:1px solid #232a36;border-radius:8px;background:#0b0d11}
#panel{width:420px;max-width:42ch;display:flex;flex-direction:column;gap:12px}
h1{margin:0 0 4px 0;font-size:22px;font-weight:700;letter-spacing:0.3px}
.mini{font-weight:500;color:#9aa6b2;font-size:14px}
.stat{display:grid;grid-template-columns:1fr;gap:6px;padding:8px 10px;background:#11161f;border:1px solid #202735;border-radius:8px}
.controls{padding:8px 10px;background:#11161f;border:1px solid #202735;border-radius:8px}
.controls ul{margin:6px 0 0 18px;padding:0}
.controls li{margin:2px 0}
.controls kbd{background:#202735;border:1px solid #2b3342;border-bottom-color:#1b2230;border-radius:4px;padding:0 6px}
.controls .hint{color:#9aa6b2;font-size:12px}
.console input{width:100%;padding:10px 12px;border-radius:8px;border:1px solid #263144;background:#0f141c;color:#e9eef5;outline:none}
.console input:focus{border-color:#3a7afe}
.log{height:280px;overflow:auto;padding:8px 10px;background:#0f141c;border:1px solid #202735;border-radius:8px;font-family:ui-monospace,Consolas,Menlo,monospace;font-size:12.5px;line-height:1.35}
.log .ts{color:#7d8896;margin-right:6px}
.log .retro .ts{color:#5eb1ff}
.log .event{margin:2px 0}
code{background:#0f141c;border:1px solid #202735;border-radius:6px;padding:0 6px}
