/* World card preview and match surface use the same maps[map].board asset. */
.world-board .obsidian-frame{padding:6.666667%;aspect-ratio:1;display:grid;place-items:stretch;background-position:center;background-repeat:no-repeat;background-size:100% 100%}.world-board .board{width:100%;height:100%;aspect-ratio:1;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));border-radius:0;overflow:hidden}.world-board .square{min-width:0;min-height:0;aspect-ratio:1;position:relative;display:block;overflow:hidden;background-repeat:no-repeat;padding:0;border:0}.world-board .square img{width:82%;height:82%;object-fit:contain;position:absolute;left:9%;bottom:6%;z-index:2;filter:drop-shadow(0 2px 1px #0009)}.world-board .square:before{z-index:1}.world-board .square.legal:after{z-index:3;background:#eeeae3b0}.world-board .square.legal:has(img):after{background:none;border-color:#f6eae0c0}.world-board .coord{position:absolute;z-index:4;font-size:9px;text-shadow:0 1px 2px #000;color:#fff;left:2px;top:2px}.world-board .coord.file{left:auto;right:2px;top:auto;bottom:2px}.world-board[data-map=void]{--light:#5c5178;--dark:#242036}.world-board[data-map=desert]{--light:#d0ac76;--dark:#816342}.world-board[data-map=tidelight]{--light:#568b9d;--dark:#153b50}.world-board[data-map=aether]{--light:#dce5eb;--dark:#8fa9bb}.world-board[data-theme=obsidian][data-map=void]{--bg:#17151e;--panel:#252131}.world-board[data-theme=obsidian][data-map=desert]{--bg:#201b17;--panel:#302721}.world-board[data-theme=obsidian][data-map=tidelight]{--bg:#101d25;--panel:#1a303a}.world-board[data-theme=obsidian][data-map=aether]{--bg:#222d34;--panel:#35444d}.world-board .board-shell{background:#17191c}.world-board[data-map=aether] .board-shell{background:#647885}.world-board .square.selected:before{background:#ffffff35;box-shadow:inset 0 0 0 2px #fff}.world-board .square.last:before{background:#d9d7dd23}.world-board .square.check:before{background:#a13d4866}
/* The final bot has an intentionally empty portrait slot until approved art arrives. */
.world-board .bex-avatar,.bex-avatar{display:grid;place-items:center;text-align:center;width:54px;height:54px;flex:0 0 54px;line-height:1.1;border:1px solid #b1a29a66;border-radius:11px;background:#141416;color:#e9e4df}.bex-avatar>span{font:700 13px Manrope,sans-serif;letter-spacing:1px}.bex-avatar small{font:5px ui-monospace,monospace;color:#aaa;letter-spacing:.2px}

.bex-approved-image{object-fit:contain!important;object-position:center!important;background:#151517}
.world-board[data-map=monochrome]{--light:#F3F2EF;--dark:#C9C8C4}.world-board[data-theme=obsidian][data-map=monochrome]{--bg:#efefec;--panel:#deddd9;color:#171717}.world-board[data-map=monochrome] .board-shell{background:#f7f7f5}.world-board[data-map=monochrome] .square img{filter:drop-shadow(0 3px 2px #0006)}.world-board[data-map=monochrome] .coord{color:#171717;text-shadow:0 1px 2px #fff}.world-board[data-map=monochrome] .square.selected:before{background:#ffffff66;box-shadow:inset 0 0 0 2px #171717}.world-board[data-map=monochrome] .square.last:before{background:#53535320}.world-board[data-map=monochrome] .square.check:before{background:#9c313155}
