/* Play Bots visual cleanup. Loaded after existing layout styles. */
body.elo-unified-chess .play-page{margin-top:4px!important}
body.elo-unified-chess .play-game{margin-top:0!important}
body.elo-unified-chess .play-game>.play-layout{margin-top:0!important}
body.elo-unified-chess .play-layout>.play-controls-panel,
body.elo-unified-chess .play-layout>.play-board-card,
body.elo-unified-chess .play-layout>.play-panel{margin-top:0!important}

/* Only the player names belong in the board's two player rows. The
   side-to-move status remains accessible to assistive technologies. */
body.elo-unified-chess .play-board-top #play-side{
 position:absolute!important;width:1px!important;height:1px!important;
 padding:0!important;margin:-1px!important;overflow:hidden!important;
 clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}
body.elo-unified-chess .play-board-top{
 position:relative!important;display:flex!important;align-items:center!important;
 min-height:26px!important;margin:0 0 8px!important;gap:10px!important;
}
body.elo-unified-chess .play-board-top #play-opponent{
 font-size:16px!important;line-height:1.35!important;color:#f5faff!important;
}
body.elo-unified-chess .play-board-footer{
 position:relative!important;display:flex!important;align-items:center!important;
 min-height:28px!important;margin:8px 0 0!important;gap:10px!important;
 clear:both!important;z-index:1!important;
}
body.elo-unified-chess .play-board-footer #play-you{
 font-size:14px!important;line-height:1.35!important;font-weight:700!important;
 color:#f5faff!important;
}
body.elo-unified-chess .play-board-card #play-board{margin:0!important}
@media(max-width:820px){
 body.elo-unified-chess .play-page{margin-top:6px!important}
}

/* Material-strip labels duplicate the actual player names (Black/White).
   Keep captured-piece icons and material advantage, but remove those labels. */
body.elo-unified-chess .play-board-card .elo-material-strip .elo-material-name{
 display:none!important;min-width:0!important;
}
body.elo-unified-chess .play-board-card .elo-material-strip:has(.elo-material-captures:empty):not(:has(.elo-material-lead:not(:empty))){
 visibility:hidden!important;
}
