:root { --bg: #C9F2E0; --pop: #FF8FB1; }
.bl-hud { display: flex; justify-content: space-between; font-weight: 700; font-size: 15px; padding: 2px 4px 10px; }
.bl-hud b { font-size: 22px; font-weight: 800; }
.bl-grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 6px; padding: 8px; border-radius: 26px; border: 3px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); max-width: min(100%, 58svh); margin: 0 auto; }
.bl-t { aspect-ratio: 1; border: 0; border-radius: 12px; cursor: pointer; position: relative; touch-action: manipulation; transition: transform .1s, border-radius .4s, box-shadow .1s; }
.bl-t.fx { cursor: default; }
.bl-t.fx::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: rgba(0,0,0,.45); }
.bl-t.sel { transform: scale(.86); box-shadow: 0 0 0 4px var(--ink); z-index: 1; }
.bl-t.sw { animation: blsw .25s ease-out; }
@keyframes blsw { from { transform: scale(.7); } }
.bl-grid.done { gap: 0; transition: gap .5s; }
.bl-grid.done .bl-t { border-radius: 0; }
.bl-tip { text-align: center; color: var(--soft); font-size: 14px; margin: 12px 0 0; }
@media (prefers-reduced-motion: reduce) { .bl-t.sw { animation: none; } }
