html,body{margin:0;height:100%;overflow:hidden;background:#1d2617;font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#f2f2ea;user-select:none}canvas{display:block;cursor:none}#game,#hud{position:fixed;inset:0;width:100vw;height:100vh}#hud{pointer-events:none}.overlay{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0f140cb8}.hidden{display:none!important}.panel{background:#26301f;border:1px solid #4b5c3c;border-radius:10px;padding:28px 32px;min-width:320px;box-shadow:0 12px 40px #00000080;text-align:center}.panel h1{margin:0 0 6px;font-size:40px;letter-spacing:6px;color:#e9d77a}.panel p{margin:6px 0 18px;color:#b9c3a8;font-size:14px}.panel input{width:100%;box-sizing:border-box;padding:10px 12px;font-size:16px;border-radius:6px;border:1px solid #5e7049;background:#161d12;color:#fff;outline:none}.panel input:focus{border-color:#e9d77a}.panel button{margin-top:14px;width:100%;padding:11px;font-size:17px;font-weight:600;border:0;border-radius:6px;background:#e9d77a;color:#222;cursor:pointer}.panel button:hover{background:#f5e590}.controls{margin-top:18px;font-size:13px;color:#9aa68a;line-height:1.7;text-align:left}kbd{background:#161d12;border:1px solid #4b5c3c;border-radius:3px;padding:0 5px;font-family:inherit;font-size:12px}.serverHead,.panel .serverRow{display:grid;grid-template-columns:1fr 96px 110px;align-items:center;text-align:left}.serverHead{margin:16px 0 4px;padding:0 12px;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#9aa68a}.serverHead span:not(:first-child),.serverRow span:not(:first-child){text-align:right}.serverList{display:flex;flex-direction:column;gap:6px;max-height:190px;overflow-y:auto;min-height:84px}.panel .serverRow{margin-top:0;width:100%;padding:9px 12px;font-size:14px;font-weight:500;border:2px solid #4b5c3c;border-radius:6px;background:#1d2617;color:#f2f2ea;cursor:pointer;font-variant-numeric:tabular-nums}.panel .serverRow:hover{border-color:#8a9a6a;background:#26301f}.panel .serverRow.selected{border-color:#e9d77a;box-shadow:0 0 0 1px #e9d77a inset}.panel .serverRow:disabled{opacity:.5;cursor:default;border-color:#4b5c3c;background:#1d2617}.serverRow .sName{font-weight:700}.serverRow small{color:#9aa68a;font-weight:400}.serverNote{padding:12px;font-size:13px;color:#9aa68a}#status{margin-top:10px;font-size:13px;color:#e88;min-height:1em}.red{color:#ff8f80}.blue{color:#86b6ff}.endScore{font-size:44px;font-weight:800;font-variant-numeric:tabular-nums;color:#9aa68a}#endWinner{font-size:18px;font-weight:700;color:#f2f2ea}.endTeams{display:flex;gap:18px;align-items:flex-start}.endTeam{flex:1;min-width:250px;border-radius:8px;padding:10px 6px;background:#1d2617;max-height:52vh;overflow-y:auto}.endTeam h2{margin:0 0 4px;font-size:14px;letter-spacing:2px}.redTeam{border-top:4px solid #c9473d}.redTeam h2{color:#ff8f80}.blueTeam{border-top:4px solid #3d72c9}.blueTeam h2{color:#86b6ff}#endPanel table{margin:6px auto 0;border-collapse:collapse;width:100%}#endPanel td,#endPanel th{padding:4px 10px;text-align:left;font-size:14px}#endPanel th{color:#9aa68a;font-weight:500;border-bottom:1px solid #4b5c3c}#endPanel td.num,#endPanel th.num{text-align:right;font-variant-numeric:tabular-nums}#endPanel tr.me td{color:#e9d77a;font-weight:600}.menuPanel{min-width:420px}.menuPanel h1{font-size:30px}.panel button.secondary{background:#3a4a2e;color:#f2f2ea}.panel button.secondary:hover{background:#4a5d3a}.panel button.secondary:disabled{opacity:.45;cursor:default}.panel button.danger{background:#7a2e26;color:#fff}.panel button.danger:hover{background:#95392f}.panel button small{font-weight:400;opacity:.75}.picker{display:flex;gap:12px;justify-content:center}.picker.floating{position:fixed;left:50%;bottom:104px;transform:translate(-50%);z-index:5}.vehCard{width:190px;padding:8px 10px 10px;border-radius:8px;border:2px solid #4b5c3c;background:#1d2617eb;color:#f2f2ea;font:inherit;text-align:left;cursor:pointer}.panel .vehCard{margin-top:0;width:190px;padding:8px 10px 10px;font-size:13px;font-weight:400;background:#1d2617;color:#f2f2ea}.vehCard:hover,.panel .vehCard:hover{border-color:#8a9a6a;background:#26301f}.vehCard.selected,.panel .vehCard.selected{border-color:#e9d77a;box-shadow:0 0 0 1px #e9d77a inset}.vehImg{height:72px;display:flex;align-items:center;justify-content:center}.vehImg canvas{width:96px;height:72px}.vehName{font-size:16px;font-weight:700;margin:2px 0 4px}.vehLine{font-size:12px;color:#b9c3a8;line-height:1.5}.vehBars{display:grid;grid-template-columns:auto 1fr;gap:0 8px;margin-top:6px;font-size:11px;color:#9aa68a}.vehBars i.bar{align-self:center;height:7px;border-radius:2px;background:#3a4a2e;overflow:hidden}.vehBars i.bar u{display:block;height:100%;background:#e9d77a;text-decoration:none}#escMenu,.picker.floating{cursor:default}.overlay.light{background:#0f140c59;cursor:default}.panel p.hint{margin:14px 0 0;font-size:12px;color:#9aa68a}
