:root {
  --bg: #101214; --panel: #181b1f; --line: #2a2f36; --text: #e6e8eb; --dim: #9aa3ad;
  --accent: #5aa9ff; --ok: #4cc38a; --warn: #f0b429; --bad: #ef5b5b;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.45 system-ui, sans-serif; }
header { display: flex; align-items: center; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--panel); flex-wrap: wrap; }
header h1 { font-size: 18px; margin: 0; letter-spacing: .02em; }
header .grow { flex: 1; }
main { max-width: 1100px; margin: 0 auto; padding: 20px 16px 60px; }
a { color: var(--accent); }
button, .button { background: #23272d; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px; font: inherit; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .button:hover { border-color: var(--accent); }
button.primary { background: var(--accent); border-color: var(--accent); color: #08121f; font-weight: 600; }
button:disabled { opacity: .5; cursor: default; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 16px; }
form { display: flex; gap: 8px; flex-wrap: wrap; }
input[type=text] { flex: 1; min-width: 240px; background: #0c0e10; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font: inherit; }
.note { color: var(--dim); font-size: 13px; margin: 8px 0 0; }
.error { color: var(--bad); margin: 8px 0 0; min-height: 1em; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
td.actions { white-space: nowrap; text-align: right; }
.players { color: var(--dim); font-size: 12px; max-width: 320px; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; border: 1px solid; }
.queued { color: var(--dim); } .running { color: var(--accent); } .done { color: var(--ok); } .failed { color: var(--bad); } .stalled { color: var(--warn); }
.bar { height: 6px; background: #0c0e10; border-radius: 3px; margin-top: 6px; overflow: hidden; width: 180px; }
.bar > div { height: 100%; background: var(--accent); transition: width .5s; }
.stage { font-size: 12px; color: var(--dim); margin-top: 3px; max-width: 280px; }
.signin { text-align: center; padding: 40px 16px; }
@media (max-width: 720px) { .hide-narrow { display: none; } td, th { padding: 8px 4px; } }
.steps li { margin-bottom: 8px; }
code { background: #0c0e10; border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; font-size: 13px; }
h2 { font-size: 16px; margin: 0 0 10px; }
