@media (max-width: 760px) {
  html body.player-support-route #root .player-support-portal .support-chat.standalone {
    grid-template-rows: auto auto minmax(0, 1fr) auto auto auto auto !important;
  }

  html body.player-support-route #root .support-chat.standalone > header .modal-close,
  html body:has(.support-chat) #root .player-home-float {
    display: none !important;
  }

  html body.player-support-route #root .support-chat.standalone > .chat-messages {
    min-height: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  html body.player-support-route #root .support-topic-grid button small {
    min-height: 20px !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    font-size: 8px !important;
    line-height: 10px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  html body.player-support-route #root .support-chat.standalone > .chat-quick {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px !important;
    overflow: hidden !important;
  }

  html body.player-support-route #root .support-chat.standalone > .chat-quick button {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-inline: 3px !important;
    justify-content: center !important;
    overflow: hidden !important;
    font-size: 9px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 359px), (max-height: 620px) and (max-width: 760px) {
  html body.player-support-route #root .support-topic-panel {
    padding-block: 7px !important;
  }

  html body.player-support-route #root .support-topic-grid button {
    min-height: 68px !important;
    padding-block: 6px !important;
  }

  html body.player-support-route #root .support-topic-grid button small {
    display: none !important;
  }

  html body.player-support-route #root .support-chat.standalone > .chat-messages {
    min-height: 72px !important;
  }

  html body.player-support-route #root .support-rating {
    padding-block: 6px !important;
  }

  html body.player-support-route #root .support-rating button {
    min-height: 30px !important;
  }
}
