/* Layout fixes over style.css: header bar on top, board centred below it. */
body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  height: auto;
}

.scoreBlock {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  padding: 14px 16px;
  background: #1b1f2a;
  box-sizing: border-box;
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 600 16px/1 "Nunito", system-ui, sans-serif;
}

.score_p,
.record_p,
#score,
#record,
.scoreStyle {
  position: static !important;
  margin: 0 !important;
}

.scoreStyle {
  width: auto !important;
  min-width: 48px;
  height: 34px;
  padding: 0 10px;
  font-size: 17px !important;
  background: #2350df !important;
  border-radius: 8px;
  box-sizing: border-box;
}

#showScore,
#showRecord {
  display: none !important;
}

#game-board,
#game-board[style] {
  float: none;
  position: relative;
  top: auto;
  margin: auto !important;
  transform: none;
}
