/* Generated art is shared by store previews, live boards and pending moves. */
.piece-art{display:block;position:relative;width:100%;height:100%;aspect-ratio:1;flex:none;pointer-events:none;isolation:isolate;line-height:1}
.piece-art-image{display:block;position:absolute;left:50%;bottom:3%;transform:translateX(-50%);background-repeat:no-repeat;pointer-events:none;filter:drop-shadow(0 2px 2px #001a2460)}
.piece-art-symbol{position:absolute;inset:0;display:grid;place-items:center;padding-bottom:4%;color:#fff0bd;font-family:'Noto Serif TC','Microsoft JhengHei',serif;font-size:.82em;font-weight:800;line-height:1;text-shadow:0 1px 1px #091f1f;z-index:1}
.piece-art[data-piece-variant="2"] .piece-art-symbol{color:#173d34;text-shadow:0 1px 0 #fff5cf}
.piece-art[data-piece-set="xiangqi-gold"][data-piece-variant="2"] .piece-art-symbol{color:#502217}
.game-board .token.art-stones{position:relative;border:0!important;outline:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;text-shadow:none!important;filter:none!important}
.game-board .token.art-stones::before{display:none!important}
.game-board .token.art-stones>.piece-art{position:absolute;inset:0}
.game-board.chess .token.art-stones{width:100%;height:100%}
.game-board.xiangqi .token.art-stones{width:93%;height:93%}
.game-board.checkers .token.art-stones{width:100%;height:100%}
.game-board .token.art-stones.move-ghost{opacity:.7}
.artwork-preview{display:grid;grid-template-columns:repeat(2,minmax(0,82px));gap:12px;align-items:center;justify-content:center;justify-items:center;min-height:145px;width:100%;box-sizing:border-box;padding:12px 0}
.artwork-preview>.piece-art{width:100%;height:auto;font-size:38px}
.artwork-checkers{grid-template-columns:repeat(3,minmax(0,62px));gap:6px}
.artwork-chess>.piece-art:nth-child(n+3){display:none}
.artwork-chess{grid-template-columns:repeat(2,minmax(0,110px));gap:4px}
.shop-product-art>.artwork-preview{max-width:210px;min-height:0;padding:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.shop-product-art>.artwork-checkers{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.shop-product-art>.artwork-chess{max-width:225px;gap:0}
.shop-product:has(.artwork-preview) .shop-product-art{height:130px}
.shop-preview .artwork-chess,.collection-preview-art .artwork-chess{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px 4px;max-width:400px;margin:auto;min-height:0;padding:15px 0}
.shop-preview .artwork-chess>.piece-art,.collection-preview-art .artwork-chess>.piece-art{display:block}
.shop-preview .artwork-chess>.piece-art:nth-child(2),.collection-preview-art .artwork-chess>.piece-art:nth-child(2){order:9}
.shop-preview .artwork-chess>.piece-art:nth-child(n+8),.collection-preview-art .artwork-chess>.piece-art:nth-child(n+8){order:8}
.shop-preview .artwork-chess>.piece-art:nth-child(n+10),.collection-preview-art .artwork-chess>.piece-art:nth-child(n+10){order:10}
.shop-preview .artwork-preview:not(.artwork-chess){max-width:285px;margin:auto;grid-template-columns:repeat(2,minmax(0,110px));min-height:150px}
.shop-preview .artwork-checkers{grid-template-columns:repeat(3,minmax(0,85px))!important}
@media(max-width:600px){.shop-product:has(.artwork-preview) .shop-product-art{height:108px}.shop-product-art .artwork-preview>.piece-art{font-size:32px}.artwork-preview{gap:6px}.shop-preview .artwork-chess{gap:8px 0}}
@media(max-width:600px){.shop-products:has(.artwork-preview){grid-template-columns:repeat(2,minmax(0,1fr))}.shop-product-art .artwork-preview>.piece-art{font-size:38px}}
