/* ============================================================
   SamChess — Play Chess vs Stockfish — component stylesheet
   ------------------------------------------------------------
   Self-contained, collision-safe for MODX embedding:

   · Every rule is scoped under the single root class .tcw-play-chess
     (the wrapper div in index.php). Nothing here can leak onto the host
     page, and host rules cannot override these higher-specificity rules.
   · Design tokens live on .tcw-play-chess (not :root). Board themes live
     on .tcw-play-chess[data-board="..."] — JS sets that attribute on the
     app root, never on <html>.
   · No document-level rules: no :root, no html, no body, no bare * — only
     the scoped ".tcw-play-chess, .tcw-play-chess *" box-sizing reset.
   · @keyframes is namespaced (tcw-pc-pulse) so it cannot collide with a
     same-named keyframe on the host page.
   · The standalone site header/nav lives in site-chrome.css (loaded only
     on the standalone page, never inside MODX).
   ============================================================ */

.tcw-play-chess { --ink:#12161c;
  --ink-2:#3d4753;
  --ink-3:#6b7683;
  --line:#e3e7ec;
  --line-2:#eef1f4;
  --bg:#ffffff;
  --panel:#ffffff;
  --soft:#f7f9fa;
  --green:#1f9d55;
  --green-dark:#178048;
  --green-soft:#eaf7ef;
  --amber:#e08a1e;
  --red:#d64545;
  --purple:#7b4bd6;
  --radius:12px;
  --shadow:0 1px 2px rgba(16,24,40,.05);
  --sq-light:#f3e0c1;
  --sq-dark:#c8a069;
  --sq-hl:rgba(31,157,85,.45);
  --sq-last:rgba(240,197,60,.55);
  --sq-check:rgba(214,69,69,.65);
  --sq-hint:rgba(59,130,246,.45);
  --font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; }
