/* Reuse exactly the board colors/frame and real white/black artwork from Chess Brain Challenge V5. */
:root{--board-light:#f4dfb8!important;--board-dark:#8b9fb1!important;--board-edge:#ddbd82!important}
#worldStage.board-stage{background:linear-gradient(145deg,#cda96a,#614c65 48%,#302d58)!important;border:2px solid #ddbd82!important;border-radius:17px!important;padding:11px!important;box-shadow:0 13px 0 #131a33,0 25px 35px #0006,inset 0 0 0 2px #191c42!important}
#worldStage .board{border:2px solid #322740!important;border-radius:8px!important;box-shadow:none!important}
#worldStage .board .tile.light{background:#f4dfb8!important;background-image:none!important}
#worldStage .board .tile.dark{background:#8b9fb1!important;background-image:none!important}
#worldStage .board .tile.light:hover{background:#f4dfb8!important;filter:brightness(1.06)}
#worldStage .board .tile.dark:hover{background:#8b9fb1!important;filter:brightness(1.06)}
#worldStage .board .tile>img.v5-brain-piece{display:block!important;width:88%!important;height:90%!important;max-width:88%!important;max-height:90%!important;object-fit:contain!important;object-position:center!important;filter:drop-shadow(0 2px 2px #1c355388)!important;opacity:1!important;pointer-events:none!important;user-select:none!important}
#worldStage .board .tile.drag-origin>img.v5-brain-piece{opacity:.16!important}
.piece-style-options{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.piece-style-options .piece-style{display:flex!important;flex-flow:row wrap!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-height:90px!important;padding:7px 3px!important;background:#27395b!important;border:1px solid #8295b3!important;border-radius:11px!important}
.piece-style-options .piece-style[aria-pressed=true]{border:2px solid #79e7c8!important;background:#385575!important}
.piece-style-options .piece-style img{display:block!important;width:42%!important;height:68px!important;max-width:46%!important;max-height:68px!important;object-fit:contain!important;filter:drop-shadow(0 2px 2px #0006)!important}
.v5-color-explainer{font:700 11px/1.5 system-ui,sans-serif;color:#e4f6ed;background:#172849;border:1px solid #749cb1;border-radius:11px;padding:10px;margin:10px 0 0}
.v5-color-explainer strong{color:#ffe0a3}
.v30-replay-square img{max-width:90%!important;max-height:90%!important;object-fit:contain!important}
@media(max-width:550px){#worldStage.board-stage{padding:7px!important}.piece-style-options .piece-style img{height:59px!important;max-height:59px!important}}
