/* The 3D board (board3d-entry.js / board3d-scene.js). While a match plays in 3D, the 2D board keeps running
 * underneath — hidden, not removed — and the 3D canvas takes its box. Nothing here styles the 2D board's pieces. */
#screen-game[data-board3d="on"] #board-svg,
#screen-game[data-board3d="loading"] #board-svg { visibility: hidden; }
/* While the 3D board loads (a 3D match is starting) the 2D board stays hidden: a still veil, no animation (MM-16). */
#screen-game[data-board3d="loading"] .board-frame-shell { position: relative; }
#screen-game[data-board3d="loading"] .board-frame-shell::after {
  content: "Setting up the board";
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  color: rgba(255, 255, 255, .8); font-weight: 800; letter-spacing: .04em; pointer-events: none;
}
.board3d-canvas {
  position: absolute;
  display: block;
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
#screen-game:not([data-board3d="on"]) .board3d-canvas { display: none; }
