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?.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.

}
; }