:root{--bg:#0b1226;--panel:#131d3a;--line:#24345f;--accent:#60a5fa;--accent2:#1d4ed8}
.wrap{max-width:600px;margin:0 auto;padding:10px}
.players{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;margin-bottom:10px}
.pl{display:flex;align-items:center;gap:8px;background:var(--panel);border:2px solid var(--line);border-radius:14px;padding:6px 10px;min-width:0}
.pl.turn{border-color:#facc15;box-shadow:0 0 14px rgba(250,204,21,.45)}
.pl b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pl small{font-size:13px;color:var(--mute)}
#plW{flex-direction:row-reverse;text-align:right}
.st{width:26px;height:26px;border-radius:50%;flex:none;box-shadow:inset 0 -3px 0 rgba(0,0,0,.25)}
.st.b{background:#ef4444}.st.w{background:#facc15}
.vs{font-size:13px;color:var(--accent);font-weight:800;text-align:center;max-width:120px}
.board{width:100%;aspect-ratio:7/6.6;touch-action:manipulation}
.board canvas{width:100%;height:100%;display:block;cursor:pointer}
.acts{display:flex;justify-content:center;gap:8px;margin-top:10px;flex-wrap:wrap}
.lvs,#colChips{justify-content:center}
