/* Şah Mat v26: literal v12 procedural board-frame renderer restored.
   The newer frame-motion and CSS edge emulations must never cover it. */
.chess-board-stage[data-fx-enabled] .frame-motion-canvas,
.chess-board-stage#boardStage .frame-motion-canvas,
.chess-board-stage.store-preview-stage .frame-motion-canvas,
.chess-board-stage.practice-stage .frame-motion-canvas,
.chess-board-stage.replay-stage .frame-motion-canvas,
.chess-board-stage[data-fx-enabled] .board-fx-aura,
.chess-board-stage[data-fx-enabled] .board-fx-edge,
.chess-board-stage[data-fx-enabled] .board-fx-corner {
  display: none !important;
}
.chess-board-stage:not([data-fx-enabled="false"]) .board-fx-canvas {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  position: absolute !important;
  z-index: 18 !important;
  pointer-events: none !important;
  max-width: none !important;
  overflow: visible !important;
}
.chess-board-stage[data-fx-enabled="false"] .board-fx-canvas {
  display: none !important;
}
/* Remove only the post-v12 CSS imitation frame glow, not piece highlights. */
.chess-board-stage#boardStage::before,
.chess-board-stage.store-preview-stage::before,
.chess-board-stage.practice-stage::before,
.chess-board-stage.replay-stage::before {
  content: none !important;
  display: none !important;
}
