/* Keep legal destinations distinct from piece outlines, including captures. */
.cm-chessboard.opening-book .markers .marker.marker-dot {
  fill: #4e83aa;
  opacity: 1;
}

/* Authored PGN marks retain their four colors independently of hint arrows. */
.cm-chessboard.opening-book {
  --study-mark-green: #409b55;
  --study-mark-red: #d74b4b;
  --study-mark-blue: #438fc4;
  --study-mark-yellow: #d7ad2c;
}
.opening-map-document-circle-green, .opening-map-repertoire-square-green, .opening-map-authored-arrow-green { --study-mark-color: var(--study-mark-green); }
.opening-map-document-circle-red, .opening-map-repertoire-square-red, .opening-map-authored-arrow-red { --study-mark-color: var(--study-mark-red); }
.opening-map-document-circle-blue, .opening-map-repertoire-square-blue, .opening-map-authored-arrow-blue { --study-mark-color: var(--study-mark-blue); }
.opening-map-document-circle-yellow, .opening-map-repertoire-square-yellow, .opening-map-authored-arrow-yellow { --study-mark-color: var(--study-mark-yellow); }
.cm-chessboard.opening-book .markers .marker[class*="opening-map-document-circle-"] {
  stroke: var(--study-mark-color);
  stroke-width: 3px;
  fill: none;
  opacity: 0.85;
}
:root .cm-chessboard.opening-book .markers .marker.marker-square[class*="opening-map-repertoire-square-"] {
  fill: var(--study-mark-color);
  opacity: 0.44;
}
.cm-chessboard.opening-book .arrow[class*="opening-map-authored-arrow-"] .arrow-head {
  fill: var(--study-mark-color);
  fill-rule: nonzero;
}
.cm-chessboard.opening-book .arrow[class*="opening-map-authored-arrow-"] .arrow-line {
  stroke: var(--study-mark-color);
  stroke-linecap: round;
  opacity: 0.65;
}
