/* Tree response and linked retaliation must remain clear of the fanned hand on short desktop viewports. */
@media (min-width:651px) and (max-width:899px) and (max-height:600px) {
  body[data-story="true"][data-style="hybrid"][data-progression="xp"][data-view="expedition"][data-phase="battle"][data-cycle-phase] #game>.encounter #enemies:has(>.enemy[data-story-tree="true"])>.enemy[data-story-tree="true"][data-story-tree] {
    height:250px!important;
    min-height:250px!important;
    max-height:250px!important;
  }
}
/* Leave the full card footer visible on short desktop combat viewports. */
@media (min-width:651px) and (max-height:600px) {
  body[data-story="true"][data-style="hybrid"][data-progression="xp"][data-view="expedition"][data-phase="battle"][data-cycle-phase] #game > #handSection {
    transform: translateY(-10px);
  }
}
