/* v1.10.4 — restore full visibility of bottom hand cards.
   Recent compact docking was too aggressive on some desktop/mobile landscape sizes,
   causing the player hand cards to be clipped vertically. */

:root{
  --v160-dock-h:clamp(108px,20.5dvh,142px);
}

.personal-zone{
  flex-basis:var(--v160-dock-h)!important;
  min-height:var(--v160-dock-h)!important;
}
.personal-zone-right{
  align-items:stretch!important;
}
.personal-hand{
  min-height:0;
  height:100%;
}
.hand-row{
  align-items:flex-start!important;
  padding:2px 1px 6px!important;
}
.hand-row .game-card{
  height:calc(var(--v160-card-h) - 4px)!important;
  min-height:calc(var(--v160-card-h) - 4px)!important;
}
.hand-row .game-card .effect{
  min-height:calc(var(--v160-card-h) - 14px)!important;
}

/* Slightly more breathing room when completed orders are shown. */
.personal-zone-right.has-orders{
  align-items:stretch!important;
}
.completed-orders-panel{
  align-self:stretch!important;
}

@media (orientation:landscape) and (max-height:620px){
  :root{
    --v160-dock-h:100px;
  }
  .hand-row{
    padding:1px 1px 4px!important;
  }
  .hand-row .game-card{
    height:calc(var(--v160-card-h) - 2px)!important;
    min-height:calc(var(--v160-card-h) - 2px)!important;
  }
  .hand-row .game-card .effect{
    min-height:calc(var(--v160-card-h) - 12px)!important;
  }
}
