.binario{--c1:#7d93f0;--c2:#4f63c2}.bin-zona{max-width:560px}.bin-tablero{grid-template-rows:repeat(var(--n,6), 1fr);aspect-ratio:1;-webkit-user-select:none;user-select:none;touch-action:manipulation;background:#12151b;border-radius:10px;gap:4px;padding:6px;transition:opacity .2s;display:grid;container-type:inline-size}.binario.generando .bin-tablero{opacity:.45}.bin-fila{grid-template-columns:repeat(var(--n,6), 1fr);gap:4px;display:grid}.bin-celda{appearance:none;cursor:pointer;background:#222833;border:0;border-radius:18%;place-items:center;min-width:0;min-height:0;margin:0;padding:8%;transition:background .12s,transform .1s;display:grid;box-shadow:inset 0 -3px #00000047,inset 0 1px #ffffff0f}.bin-celda:hover:not(.pista){background:color-mix(in srgb, var(--c1) 14%, #222833)}.bin-celda:active:not(.pista){transform:scale(.94)}.bin-celda.pista{cursor:default;background:#191d25;box-shadow:inset 0 0 0 1px #d6a74e40}.bin-celda:focus-visible{outline:2px solid var(--oro-claro);outline-offset:1px}.bin-celda svg{width:100%;height:100%}.bin-sol .bin-rayo{stroke:#d6a74e;stroke-width:3.2px;stroke-linecap:round}.bin-sol .bin-cuerpo{fill:#e2b85a;stroke:#f3d898;stroke-width:2px}.bin-sol .bin-brillo,.bin-luna .bin-brillo{fill:#ffffff8c}.bin-luna .bin-cuerpo{fill:#8f9bb8;stroke:#c9d0e0;stroke-width:1.5px}.bin-luna .bin-crater{fill:#1418204d}.bin-celda.pista svg{filter:saturate(.8)brightness(.92)}.bin-celda.error{background:color-mix(in srgb, var(--error) 22%, var(--superficie-2));box-shadow:inset 0 0 0 2px var(--error)}.bin-celda.girar svg{animation:.3s cubic-bezier(.2,1.4,.4,1) bin-girar}@keyframes bin-girar{0%{transform:scale(.3)rotate(-90deg)}}.bin-celda.sacudir{animation:.35s bin-sacudir}@keyframes bin-sacudir{25%{transform:translate(-3px)}75%{transform:translate(3px)}}
