:root{color-scheme:dark;--bg: #07110c;--panel: #122117;--ink: #e7f6d4;--muted: #8eaa90;--acid: #c6ff4a;--amber: #ffb020;--line: #2c4a36;font-family:Avenir Next,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;min-height:100dvh;color:var(--ink);background:var(--bg);background-image:linear-gradient(rgba(198,255,74,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(198,255,74,.035) 1px,transparent 1px);background-size:22px 22px}button,input,select{font:inherit;color:inherit}img,svg,video{max-width:100%}button{cursor:pointer}a{color:var(--acid)}.app{min-height:100dvh}.shell,.phone,.stage,.host{width:min(100%,1080px);margin:0 auto;padding:16px}.phone{width:min(100%,520px);display:flex;flex-direction:column;gap:12px}.panel,.gate,.choice,.review,.card{background:var(--panel);border:1px solid var(--line);border-radius:16px}.panel,.card,.review{padding:14px}h1,h2,h3{font-weight:750;letter-spacing:.04em;margin:0 0 8px}h1{text-transform:uppercase;font-size:1.6rem}.muted{color:var(--muted)}.row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}label{display:flex;flex-direction:column;gap:6px}input,select{background:#0b180f;border:1px solid var(--line);border-radius:12px;padding:12px;min-height:48px}.primary,.ghost,.choice button,.gate{border-radius:14px;border:1px solid var(--line);background:#0d1c12;min-height:48px;padding:10px 12px}.primary{background:var(--acid);color:#102000;border-color:transparent;font-weight:750}.primary:disabled,.gate:disabled,.choice button:disabled{opacity:.55}.banner{border:1px solid var(--amber);border-radius:12px;padding:10px 12px}.room-code{font-family:ui-monospace,monospace;font-size:clamp(2rem,8vw,4.5rem);letter-spacing:.12em;margin:0;max-width:100%;overflow-wrap:anywhere}.qr svg{width:min(100%,280px);height:auto}.gates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gate{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.gate.is-out{opacity:.5;text-decoration:line-through}.gate.is-in{border-color:var(--acid)}.gate-icon{width:100%;height:36px;fill:none;stroke:var(--ink);stroke-width:2}.gate-icon text{fill:var(--acid);stroke:none;font-size:11px;font-family:ui-monospace,monospace}.trace-wrap{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:start}.trace-labels{display:flex;flex-direction:column;justify-content:space-between;height:148px;font-family:ui-monospace,monospace}.trace-stage{position:relative;min-width:0}.trace{width:100%;height:148px;display:block;background:#0b180f;border-radius:12px}.lane-a{fill:none;stroke:#7ee0ff;stroke-width:2}.lane-b{fill:none;stroke:#ff8bd2;stroke-width:2}.lane-y{fill:none;stroke:var(--amber);stroke-width:2.4}.marker{stroke:var(--acid);stroke-width:1.5}.hits{position:absolute;inset:0;display:flex}.hits button{min-height:44px;border:0;background:transparent;padding:0}.hits button.is-selected{outline:2px solid var(--acid)}.readout{grid-column:1 / -1;margin:0;font-family:ui-monospace,monospace}.choice{display:grid;grid-template-columns:minmax(0,1fr) 64px 64px;gap:8px;align-items:center;padding:8px}.choice button[aria-pressed=true]{border-color:var(--acid);background:#1c3320}.roster{display:flex;flex-wrap:wrap;gap:8px;padding:0;list-style:none}.roster li,.status-pill{border:1px solid var(--line);border-radius:999px;padding:6px 10px}.stage .room-code{text-align:center}.stage{display:flex;flex-direction:column;gap:16px}.host,.host-grid{display:grid;gap:16px}@media(min-width:900px){.host-grid{grid-template-columns:1.1fr .9fr;align-items:start}}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}ol{padding-left:1.2rem}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
