/* TJK-Chess v15.1.237 — review readability, navigation history, board geometry */

/* Computer analysis: engine PVs must have the same contrast as Analysebrett. */
.game-review-overlay.is-page .analysis-pv-line,
.game-review-overlay.is-page .analysis-pv-line *{color:#14294b!important;opacity:1!important;filter:none!important;text-shadow:none!important}
.game-review-overlay.is-page .analysis-pv-score{color:#0b4aa8!important;opacity:1!important}
.game-review-overlay.is-page .analysis-pv-row small{color:#65758d!important;opacity:1!important}

/* Current move: never pale text on pale blue. */
.game-review-overlay.is-page .game-review-notation-move.is-current,
.game-review-overlay.is-page .game-review-notation-move.is-current *{color:#073d88!important;opacity:1!important;text-shadow:none!important}
.game-review-overlay.is-page .game-review-notation-move.is-current .game-review-mini-icon{color:inherit!important}

/* Remove the footer divider from the middle of a long review page. */
.standalone-view[data-view="review"].is-active ~ .site-footer{display:none!important}

/* Analysis-board style drag destination: yellow in-square frame, no wash. */
.game-review-overlay.is-page .game-review-square.is-drag-hover{box-shadow:inset 0 0 0 4px #f2c21a!important}
.game-review-overlay.is-page .game-review-square.is-drag-hover::after{content:""!important;position:absolute!important;inset:0!important;z-index:15!important;pointer-events:none!important;box-shadow:inset 0 0 0 4px #f2c21a!important;background:transparent!important}

/* Tactics on phones: use one single 2px DOM frame. Older emergency right-edge
   elements made the right side look 3–4px thick. */
@media(max-width:760px){
  .puzzle-board{outline:0!important;box-shadow:none!important;border:0!important}
  .puzzle-board::after{content:none!important;display:none!important}
  .puzzle-board-edge-right{display:none!important}
  .puzzle-board-frame{inset:0!important;border:2px solid #243047!important;box-shadow:none!important}
}
