/* Original Dofus artwork stays visible beneath transparent interaction cells. */
.arena { background: #171c12; }
#arena-scenery, #arena-scenery *, #terrain, #terrain *, #bench-foundations, #bench-foundations * { pointer-events: none; }
.board-shadow, .board-edge, .bench-edge { display: none; }
#map .cell { fill: transparent; stroke: transparent; stroke-width: 1; }
#map .cell[data-terrain="void"] { visibility: hidden; pointer-events: none; }
#map .cell[data-terrain="cover"], #map .cell[data-terrain="gap"] { cursor: default; }
/* Deployment colors end when combat begins and return for the next preparation.
   Keep bench colors and the separate hover/movement/active-turn highlights. */
:where(body:not([data-phase]), body[data-phase="preparation"], body[data-phase="arrival"]) #map .cell[data-terrain="floor"][data-side="blue"] { fill: #3b9dcc38; stroke: #a0d7e24a; }
:where(body:not([data-phase]), body[data-phase="preparation"], body[data-phase="arrival"]) #map .cell[data-terrain="floor"][data-side="red"] { fill: #b94f4933; stroke: #e2a29540; }
#map .cell.bench-cell[data-side="blue"] { fill: #2a86b34a; stroke: #9fd8e4b3; }
#map .cell.bench-cell[data-side="red"] { fill: #b8554545; stroke: #dfaa9db3; }
#map .cell[data-terrain="floor"]:hover, #map .cell[data-terrain="floor"]:focus-visible { fill: #fff3c348; stroke: #fff1b8; }
#map .cell[data-kind].selected { fill: #eddf9b50; stroke: #fff3b6; }
#map .cell[data-kind].mirrored { stroke: #fff3b680; stroke-dasharray: 3 3; }
#map .cell[data-kind].movement-range { fill: #7dbb6f70; stroke: #d5edacaa; }
#map .cell[data-kind].inspected-origin { stroke: #fff0b4; }
#map .cell[data-kind].acting-cell { fill: #f6e6a340; stroke: #fff1b7; }
#map.placing-unit .cell.drop-valid { fill: #a7d88670; stroke: #efffca; }
#map.placing-unit .cell.drop-invalid { fill: #c9434138; stroke: #ef8a7d; }
.cemetery-paving { filter: url(#cemetery-paving-tone); }
.cemetery-pier { filter: url(#cemetery-pier-tone); }
.team-capacity { color: #f4edce; text-shadow: 0 2px 4px #202619; }
.unit-art { filter: drop-shadow(0 2px 2px #20251466); }
