import type { RoomControl } from '@/lib/room-control'; /** Public operational status only; administrator reasons and identity stay private. */ export function RoomControlNotice({ control }: { control?: RoomControl }) { if (control?.closed) return

Room closed by an administrator

This room is closed to further play. Your table and discussion history remain readable. The saved position and pending choices are preserved; closing does not award a winner.

New joins, game decisions, AI, messages and seat changes are stopped. Keep any unconfirmed request and recovery kit. Exact saved requests can still confirm an earlier completed action. An administrator can reopen the room.

; if (!control?.paused && !control?.joinLocked) return null; return
{control.paused ? <>

Room paused by an administrator

Player decisions and automatic play are paused. Your game and pending choices are saved. An administrator can resume this room.

You can still read the table, use discussion, protect or recover your seat, and take back control from AI.

:

New joins are locked

} {control.joinLocked &&

New players cannot join. Existing players can reconnect and recover their saved seats.

}
; }