.tcw-play-chess[data-board="green"] { --sq-light:#eeeed2; --sq-dark:#769656; }
.tcw-play-chess[data-board="blue"] { --sq-light:#dee3e6; --sq-dark:#8ca2ad; }
.tcw-play-chess[data-board="slate"] { --sq-light:#e8e8e8; --sq-dark:#9a9a9a; }
.tcw-play-chess, .tcw-play-chess * { box-sizing:border-box }
.tcw-play-chess { color-scheme:light;background:#fff }
.tcw-play-chess { font-family:var(--font);
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.45; }
.tcw-play-chess { max-width:1180px;margin:0 auto;padding:24px 20px 48px }
.tcw-play-chess .tcw-title { font-size:34px;line-height:1.15;font-weight:800;letter-spacing:-.02em;margin:0 0 8px }
.tcw-play-chess .tcw-sub { margin:0 0 20px;color:var(--ink-2);font-size:15px }
.tcw-play-chess .diff-bar { display:flex;align-items:stretch;gap:0;
  border:1px solid var(--line);border-radius:var(--radius);
  background:var(--panel);box-shadow:var(--shadow);
  overflow-x:auto;scrollbar-width:thin; }
.tcw-play-chess .diff-label { display:flex;align-items:center;padding:14px 18px;
  font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--ink-2);
  border-right:1px solid var(--line);white-space:nowrap; }
.tcw-play-chess .diff-list { display:flex;flex:1;min-width:0 }
.tcw-play-chess .diff { flex:1 0 auto;display:flex;align-items:center;gap:10px;
  padding:12px 16px;background:none;border:0;border-radius:10px;
  cursor:pointer;text-align:left;font-family:inherit;color:var(--ink);
  transition:background .15s ease; }
.tcw-play-chess .diff:hover { background:var(--soft) }
.tcw-play-chess .diff[aria-pressed="true"] { background:var(--green-soft) }
.tcw-play-chess .diff[aria-pressed="true"] .diff-name { color:var(--green-dark) }
.tcw-play-chess .diff-icon { width:18px;height:18px;flex:none }
.tcw-play-chess .diff-text { display:flex;flex-direction:column;line-height:1.25 }
.tcw-play-chess .diff-name { font-size:14px;font-weight:700;white-space:nowrap }
.tcw-play-chess .diff-range { font-size:12px;color:var(--ink-3);white-space:nowrap }
.tcw-play-chess .diff-adv { display:flex;align-items:center;gap:8px;padding:12px 18px;
  border:0;border-left:1px solid var(--line);background:none;cursor:pointer;
  font-family:inherit;font-size:14px;color:var(--ink-2);white-space:nowrap; }
.tcw-play-chess .diff-adv:hover { color:var(--ink) }
.tcw-play-chess .level-pill { margin:14px auto 0;width:max-content;max-width:100%;
  padding:8px 18px;border:1px solid var(--line);border-radius:999px;
  background:var(--panel);font-size:14px;color:var(--ink-2);text-align:center; }
.tcw-play-chess .level-pill b { color:var(--green-dark) }
.tcw-play-chess .level-card { display:none }
.tcw-play-chess .level-card-icon svg { display:block }
.tcw-play-chess .modal-adv-link { display:block;width:100%;margin-top:14px;padding:12px;border:0;background:none;
  color:var(--ink-2);font-family:inherit;font-size:13px;text-align:center;cursor:pointer;
  border-top:1px solid var(--line-2); }
.tcw-play-chess .modal-adv-link:hover { color:var(--green-dark) }
.tcw-play-chess #diffListModal { display:grid;grid-template-columns:repeat(2,1fr);gap:10px }
.tcw-play-chess #diffListModal .diff { flex-direction:column;text-align:center;gap:7px;padding:16px 8px;
  border:1px solid var(--line);border-radius:12px; }
.tcw-play-chess #diffListModal .diff-text { align-items:center }
.tcw-play-chess #diffListModal .diff[aria-pressed="true"] { background:var(--green-soft);border-color:var(--green) }
.tcw-play-chess #diffListModal .diff-icon { width:22px;height:22px }
.tcw-play-chess #diffListModal .diff-name { font-size:14px }
.tcw-play-chess #diffListModal .diff-range { font-size:12px }
.tcw-play-chess .level-pill .elo { color:var(--ink-3) }
.tcw-play-chess .tcw-main { display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;margin-top:20px;align-items:start }
@media (max-width:960px) { .tcw-play-chess .tcw-main { grid-template-columns:minmax(0,1fr) } }
.tcw-play-chess .board-card { border:1px solid var(--line);border-radius:var(--radius);
  background:var(--panel);box-shadow:var(--shadow);padding:16px; }
.tcw-play-chess .board-wrap { width:100%;max-width:min(100%,600px);margin:0 auto }
@supports not (aspect-ratio: 1 / 1) { .tcw-play-chess .board-wrap { position:relative }
.tcw-play-chess .board-wrap::before { content:'';display:block;padding-top:100% }
.tcw-play-chess .board { position:absolute;inset:0;width:100%;height:100% } }
.tcw-play-chess .board { display:grid;
  grid-template-columns:repeat(8,1fr);
  grid-template-rows:repeat(8,1fr);
  aspect-ratio:1/1;width:100%;
  border-radius:6px;overflow:hidden;
  touch-action:none;user-select:none;-webkit-user-select:none; }
.tcw-play-chess .sq { position:relative;min-width:0;min-height:0;touch-action:none }
.tcw-play-chess .sq.light { background-color:var(--sq-light) }
.tcw-play-chess .sq.dark { background-color:var(--sq-dark) }
.tcw-play-chess .sq.last { background-image:linear-gradient(var(--sq-last),var(--sq-last)) }
.tcw-play-chess .sq.sel { background-image:linear-gradient(var(--sq-hl),var(--sq-hl)) }
.tcw-play-chess .sq.check { background-image:radial-gradient(circle,var(--sq-check) 22%,transparent 72%) }
.tcw-play-chess .sq.hint { background-image:linear-gradient(var(--sq-hint),var(--sq-hint)) }
.tcw-play-chess .sq[data-file]::before, .tcw-play-chess .sq[data-rank]::after { position:absolute;font-size:var(--co,11px);font-weight:700;line-height:1;
  pointer-events:none;z-index:5; }
.tcw-play-chess .sq[data-file]::before { content:attr(data-file);right:6%;bottom:4% }
.tcw-play-chess .sq[data-rank]::after { content:attr(data-rank);left:6%;top:4% }
.tcw-play-chess .sq.light::before, .tcw-play-chess .sq.light::after { color:var(--sq-dark);filter:brightness(.75) }
.tcw-play-chess .sq.dark::before, .tcw-play-chess .sq.dark::after { color:var(--sq-light) }
.tcw-play-chess .no-coords .sq::before, .tcw-play-chess .no-coords .sq::after { display:none }
.tcw-play-chess .sq .dot { position:absolute;top:36%;left:36%;width:28%;height:28%;border-radius:50%;
  background:rgba(20,30,20,.28);pointer-events:none;z-index:2; }
.tcw-play-chess .sq .ring { position:absolute;inset:6%;border-radius:50%;
  border:5px solid rgba(20,30,20,.25);pointer-events:none;z-index:2; }
.tcw-play-chess .sq.over { outline:3px solid rgba(31,157,85,.9);outline-offset:-3px;z-index:3 }
.tcw-play-chess .piece { position:absolute;inset:0;z-index:4;pointer-events:none }
.tcw-play-chess .piece svg { width:100%;height:100%;display:block }
.tcw-play-chess .piece.dragging { opacity:.25 }
.tcw-play-chess #tcw-pc-ghost { position:fixed;z-index:9999;pointer-events:none;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,.35));
  transform:translate(-50%,-50%); }
.tcw-play-chess .board-actions { display:flex;gap:10px;margin-top:16px;flex-wrap:wrap }
.tcw-play-chess .btn { display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:13px 18px;border-radius:10px;border:1px solid var(--line);
  background:var(--panel);color:var(--ink);font-family:inherit;font-size:14px;font-weight:600;
  cursor:pointer;transition:background .15s ease,border-color .15s ease;white-space:nowrap; }
.tcw-play-chess .btn:hover { background:var(--soft) }
.tcw-play-chess .btn:disabled { opacity:.45;cursor:not-allowed }
.tcw-play-chess .btn svg { width:17px;height:17px;flex:none }
.tcw-play-chess .btn-grow { flex:1 1 120px }
.tcw-play-chess .btn-primary { background:var(--green);border-color:var(--green);color:#fff }
.tcw-play-chess .btn-primary:hover { background:var(--green-dark) }
.tcw-play-chess .btn-warn { color:var(--red);border-color:#f2c9c9 }
.tcw-play-chess .btn-warn:hover { background:#fdf2f2;border-color:var(--red) }
.tcw-play-chess .board-actions-secondary { margin-top:8px }
.tcw-play-chess .side { display:flex;flex-direction:column;gap:16px }
.tcw-play-chess .panel { border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow) }
.tcw-play-chess .panel-head { display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:14px 16px;border-bottom:1px solid var(--line-2); }
.tcw-play-chess .panel-head-actions { display:flex;align-items:center;gap:10px }
.tcw-play-chess .panel-head-actions .icon-btn:hover { color:var(--green-dark) }
.tcw-play-chess .shared-banner { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  background:var(--green-soft);border:1px solid var(--green);border-radius:var(--radius);
  padding:12px 16px;margin-bottom:16px;font-size:14px;color:var(--ink-2); }
.tcw-play-chess .shared-banner[hidden] { display:none }
.tcw-play-chess .shared-banner strong { color:var(--ink) }
.tcw-play-chess .share-link-row { display:flex;gap:8px }
.tcw-play-chess .share-link-row input { flex:1;min-width:0;padding:10px 12px;border:1px solid var(--line);border-radius:8px;
  background:var(--soft);color:var(--ink);font-family:inherit;font-size:13px; }
.tcw-play-chess .share-link-row input:focus { outline:2px solid var(--green-soft);border-color:var(--green) }
.tcw-play-chess .share-link-row .btn { flex:0 0 auto;padding:10px 16px }
.tcw-play-chess .panel-head h2 { margin:0;font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--ink-2) }
.tcw-play-chess .panel-head .clock { font-size:13px;font-weight:600;color:var(--ink-3);font-variant-numeric:tabular-nums }
.tcw-play-chess .panel-head .badge { display:flex;align-items:center;gap:9px }
.tcw-play-chess .panel-body { padding:12px 16px }
.tcw-play-chess .player { display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line-2) }
.tcw-play-chess .player:last-child { border-bottom:0 }
.tcw-play-chess .player .who { display:flex;align-items:center;gap:11px;flex:1;min-width:0 }
.tcw-play-chess .player .name { font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap }
.tcw-play-chess .player .side-label { display:flex;align-items:center;gap:9px;font-size:13px;color:var(--ink-2);white-space:nowrap }
.tcw-play-chess .chip-dot { width:14px;height:14px;border-radius:50%;border:1px solid #b9c0c8 }
.tcw-play-chess .chip-dot.w { background:#fff }
.tcw-play-chess .chip-dot.b { background:#1a1e25;border-color:#1a1e25 }
.tcw-play-chess .player.active { background:var(--green-soft) }
.tcw-play-chess .player svg { width:18px;height:18px;color:var(--ink-3);flex:none }
.tcw-play-chess .moves-box { margin:8px 16px 16px;border:1px solid var(--line-2);border-radius:10px;
  height:380px;overflow:auto;background:#fff; }
.tcw-play-chess .moves-empty { height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:10px;color:var(--ink-3);font-size:14px;text-align:center;padding:20px; }
.tcw-play-chess .moves-empty svg { width:34px;height:34px;opacity:.5 }
.tcw-play-chess table.moves { width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums }
.tcw-play-chess table.moves tr:nth-child(odd) { background:var(--soft) }
.tcw-play-chess table.moves td { padding:7px 10px }
.tcw-play-chess table.moves td.num { width:44px;color:var(--ink-3);font-size:13px }
.tcw-play-chess table.moves td.san { font-weight:600;cursor:default }
.tcw-play-chess table.moves td.san[data-ply] { cursor:pointer;border-radius:5px }
.tcw-play-chess table.moves td.san[data-ply]:hover { background:var(--green-soft) }
.tcw-play-chess table.moves td.san.current { color:var(--green-dark);background:var(--green-soft) }
.tcw-play-chess .review-bar { display:flex;align-items:center;justify-content:center;gap:4px;
  margin:0 16px;padding:6px;border:1px solid var(--line);border-radius:9px;
  background:var(--soft);font-size:13px;color:var(--ink-2); }
.tcw-play-chess .review-bar { display:none }
.tcw-play-chess .review-bar.show { display:flex }
.tcw-play-chess .nav-status { flex:1;text-align:center;font-weight:600;color:var(--ink);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis }
.tcw-play-chess .nav-btn { display:inline-flex;align-items:center;justify-content:center;gap:4px;
  padding:6px 10px;border:0;border-radius:7px;background:none;cursor:pointer;
  color:var(--ink-2);font-family:inherit;font-size:12px;font-weight:600; }
.tcw-play-chess .nav-btn svg { width:16px;height:16px }
.tcw-play-chess .nav-btn:hover:not(:disabled) { background:var(--green-soft);color:var(--green-dark) }
.tcw-play-chess .nav-btn:disabled { opacity:.35;cursor:not-allowed }
.tcw-play-chess .status { display:flex;align-items:center;gap:12px;padding:16px;background:var(--green-soft);border:1px solid var(--line);border-radius:var(--radius) }
.tcw-play-chess .status .pulse { width:12px;height:12px;border-radius:50%;background:var(--green);flex:none }
.tcw-play-chess .status.thinking .pulse { background:var(--amber);animation: tcw-pc-pulse 1s ease-in-out infinite }
.tcw-play-chess .status.over { background:var(--soft) }
.tcw-play-chess .status.over .pulse { background:var(--ink-3) }
@keyframes tcw-pc-pulse { 0%,100%{opacity:1}50%{opacity:.25} }
@media (prefers-reduced-motion:reduce) { .tcw-play-chess .status.thinking .pulse { animation:none } }
.tcw-play-chess .status .st-text { flex:1;min-width:0 }
.tcw-play-chess .status .st-title { font-size:15px;font-weight:700;color:var(--green-dark) }
.tcw-play-chess .status.thinking .st-title { color:#8a5a10 }
.tcw-play-chess .status.over .st-title { color:var(--ink) }
.tcw-play-chess .status .st-note { font-size:13px;color:var(--ink-2) }
.tcw-play-chess .status .st-clock { font-size:14px;font-weight:700;color:var(--ink-2);font-variant-numeric:tabular-nums }
.tcw-play-chess .share { display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;flex-wrap:wrap }
.tcw-play-chess .share .st-title { font-size:14px;font-weight:700 }
.tcw-play-chess .share .st-note { font-size:13px;color:var(--ink-3) }
.tcw-play-chess .share-btns { display:flex;gap:10px }
.tcw-play-chess .share-btn { width:52px;height:52px;border-radius:10px;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;color:#fff; }
.tcw-play-chess .share-btn svg { width:22px;height:22px }
.tcw-play-chess .sb-fb { background:#1877f2 }
.tcw-play-chess .sb-tw { background:#000 }
.tcw-play-chess .sb-link { background:#374151 }
.tcw-play-chess .share-btn:hover { filter:brightness(1.08) }
.tcw-play-chess .overlay { position:fixed;inset:0;background:rgba(16,22,28,.5);
  display:none;align-items:center;justify-content:center;padding:20px;z-index:1000; }
.tcw-play-chess .overlay.open { display:flex }
.tcw-play-chess .modal { background:#fff;border-radius:16px;width:100%;max-width:420px;
  box-shadow:0 20px 50px rgba(16,24,40,.25);max-height:90vh;overflow:auto; }
.tcw-play-chess .modal h3 { margin:0;font-size:17px;font-weight:700 }
.tcw-play-chess .modal-head { display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line-2) }
.tcw-play-chess .modal-body { padding:18px 20px;display:flex;flex-direction:column;gap:18px }
.tcw-play-chess .modal-foot { padding:16px 20px;border-top:1px solid var(--line-2);display:flex;gap:10px;justify-content:flex-end }
.tcw-play-chess .icon-btn { background:none;border:0;cursor:pointer;color:var(--ink-3);padding:4px;line-height:0 }
.tcw-play-chess .icon-btn svg { width:20px;height:20px }
.tcw-play-chess .icon-btn:disabled { opacity:.35;cursor:not-allowed }
.tcw-play-chess .field { display:flex;flex-direction:column;gap:8px }
.tcw-play-chess .field > label { font-size:13px;font-weight:700;color:var(--ink-2) }
.tcw-play-chess .seg { display:flex;gap:8px;flex-wrap:wrap }
.tcw-play-chess .seg button { flex:1 1 0;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;
  font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;color:var(--ink-2); }
.tcw-play-chess .seg button[aria-pressed="true"] { border-color:var(--green);background:var(--green-soft);color:var(--green-dark) }
.tcw-play-chess input[type=range] { width:100%;accent-color:var(--green) }
.tcw-play-chess .range-row { display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--ink-3) }
.tcw-play-chess .check { display:flex;align-items:center;gap:10px;font-size:14px;color:var(--ink-2);cursor:pointer }
.tcw-play-chess .check input { width:17px;height:17px;accent-color:var(--green) }
.tcw-play-chess select { padding:10px 12px;border:1px solid var(--line);border-radius:9px;font-family:inherit;font-size:14px;background:#fff;color:var(--ink); }
.tcw-play-chess .promo-row { display:flex;gap:10px;justify-content:center }
.tcw-play-chess .promo-row button { position:relative;
  width:70px;height:70px;border:1px solid var(--line);border-radius:12px;background:var(--soft);cursor:pointer; }
.tcw-play-chess .promo-row button:hover { border-color:var(--green);background:var(--green-soft) }
.tcw-play-chess .promo-row svg { width:100%;height:100% }
.tcw-play-chess .engine-note { margin-top:12px;font-size:12px;color:var(--ink-3);text-align:center }
.tcw-play-chess .diag-toggle { display:inline-block;margin:2px 0 0;padding:2px 0;border:0;background:none;
  color:var(--ink-3);font-family:inherit;font-size:12px;text-decoration:underline;
  cursor:pointer;text-align:left; }
.tcw-play-chess .diag-toggle:hover { color:var(--ink-2) }
.tcw-play-chess .diag-panel { margin:8px 0 0 }
.tcw-play-chess .diag-panel textarea { width:100%;box-sizing:border-box;padding:8px;border:1px solid var(--line);border-radius:8px;
  background:var(--soft);color:var(--ink-2);font:11px/1.5 ui-monospace,Consolas,monospace;
  resize:vertical; }
.tcw-play-chess .diag-copy { display:inline-block;margin:6px 0 0;padding:6px 14px;border:1px solid var(--line);border-radius:7px;
  background:#fff;font-family:inherit;font-size:12px;color:var(--ink-2);cursor:pointer; }
.tcw-play-chess .diag-copy:hover { background:var(--soft) }
.tcw-play-chess .toast { position:fixed;left:50%;bottom:26px;transform:translateX(-50%);
  background:var(--ink);color:#fff;padding:11px 18px;border-radius:9px;font-size:14px;
  opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:2000; }
.tcw-play-chess .toast.show { opacity:1 }
@media (max-width:760px) { .tcw-play-chess #tcw-pc-status { order:-2 }
.tcw-play-chess #movesPanel { order:-1 }
.tcw-play-chess { padding:14px 8px 24px }
.tcw-play-chess .tcw-title { font-size:clamp(24px,6.5vw,32px) }
.tcw-play-chess .tcw-sub { font-size:14px }
.tcw-play-chess .diff-bar { display:none }
.tcw-play-chess .level-pill { display:none }
.tcw-play-chess .level-card { display:flex;align-items:center;gap:12px;
    padding:14px 16px;border:1px solid var(--line);border-radius:var(--radius);
    background:var(--panel);box-shadow:var(--shadow); }
.tcw-play-chess .level-card-icon { width:30px;height:30px;flex:none }
.tcw-play-chess .level-card-text { flex:1;min-width:0 }
.tcw-play-chess .level-card-title { font-size:15px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis }
.tcw-play-chess .level-card-sub { font-size:13px;color:var(--ink-3) }
.tcw-play-chess .level-card-change { display:flex;align-items:center;gap:4px;flex:none;
    background:none;border:0;color:var(--green-dark);font-weight:700;font-size:14px;
    padding:6px 4px;white-space:nowrap;cursor:pointer;font-family:inherit; }
.tcw-play-chess .board-card { padding:10px 0 }
.tcw-play-chess .board-wrap { padding:0 4px }
.tcw-play-chess .board-actions { gap:8px;padding:0 8px }
.tcw-play-chess .engine-note { padding:0 8px }
.tcw-play-chess .btn { padding:12px 10px;font-size:13px;flex:1 1 calc(50% - 4px) }
.tcw-play-chess .moves-box { height:320px;margin:8px 12px 12px } }
.tcw-play-chess :focus-visible { outline:3px solid #7fb8ff;outline-offset:2px }

/* ============================================================
   SAMCHESS SITE CHROME — shared fixes (match the other tool pages)
   1) Header logo: the global `.logo img` rule is sized for the wide
      horizontal wordmark, so size this tool's square mark down to 48px.
   2) Board: neutralize any leaked homepage hero-illustration styling
      (navy frame, rotation, shadow) so the functional board stays a
      flat, upright, square 8x8 grid with level coordinates.
   ============================================================ */
.site-header .logo img{width:48px;height:48px}
.tcw-play-chess .board{transform:none;padding:0;background:none;box-shadow:none;perspective:none}
