*{box-sizing:border-box}body{margin:0;font-family:Courier New,Consolas,Menlo,monospace;font-size:14px;background:#fff;color:#111;line-height:1.5}#app{max-width:960px;margin:0 auto;padding:12px}h1{font-size:18px;margin:0 0 8px}h2{font-size:15px;margin:16px 0 6px;border-bottom:1px solid #000}table{border-collapse:collapse;width:100%;margin-bottom:8px}th,td{border:1px solid #999;padding:4px 6px;text-align:right;white-space:nowrap}th:first-child,td:first-child{text-align:left}button{font-family:inherit;font-size:13px;padding:3px 10px;margin:2px 4px 2px 0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}input[type=number]{font-family:inherit;width:6em}nav{margin-bottom:10px;border-bottom:2px solid #000;padding-bottom:6px}nav button{font-weight:400}nav button.active{font-weight:700;text-decoration:underline}.dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:4px 16px;border:1px solid #000;padding:8px;margin-bottom:10px}.dashboard .item{display:flex;justify-content:space-between;gap:6px;white-space:nowrap}.dashboard .label{color:#444}.warning{border:2px solid #b00020;color:#b00020;padding:6px 8px;margin-bottom:10px;font-weight:700}.up{color:#0a6b00}.down{color:#b00020}.log{max-height:220px;overflow-y:auto;border:1px solid #999;padding:6px 8px;font-size:12px;background:#fafafa}.log div{margin-bottom:2px}.action-form{border:1px solid #999;padding:8px;margin-bottom:12px}.action-form label{margin-right:10px}.error{color:#b00020;font-size:12px;margin-top:4px}.center{text-align:center}.gameover{border:2px solid #000;padding:20px;text-align:center}
