/* Only JS-enrolled content is hidden; the page remains readable without JS. */
.page-chess [data-chess-reveal="pending"] { opacity: 0; }
.page-chess .chess-motion-toggle {
  position: absolute;
  z-index: 3;
  right: max(32px,calc((100% - 1240px)/2));
  bottom: 22px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #adcde3;
  border-radius: 6px;
  background: #f7fcfff0;
  color: #275774;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.page-chess .chess-motion-toggle[hidden] { display: none; }
.page-chess .chess-motion-toggle:focus-visible {
  outline: 3px solid #0876c9;
  outline-offset: 4px;
}
.page-chess.chess-motion-static [data-chess-reveal] { opacity: 1; }
.page-chess.chess-motion-static .chess-hero-copy { animation: none; }
@media (max-width: 780px) {
  .page-chess .chess-motion-toggle { right: 20px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .page-chess [data-chess-reveal] { opacity: 1 !important; }
}
@media print {
  .page-chess [data-chess-reveal] { opacity: 1 !important; }
  .page-chess .chess-motion-toggle { display: none; }
}
