/* Keep the sheet slider's full touch area while trimming unused card space. */
.race-screen.gameplay-hud .sail-sheet-controls,
.race-screen.gameplay-hud[data-touch-control-mode='rudder'] .sail-sheet-controls {
  min-height:112px;
  padding:4px 10px;
}
.race-screen.gameplay-hud .sail-sheet-controls>label {
  gap:6px;
  min-width:0;
  line-height:12px;
}
.race-screen.gameplay-hud .sail-sheet-title {
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
  white-space:nowrap;
}
.race-screen.gameplay-hud .sail-sheet-controls .sail-engine-hint {
  display:inline;
  margin:0;
  font-size:8px;
  line-height:10px;
  letter-spacing:0;
  white-space:nowrap;
}
.race-screen.gameplay-hud .sail-sheet-controls>label>output {
  flex:none;
  white-space:nowrap;
}
.race-screen.gameplay-hud .sail-sheet-controls>input {
  height:44px;
  min-height:44px;
  margin:0;
}
.race-screen.gameplay-hud .sail-sheet-controls>.sail-sheet-scale {
  margin-top:-6px;
  line-height:10px;
  pointer-events:none;
}
.race-screen.gameplay-hud .sail-sheet-controls>p {
  margin:3px 0 0;
  font-size:9px;
  line-height:1.2;
}

@media(pointer:coarse),(any-pointer:coarse),(max-width:900px),(max-width:1000px) and (max-height:500px) {
  .race-screen.gameplay-hud .sail-sheet-controls,
  .race-screen.gameplay-hud[data-touch-control-mode='rudder'] .sail-sheet-controls {
    min-height:104px;
    padding:3px 8px;
  }
  .race-screen.gameplay-hud[data-touch-control-mode='rudder'] .sail-sheet-controls {
    padding-right:6px;
    padding-left:6px;
  }
  .race-screen.gameplay-hud .sail-sheet-controls .sail-engine-hint {
    display:none;
  }
}
@media(orientation:landscape) and (max-height:500px) and (min-width:600px) {
  .race-screen.gameplay-hud .sail-sheet-controls,
  .race-screen.gameplay-hud[data-touch-control-mode='rudder'] .sail-sheet-controls {
    min-height:84px;
  }
}
@media(max-width:359px) {
  .race-screen.gameplay-hud .sail-rudder-controls>label {flex-wrap:wrap;row-gap:0}
}
