:root{color-scheme:dark;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;background:#102523;color:#f2f1df}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:0;background:#d7e7b4;color:#19342b;border-radius:6px;padding:.72em 1em;font-weight:650}button:disabled{opacity:.56;cursor:wait}button:focus-visible,input:focus-visible{outline:3px solid #f1c77c;outline-offset:3px}[hidden]{display:none!important}
#lobby{min-height:100svh;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.85fr)}.hero{background:linear-gradient(0deg,rgba(8,28,25,.94),rgba(5,20,20,.08) 65%),url('/coast.jpg') center/cover;display:flex;align-items:end;padding:clamp(2rem,6vw,6rem)}h1{font-size:clamp(3.8rem,8vw,8rem);letter-spacing:-.07em;line-height:1.04;margin:0}.hero p{font-size:1.1rem;line-height:1.7;color:#e0e7d7}.panel{padding:3rem clamp(1.5rem,4vw,4.7rem);align-content:center;width:100%;max-width:38rem;justify-self:center}h2{font-size:1.8rem;margin:0 0 1.5rem}form,label{display:grid;gap:.6rem}form{gap:1.1rem}label{font-size:.9rem;color:#c2d0bf}input{background:#1c3530;border:1px solid #527068;border-radius:6px;padding:.75rem;color:#fff;min-width:0}.row,.role{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.row{margin-bottom:.8rem}.row h2{margin:0}.quiet,.plain{background:transparent;color:#dae7cf}.quiet{font-size:.85rem}.role{width:100%;margin-bottom:.55rem;text-align:left;background:#233f37;color:#fff}.role small{color:#c4d4bf;font-weight:400;font-size:.78rem}.role strong{display:block}.role span{flex:none}#create{margin-top:1.5rem}#list{max-height:41vh;overflow:auto}#message{color:#edcd94;min-height:1.5rem;font-size:.9rem}
#stage,#game,#curtain{position:fixed;inset:0;width:100%;height:100%}#stage{background:#101d1c}#game{display:block;outline:none;touch-action:none}#curtain{z-index:3;display:grid;place-items:center;background:#07100f}video{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}#skip{position:absolute;bottom:24px;right:24px}#loading{position:absolute;padding:1.2rem}#dock{position:fixed;z-index:2;right:max(10px,env(safe-area-inset-right));top:max(10px,env(safe-area-inset-top));display:flex;align-items:center;gap:.45rem;padding:.25rem .35rem;border-radius:7px;background:#112920df;font-size:.78rem}#dock button,.overlay,#buttons button{background:#173629db;color:#eef2de;border:1px solid #819e86;padding:.45em .75em}#sync{padding:0 .4em}#touch{pointer-events:none;position:fixed;inset:0;z-index:1;user-select:none}.stick,#buttons button{pointer-events:auto;touch-action:none;user-select:none}.stick{position:absolute;width:76px;height:76px;bottom:21%;display:grid;place-items:center;border-radius:50%;background:#1e3c3296;border:1px solid #e6efd180;color:white}.stick:first-child{left:4%}#look{right:4%}#buttons{position:absolute;bottom:6%;left:2%;right:2%;display:flex;flex-wrap:wrap;justify-content:center;gap:4px}#buttons button{font-size:12px} 
@media(max-width:700px){#lobby{display:block}.hero{min-height:33svh;padding:1.4rem}.hero h1{font-size:3.5rem}.hero p{margin:.65rem 0 0;font-size:.92rem}.panel{padding:1.5rem}.panel h2{font-size:1.45rem}#dock{font-size:.68rem}}

details{margin:.4rem 0 1rem;color:#c9d7c6;font-size:.88rem;line-height:1.6}summary{cursor:pointer}
