/* The maze controller sets --size from heartMazePuzzle.gridSize. */
.maze {
  grid-template-columns: repeat(var(--size), 1fr);
  width: min(92vw, 520px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.cell {
  min-width: 0;
  min-height: 0;
}

/* Keep labels legible without overwhelming the smaller 11 × 11 cells. */
.maze .token::after,
.maze .goal::after {
  font-size: clamp(.35rem, 1.5vw, .48rem);
}

.password-hint {
  margin: 1rem 0 1.4rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(9, 10, 30, .58);
  text-align: left;
}

.password-hint strong {
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
}

.password-hint p { margin: .25rem 0 0; }
