/* White and ivory only for legacy learning/history pages.
   Do not modify boards, cells, game tiles, artwork, canvases, or 3D game scenes. */
html:has(body.bpa-ivory-game){background:#faf6ed;color-scheme:light}
body.bpa-ivory-game{
  background:#faf6ed!important;
  color:#111111!important;
}
body.bpa-ivory-game > header,
body.bpa-ivory-game .sitehead{
  background:#ffffff!important;color:#111111!important;
  border-bottom:1px solid #dccbb0!important;
  text-shadow:none!important;
}
body.bpa-ivory-game > header :is(h1,h2,p,small),
body.bpa-ivory-game .sitehead :is(h1,h2,p,small){
  color:#111111!important;text-shadow:none!important
}
body.bpa-ivory-game :is(header a,.sitehead a){
  color:#895d11!important;
  text-shadow:none!important;
}
body.bpa-ivory-game main :is(h1,h2,h3){
  color:#895d11!important;
}
body.bpa-ivory-game main :is(p,.intro,.lead p,.muted,label,li){
  color:#111111!important;
}
body.bpa-ivory-game main :is(.panel,.game,.feedback){
  background:#ffffff!important;
  color:#111111!important;
  border-color:#dccbb0!important;
}
body.bpa-ivory-game main :is(select,input:not([type="color"]),.choice){
  background:#fffaf1!important;
  color:#111111!important;
  border-color:#dccbb0!important;
}
body.bpa-ivory-game a{color:#895d11}
body.bpa-ivory-game :is(a,button,select,input):focus-visible{
  outline:3px solid #94600b;outline-offset:3px
}
body.bpa-ivory-game footer{
  background:#faf6ed;color:#344054;border-color:#dccbb0
}
/* Keep generated tile and game-state hues intact; only noninteractive information tiles change. */
body.bpa-ivory-game :is(.panel,.game){box-shadow:0 4px 18px rgba(66,44,8,.06)}
