/* Solitaire Chess V48 — The 8 Lessons board styling and readability fix.
   Matches the gold-framed cream/blue boards in The 8 Lessons Visual Kids V5.
   Pure CSS: no rules, progress, theme selection, or puzzle state changes. */
:root { --board-light:#fff3db; --board-dark:#79b6e0; }
.board-stage {
  padding:7px!important;
  border:3px solid #be8322!important;
  border-radius:19px!important;
  background:linear-gradient(130deg,#ffeca1,#e5a334 55%,#ffe894)!important;
  box-shadow:0 6px 0 #a46c12,0 10px 17px #123c5735!important;
}
.board-stage::before { display:none!important; }
.board-stage .board {
  border:3px solid #fff!important;
  border-radius:10px!important;
  background:#91c6e7!important;
  box-shadow:none!important;
}
.board-stage .board .tile.light { background:#fff3db!important; background-image:none!important; }
.board-stage .board .tile.dark { background:#79b6e0!important; background-image:none!important; }
.board-stage .board .tile.light:hover { background:#fff0c9!important; }
.board-stage .board .tile.dark:hover { background:#9fcdf0!important; }
.board-stage .board .tile.selected { background:#b9e9c1!important; box-shadow:inset 0 0 0 4px #078b56!important; }
.board-stage .board .tile.hint-from { box-shadow:inset 0 0 0 4px #f0a721!important; }
.board-stage .board .tile.can-capture:after { border-color:#078b56!important; }
/* Fix dark-on-dark headings and text selection, including browser highlighter. */
.sidebar.left .panel-title, .sidebar.left .level-box label,
.sidebar.left .level-row label, .sidebar.left .level-count,
.sidebar.left .section-eyebrow, .sidebar.left .progress-row,
.sidebar.left .progress-row b { color:#fff3db!important; opacity:1!important; text-shadow:none!important; }
.sidebar.left .level-row label, .sidebar.left .level-box label { color:#ffe2a5!important; }
.sidebar.left .panel-title { font-weight:800!important; }
.sidebar.left .panel-title::selection, .sidebar.left .level-box label::selection,
.sidebar.left .section-eyebrow::selection { background:#2b6673!important; color:#fff!important; }
.sidebar.left .level-select { background:#fff9ea!important;color:#13243f!important; }
@media(max-width:480px){.board-stage{padding:5px!important;border-width:3px!important;border-radius:13px!important}.board-stage .board{border-width:2px!important}}
