:root{font-family:system-ui,sans-serif;color-scheme:dark;background:#14161c;color:#f2f2f2}body{margin:0;min-height:100dvh;display:grid;place-items:center}#app{width:min(100%,24rem);padding:1.5rem;box-sizing:border-box}#screen{display:flex;flex-direction:column;gap:.75rem}h1{margin:0 0 .5rem;font-size:1.5rem}input,button{font:inherit;font-size:1rem;padding:.85rem 1rem;border-radius:.6rem;border:1px solid #3a3f4d;background:#20232d;color:inherit}button{background:#4f7cff;border-color:#4f7cff;font-weight:600}button.secondary{background:transparent;border-color:#3a3f4d}.code{margin:0;font-size:3rem;font-weight:700;letter-spacing:.4rem;text-align:center}ul{margin:0;padding:0;list-style:none}.qr{align-self:center;width:220px;height:220px;border-radius:.6rem}.join-link{color:#8fb0ff;font-size:.8rem;text-align:center;word-break:break-all}.hint{margin:0;font-size:.8rem;color:#e0b34f;text-align:center}li{padding:.5rem 0;border-bottom:1px solid #2a2e3a}li.offline{opacity:.5}#error{min-height:1.2rem;color:#ff7a7a}body.playing{display:block}body.playing #app{width:100%;height:100dvh;padding:0}body.playing #screen{height:100%;position:relative}body.playing #error{position:fixed;bottom:0;left:0;right:0;margin:0;text-align:center}iframe.game{flex:1;width:100%;border:0}.leave-overlay{position:absolute;top:.5rem;right:.5rem;padding:.4rem .8rem;opacity:.6}
