/* generado por build_pages.py: una clase por pieza (hojas reales del juego) */
.pc-rey{--fw:64;--fh:64;--ax:32;--ay:63;--n:6;--fps:5;--mn:6;--mfps:10;--idle:url(assets/pieces/rey_idle.png);--move:url(assets/pieces/rey_move.png);background-image:var(--idle)}
.pc-reina{--fw:80;--fh:80;--ax:40;--ay:75;--n:6;--fps:5;--mn:8;--mfps:16;--idle:url(assets/pieces/reina_idle.png);--move:url(assets/pieces/reina_move.png);background-image:var(--idle)}
.pc-torre{--fw:80;--fh:80;--ax:40;--ay:75;--n:6;--fps:5;--mn:7;--mfps:16;--idle:url(assets/pieces/torre_idle.png);--move:url(assets/pieces/torre_move.png);background-image:var(--idle)}
.pc-alfil{--fw:80;--fh:80;--ax:40;--ay:75;--n:6;--fps:5;--mn:8;--mfps:16;--idle:url(assets/pieces/alfil_idle.png);--move:url(assets/pieces/alfil_move.png);background-image:var(--idle)}
.pc-caballo{--fw:64;--fh:64;--ax:32;--ay:62;--n:6;--fps:5;--mn:6;--mfps:10;--idle:url(assets/pieces/caballo_idle.png);--move:url(assets/pieces/caballo_move.png);background-image:var(--idle)}
.pc-peon{--fw:64;--fh:64;--ax:32;--ay:63;--n:4;--fps:4;--mn:6;--mfps:10;--idle:url(assets/pieces/peon_idle.png);--move:url(assets/pieces/peon_move.png);background-image:var(--idle)}
/* balanceo y movimiento ambiental (generado por build_pages.py): siempre activo, atenuado con prefers-reduced-motion (--amp, --slow) */
@keyframes sw-lampara{0.000%{rotate:calc(-0.000deg*var(--amp))}0.926%{rotate:calc(-0.547deg*var(--amp))}1.852%{rotate:calc(-0.920deg*var(--amp))}2.778%{rotate:calc(-1.032deg*var(--amp))}3.704%{rotate:calc(-0.866deg*var(--amp))}4.630%{rotate:calc(-0.485deg*var(--amp))}5.556%{rotate:calc(-0.000deg*var(--amp))}6.481%{rotate:calc(0.453deg*var(--amp))}7.407%{rotate:calc(0.758deg*var(--amp))}8.333%{rotate:calc(0.844deg*var(--amp))}9.259%{rotate:calc(0.704deg*var(--amp))}10.185%{rotate:calc(0.391deg*var(--amp))}11.111%{rotate:calc(0.000deg*var(--amp))}12.037%{rotate:calc(-0.360deg*var(--amp))}12.963%{rotate:calc(-0.596deg*var(--amp))}13.889%{rotate:calc(-0.656deg*var(--amp))}14.815%{rotate:calc(-0.541deg*var(--amp))}15.741%{rotate:calc(-0.297deg*var(--amp))}16.667%{rotate:calc(-0.000deg*var(--amp))}17.593%{rotate:calc(0.266deg*var(--amp))}18.519%{rotate:calc(0.433deg*var(--amp))}19.444%{rotate:calc(0.469deg*var(--amp))}20.370%{rotate:calc(0.379deg*var(--amp))}21.296%{rotate:calc(0.203deg*var(--amp))}22.222%{rotate:calc(0.000deg*var(--amp))}23.148%{rotate:calc(-0.172deg*var(--amp))}24.074%{rotate:calc(-0.271deg*var(--amp))}25.000%{rotate:calc(-0.281deg*var(--amp))}25.926%{rotate:calc(-0.217deg*var(--amp))}26.852%{rotate:calc(-0.109deg*var(--amp))}27.778%{rotate:calc(-0.000deg*var(--amp))}28.704%{rotate:calc(0.078deg*var(--amp))}29.630%{rotate:calc(0.108deg*var(--amp))}30.556%{rotate:calc(0.094deg*var(--amp))}31.481%{rotate:calc(0.054deg*var(--amp))}32.407%{rotate:calc(0.016deg*var(--amp))}33.333%{rotate:calc(0.000deg*var(--amp))}100%{rotate:0deg}}
.pt-lampara,.glow.lamp{animation:sw-lampara calc(9.0s*var(--slow)) linear 1.2s infinite}
@keyframes sw-hiedra{0.000%{rotate:calc(-0.000deg*var(--amp))}1.389%{rotate:calc(-0.405deg*var(--amp))}2.778%{rotate:calc(-0.681deg*var(--amp))}4.167%{rotate:calc(-0.763deg*var(--amp))}5.556%{rotate:calc(-0.641deg*var(--amp))}6.944%{rotate:calc(-0.359deg*var(--amp))}8.333%{rotate:calc(-0.000deg*var(--amp))}9.722%{rotate:calc(0.335deg*var(--amp))}11.111%{rotate:calc(0.561deg*var(--amp))}12.500%{rotate:calc(0.625deg*var(--amp))}13.889%{rotate:calc(0.521deg*var(--amp))}15.278%{rotate:calc(0.289deg*var(--amp))}16.667%{rotate:calc(0.000deg*var(--amp))}18.056%{rotate:calc(-0.266deg*var(--amp))}19.444%{rotate:calc(-0.441deg*var(--amp))}20.833%{rotate:calc(-0.486deg*var(--amp))}22.222%{rotate:calc(-0.401deg*var(--amp))}23.611%{rotate:calc(-0.220deg*var(--amp))}25.000%{rotate:calc(-0.000deg*var(--amp))}26.389%{rotate:calc(0.197deg*var(--amp))}27.778%{rotate:calc(0.321deg*var(--amp))}29.167%{rotate:calc(0.347deg*var(--amp))}30.556%{rotate:calc(0.280deg*var(--amp))}31.944%{rotate:calc(0.150deg*var(--amp))}33.333%{rotate:calc(0.000deg*var(--amp))}34.722%{rotate:calc(-0.127deg*var(--amp))}36.111%{rotate:calc(-0.200deg*var(--amp))}37.500%{rotate:calc(-0.208deg*var(--amp))}38.889%{rotate:calc(-0.160deg*var(--amp))}40.278%{rotate:calc(-0.081deg*var(--amp))}41.667%{rotate:calc(-0.000deg*var(--amp))}43.056%{rotate:calc(0.058deg*var(--amp))}44.444%{rotate:calc(0.080deg*var(--amp))}45.833%{rotate:calc(0.069deg*var(--amp))}47.222%{rotate:calc(0.040deg*var(--amp))}48.611%{rotate:calc(0.012deg*var(--amp))}50.000%{rotate:calc(0.000deg*var(--amp))}100%{rotate:0deg}}
.pt-hiedra{animation:sw-hiedra calc(8.0s*var(--slow)) linear 0.5s infinite}
@keyframes llave{0.00%{scale:1 1.000}1.55%{scale:1 1.000}3.10%{scale:1 0.999}4.65%{scale:1 0.995}6.20%{scale:1 0.985}7.75%{scale:1 0.964}9.30%{scale:1 0.928}10.85%{scale:1 0.873}12.40%{scale:1 0.794}13.95%{scale:1 0.689}15.50%{scale:1 0.556}17.05%{scale:1 0.396}18.60%{scale:1 0.212}20.15%{scale:1 0.011}21.70%{scale:1 -0.198}23.25%{scale:1 -0.405}24.80%{scale:1 -0.598}26.35%{scale:1 -0.764}27.90%{scale:1 -0.892}29.45%{scale:1 -0.972}31.00%{scale:1 -1.000}32.55%{scale:1 -0.972}34.10%{scale:1 -0.892}35.65%{scale:1 -0.764}37.20%{scale:1 -0.598}38.75%{scale:1 -0.405}40.30%{scale:1 -0.198}41.85%{scale:1 0.011}43.40%{scale:1 0.212}44.95%{scale:1 0.396}46.50%{scale:1 0.556}48.05%{scale:1 0.689}49.60%{scale:1 0.794}51.15%{scale:1 0.873}52.70%{scale:1 0.928}54.25%{scale:1 0.964}55.80%{scale:1 0.985}57.35%{scale:1 0.995}58.90%{scale:1 0.999}60.45%{scale:1 1.000}62.00%{scale:1 1.000}100%{scale:1 1}}
.pt-llave{animation:llave calc(16s*var(--slow)) linear 1s infinite}
@keyframes oreja{0%,100%{rotate:0deg}25%{rotate:calc(-3deg*var(--amp))}60%{rotate:calc(1.5deg*var(--amp))}}
@keyframes oreja2{0%,100%{rotate:0deg}30%{rotate:calc(2.4deg*var(--amp))}65%{rotate:calc(-1.2deg*var(--amp))}}
.pt-oreja_izq{animation:oreja calc(6s*var(--slow)) ease-in-out infinite}
.pt-oreja_der{animation:oreja2 calc(7.5s*var(--slow)) ease-in-out -2.5s infinite}
@keyframes sw-rosas_izq{0%,100%{translate:0 0;rotate:0deg}25%{translate:calc(.7px*var(--s)*var(--amp)) calc(-.25px*var(--s)*var(--amp));rotate:calc(.35deg*var(--amp))}75%{translate:calc(-.7px*var(--s)*var(--amp)) calc(.25px*var(--s)*var(--amp));rotate:calc(-.35deg*var(--amp))}}
.pt-rosas_izq{animation:sw-rosas_izq calc(11s*var(--slow)) ease-in-out 0s infinite}
@keyframes sw-rosas_med{0%,100%{translate:0 0;rotate:0deg}25%{translate:calc(.7px*var(--s)*var(--amp)) calc(-.25px*var(--s)*var(--amp));rotate:calc(.35deg*var(--amp))}75%{translate:calc(-.7px*var(--s)*var(--amp)) calc(.25px*var(--s)*var(--amp));rotate:calc(-.35deg*var(--amp))}}
.pt-rosas_med{animation:sw-rosas_med calc(13s*var(--slow)) ease-in-out -4.5s infinite}
