:root{color-scheme:dark;font-family:Inter,Segoe UI,sans-serif;background:#080b12;color:#edf2ff}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% -20%,#1d2b4e,#080b12 45%)}main{min-height:100vh;display:grid;grid-template-rows:auto auto auto auto auto;gap:16px;padding:20px}header{display:flex;align-items:center;justify-content:space-between}header div{display:flex;align-items:center;gap:10px;font-size:20px}.mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#6d5dfc;font-weight:800}#status{font-size:13px;color:#8d99b6}.connect,.share{display:flex;gap:12px;padding:12px;border:1px solid #252d3d;border-radius:14px;background:#111722cc}.share{align-items:center}.share div,.intro{flex:1}.share small,.intro small{display:block;color:#74809a;margin-top:4px}.share label{max-width:160px}label{font-size:11px;color:#8994ad;flex:1}input,select{display:block;width:100%;margin-top:5px;border:1px solid #303a50;border-radius:8px;padding:9px 10px;background:#0b1019;color:#fff}button{align-self:end;border:0;border-radius:9px;padding:10px 20px;background:#6d5dfc;color:white;font-weight:700;cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}output{display:none;max-width:330px;padding:8px 10px;border-radius:8px;background:#090e16;color:#9de3bd;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}output a{color:#9de3bd;font-weight:700}.sessionControls{align-items:center;justify-content:flex-end}.sessionControls b{margin-right:auto}[hidden]{display:none!important}.stage{position:relative;display:block;overflow:hidden;width:100%;height:auto;aspect-ratio:16/9;border:1px solid #252d3d;border-radius:16px;background:#05070b;box-shadow:0 24px 80px #0007}canvas{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;outline:none;cursor:none}#empty{position:absolute;inset:0;display:grid;place-items:center;color:#616d86}footer{text-align:center;color:#657089;font-size:12px}@media(max-width:700px){.connect,.share{flex-wrap:wrap}.connect label{flex-basis:45%}.share div{flex-basis:100%}button{width:100%}}
@media (pointer:coarse),(max-width:700px){
  #screen{touch-action:none}
}
