/* V126 — current word, last letter and entry remain together above the keyboard. */
@media (max-width:760px) {
  body.sh-v111-playing .sh-game-card {
    min-height:var(--wos-visible-height,100dvh)!important;
    padding-bottom:calc(76px + env(safe-area-inset-bottom))!important;
  }
  body.sh-v111-playing #wordForm {
    bottom:calc(var(--wos-keyboard-offset,0px) + max(6px,env(safe-area-inset-bottom)))!important;
  }
  body.sh-v111-playing #wordInput::placeholder { font-size:14px!important; }

  body.wos-keyboard-open.sh-v111-playing .sh-nav { display:none!important; }
  body.wos-keyboard-open.sh-v111-playing .wrap { padding-top:0!important; }
  body.wos-keyboard-open.sh-v111-playing .sh-game-card {
    min-height:var(--wos-visible-height,520px)!important;
    padding:0 5px 68px!important;
    border-radius:0 0 14px 14px!important;
  }
  body.wos-keyboard-open.sh-v111-playing .sh-card-head {
    position:sticky!important;
    top:0!important;
    min-height:45px!important;
    padding:5px 7px!important;
  }
  body.wos-keyboard-open.sh-v111-playing .sh-word-row {
    position:sticky!important;
    top:45px!important;
    grid-template-columns:minmax(0,1fr) 18px 72px!important;
    padding:6px!important;
    margin-bottom:4px!important;
  }
  body.wos-keyboard-open.sh-v111-playing #currentWord {
    font-size:clamp(18px,5.4vw,23px)!important;
    letter-spacing:.08em!important;
  }
  body.wos-keyboard-open.sh-v111-playing #prefix { font-size:27px!important; }
  body.wos-keyboard-open.sh-v111-playing .scoreline,
  body.wos-keyboard-open.sh-v111-playing #eventFeed,
  body.wos-keyboard-open.sh-v111-playing #wordAppealButton,
  body.wos-keyboard-open.sh-v111-playing .rules { display:none!important; }
  body.wos-keyboard-open.sh-v111-playing #feedback {
    max-height:54px!important;
    overflow:auto!important;
    margin:4px 0!important;
  }
}

@media (max-width:760px) {
  body.wos-keyboard-open.sh-v111-playing #wordForm {
    bottom:max(6px,env(safe-area-inset-bottom))!important;
  }
}
