/* Final game state: preserve the game scene and keep the existing decision
   card in document flow beneath the seven original controller buttons.
   Only terminal actions are disabled by the client; Rules stays enabled. */
#dynastyRoomStage .center > #replayDialog.wd-unified-victory[open]{
 margin-top:calc(16px + var(--dynasty-assembly-controls-down,0px) + var(--dynasty-controls-frame-offset,0px))!important;
 margin-bottom:24px!important;
 flex-shrink:0!important;
}
@media(min-width:900px) and (min-height:561px){
 html.wd-duel-clone #dynastyRoomStage .center > #replayDialog.wd-unified-victory[open]{
  margin-top:calc(16px + var(--dynasty-assembly-controls-down,0px) + var(--dynasty-controls-frame-offset,0px) + var(--wd-duel-bottom-extension,0px))!important;
 }
}
#dynastyRoomStage .center > .controls > button:disabled,
body[data-wd-game-type="blitz"] #game .wd-under-rack-controls > button:disabled{
 cursor:default!important;
}
#dynastyRoomStage .center > #rack:has(button:disabled) button:disabled{
 cursor:default!important;
}
/* Restore a real scrollable footer instead of placing the prompt on top of
   the rack. The approved board, tiles and control dimensions stay intact. */
body:not(.wd-gate)[data-wd-game-type="blitz"]:has(#game:not([hidden]))
#game .center-panel > #replayModal.wd-unified-victory:not([hidden]){
 flex:0 0 auto!important;
}
