/* Plunder tile bodies (pixel art pack): a pixel-art top plate and side slab as 9-slice pictures. Made by tools/make-backs-tiles.py.
   Only the body changes: the icons (faces.js), .blocked shading, .sel glow, .hint pulse, .gone and the flip animation are the page's own.
   --s is a whole number of screen px per art pixel, from the tile's own width (each tile is a size container); fallback 1px. */
#board .tile{--s:1px;container-type:inline-size}
@supports (width:round(down,10px,1px)) and (width:1cqw){
  #board .tile{--s:max(1px,round(down,calc(100cqw / 36),1px))}
}
.tile .slab{background:none;box-shadow:1px 2px 3px rgba(0,0,0,.45);box-sizing:border-box;
  border:calc(var(--s) * 5) solid transparent;border-image:url(tile-slab.png) 5 fill / 1 / 0 round;image-rendering:pixelated}
.tile .top{background:none}
.tile .top::before{content:"";position:absolute;inset:0;box-sizing:border-box;pointer-events:none;
  border:calc(var(--s) * 5) solid transparent;border-image:url(tile-top.png) 5 fill / 1 / 0 round;image-rendering:pixelated}
.tile .top::after{background:rgba(52,30,10,.36);border-radius:calc(var(--s) * 2)}
