/* Block Exit — daily block-rolling puzzle styles. Adapted from
   apps/pathfinder/style.css's grid layout; cells and the block itself need
   their own visuals since this isn't a wall-drawn maze. */

.be-stats { margin-bottom: var(--space-3); justify-content: center; }

#board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto var(--space-3);
}

.be-cell {
  aspect-ratio: 1;
  min-height: 24px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.be-cell.void { background: transparent; border-color: transparent; }
.be-cell.hole { background: var(--bg); border-color: var(--text-dim); }

/* Standing uses the full accent with a contrasting (not self-colored) ring;
   lying uses --accent-text (accent mixed 70% with white) rather than
   --accent-soft's 18%-alpha tint — lying is the state the player is in half
   the time, and 18% alpha measured under 2:1 contrast against the floor,
   well under WCAG's 3:1 non-text minimum. A solid border also ties the
   lying block's two cells together visually as one object. */
.be-block.standing { background: var(--accent); border-radius: 6px; box-shadow: 0 0 0 3px var(--bg-elev-2) inset; }
.be-block.lying { background: var(--accent-text); border-color: var(--accent); }

.be-controls { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 auto var(--space-3); max-width: 200px; }
.be-mid-row { display: flex; gap: 6px; }
.be-dir { font-size: 1.1rem; min-width: 56px; }

.be-end-emoji { font-size: 2.2rem; margin-bottom: 4px; }
#endgame { text-align: center; }
#end-title { font-size: 1.25rem; font-weight: 800; margin: 0 0 6px; }
#end-stats { margin: 0 0 4px; }
#endgame .btn { margin-top: var(--space-2); }
