/* The shared "Play online" panel (shared/online/panel.js) and the in-game "whose board" line. Neutral: it takes the
   game's colours from these variables when the game defines them. */
.mab-online { --mo-accent: var(--accent, #5aa9ff); --mo-dim: var(--dim, #8b939c); --mo-on: var(--on, #5fd38d); --mo-off: var(--off, #ff6b6b); display: grid; gap: 8px; width: 100%; max-width: 32rem; margin-inline: auto; text-align: left; }
.mab-online p { margin: 0; }
.mab-online .mo-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mab-online label.mo-row { gap: 10px; }
.mab-online input { min-width: 0; flex: 1 1 9em; }
.mab-online .mo-code, .mab-online .mo-codeshow { font-family: ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.mab-online .mo-codeshow { color: var(--mo-accent); font-size: 1.25em; }
.mab-online .mo-note { color: var(--mo-dim); font-size: .9em; }
.mab-online .mo-err { color: var(--mo-off); }
.mab-online .mo-state { color: var(--mo-dim); font-size: .85em; }
.mab-online .mo-state.on { color: var(--mo-on); }
.mab-online .mo-players { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mab-online .mo-players li { display: flex; align-items: center; gap: 8px; }
.mab-online .mo-players li.me { font-weight: 700; }
.mab-online .mo-players i { width: 9px; height: 9px; border-radius: 50%; background: var(--mo-off); flex: none; }
.mab-online .mo-players li.on i { background: var(--mo-on); }
.mab-online button[disabled] { opacity: .45; cursor: default; }
/* in game: "Waiting for <name>'s board" / "Your turn" */
.mab-online-turn { font-weight: 700; letter-spacing: .04em; }
.mab-online-turn.wait { opacity: .75; }
