/* ChessExpose WordPress UI (controls, status, move list, credit). Scoped to .chessexpose-wrap
   so it neither leaks into nor gets broken by the active theme. */
.chessexpose-wrap { max-width: 100%; margin: 1.5em auto; box-sizing: border-box; }
.chessexpose-wrap *, .chessexpose-wrap *::before, .chessexpose-wrap *::after { box-sizing: border-box; }
.chessexpose-wrap .cxe-board { width: 100%; }
.chessexpose-wrap .cxe-bar,
.chessexpose-wrap .cxe-status,
.chessexpose-wrap .cxe-moves,
.chessexpose-wrap .cxe-credit { width: min(90%, 520px); margin-left: auto; margin-right: auto; }
.chessexpose-wrap .cxe-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.chessexpose-wrap .cxe-bar button,
.chessexpose-wrap .cxe-bar select {
  font: 14px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  margin: 0; padding: 7px 12px; min-height: 0; height: auto; width: auto;
  border: 1px solid #c9d6e3; border-radius: 6px; background: #f4f7fb; color: #1d2b3a;
  cursor: pointer; text-transform: none; letter-spacing: 0; box-shadow: none;
}
.chessexpose-wrap .cxe-bar button:hover { background: #e3ecf6; }
.chessexpose-wrap .cxe-bar label { margin: 0 0 0 auto; display: flex; gap: 6px; align-items: center; font: 14px system-ui, sans-serif; }
.chessexpose-wrap .cxe-status { height: 1.6em; margin-top: 8px; font: 600 15px/1.6 system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chessexpose-wrap .cxe-moves { margin-top: 6px; color: #222; }
.chessexpose-wrap .cxe-credit { margin-top: 8px; font: 12px/1.4 system-ui, sans-serif; color: #888; }
