:root{--bg:#0f1115;--panel:#181b22;--text:#e6e8ee;--muted:#8b91a0;--accent:#3ecf8e;--error:#ff6b6b;--border:#2a2f3a;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:var(--bg);min-height:100vh;color:var(--text);place-items:center;margin:0;display:grid}#app{justify-items:center;width:min(1100px,100% - 32px);padding:16px 0;display:grid}.panel{background:var(--panel);border:1px solid var(--border);border-radius:12px;gap:16px;width:100%;max-width:480px;padding:24px;display:grid}h1{margin:0;font-size:1.5rem}p{color:var(--muted);margin:0}form{gap:12px;display:grid}label{color:var(--muted);gap:6px;font-size:.9rem;display:grid}h2{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:8px 0 0;font-size:.85rem}.header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.muted{color:var(--muted);font-size:.9rem}.rooms{gap:8px;margin:0;padding:0;list-style:none;display:grid}.rooms li{border:1px solid var(--border);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.rooms li.empty{color:var(--muted);justify-content:center}.room-info{gap:2px;min-width:0;display:grid}.room-info strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}form.create{grid-template-columns:1fr auto;align-items:end}form.create button{grid-column:1/-1}input,select{font:inherit;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:8px;padding:10px 12px}button{font:inherit;background:var(--accent);color:#08130d;cursor:pointer;border:0;border-radius:8px;padding:10px 14px;font-weight:600}button.secondary{color:var(--muted);border:1px solid var(--border);background:0 0}button:disabled{opacity:.6;cursor:progress}.row{flex-wrap:wrap;gap:8px;display:flex}.error{color:var(--error);min-height:1.2em}.captcha:empty{display:none}.notice{color:var(--text);background:var(--bg);border-left:3px solid var(--accent);border-radius:4px;padding:8px 12px}.roster li .tags{gap:6px;display:flex}.tag{border:1px solid var(--border);color:var(--muted);border-radius:999px;padding:2px 8px;font-size:.75rem}.tag.you{border-color:var(--accent);color:var(--accent)}.rooms li.open{color:var(--muted);border-style:dashed}.stage{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:16px;width:100%;display:grid}.stage-main{justify-items:center;gap:8px;display:grid}canvas.board{aspect-ratio:1;border-radius:12px;width:100%;max-width:min(720px,100vh - 120px);display:block}.hud{font-variant-numeric:tabular-nums}.tuning{gap:10px}.tuning label{gap:4px}.slider-label{justify-content:space-between;gap:8px;display:flex}input[type=range]{accent-color:var(--accent);padding:0}label.check{align-self:end;align-items:center;gap:6px;padding-bottom:10px;display:flex}@media (width<=760px){.stage{grid-template-columns:1fr}}.stage.single{grid-template-columns:1fr}.results li{justify-content:flex-start}.results .place{width:1.5em;color:var(--muted);font-variant-numeric:tabular-nums}.results .swatch{border-radius:50%;flex:none;width:10px;height:10px}.results .name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.results .score{font-variant-numeric:tabular-nums;font-size:1.1rem}.results li.winner{border-color:var(--accent)}
